@beepflow/mcp 2026.5.3 → 2026.5.4

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.
Files changed (2) hide show
  1. package/dist/index.js +73 -11
  2. package/package.json +3 -1
package/dist/index.js CHANGED
@@ -1,13 +1,20 @@
1
1
  #!/usr/bin/env node
2
- import{stdin as Je,stdout as nn}from"node:process";function rn(t){let e=new Map;for(let l of t.tools)e.set(l.name,l);let n=new Map;for(let l of t.resources??[])n.set(l.uri,l);let r=!1,o="",i={start:()=>{Je.setEncoding("utf8"),Je.on("data",l=>a(typeof l=="string"?l:l.toString("utf8"))),Je.on("end",()=>s("stdin-end")),Je.on("error",()=>s("stdin-error"))}};function s(l){if(!r){r=!0;try{nn.write(JSON.stringify({jsonrpc:"2.0",method:"notifications/message",params:{level:"info",data:`server closing: ${l}`}})+`
3
- `)}catch{}}}function a(l){for(o+=l;;){let h=o.indexOf(`
4
- `);if(h===-1)return;let y=o.slice(0,h).trim();if(o=o.slice(h+1),!y)continue;let S;try{S=JSON.parse(y)}catch{continue}c(S)}}async function c(l){if(r)return;let h=l.id===void 0,y=l.id??null;try{switch(l.method){case"initialize":{let le={protocolVersion:(l.params??{}).protocolVersion??"2024-11-05",serverInfo:{name:t.serverName,version:t.serverVersion},capabilities:{tools:{},resources:{}},...t.instructions?{instructions:t.instructions}:{}};if(h)return;d({jsonrpc:"2.0",id:y,result:le});return}case"notifications/initialized":{t.onInitialized?.();return}case"notifications/cancelled":return;case"logging/setLevel":{if(h)return;d({jsonrpc:"2.0",id:y,result:{}});return}case"ping":{if(h)return;d({jsonrpc:"2.0",id:y,result:{}});return}case"tools/list":{if(h)return;let S=t.tools.map(O=>({name:O.name,description:O.description,inputSchema:O.inputSchema}));d({jsonrpc:"2.0",id:y,result:{tools:S}});return}case"tools/call":{if(h)return;let S=l.params??{},O=typeof S.name=="string"?S.name:"",le=e.get(O);if(!le){d({jsonrpc:"2.0",id:y,error:{code:-32601,message:`unknown tool: ${O}`}});return}let It=await le.call(S.arguments);d({jsonrpc:"2.0",id:y,result:It});return}case"resources/list":{if(h)return;let S=(t.resources??[]).map(O=>({uri:O.uri,name:O.name,description:O.description,mimeType:O.mimeType}));d({jsonrpc:"2.0",id:y,result:{resources:S}});return}case"resources/read":{if(h)return;let S=l.params??{},O=typeof S.uri=="string"?S.uri:"",le=n.get(O);if(!le){d({jsonrpc:"2.0",id:y,error:{code:-32602,message:`unknown resource: ${O}`}});return}let It=await le.read();d({jsonrpc:"2.0",id:y,result:It});return}case"prompts/list":{if(h)return;d({jsonrpc:"2.0",id:y,result:{prompts:[]}});return}default:{if(h)return;d({jsonrpc:"2.0",id:y,error:{code:-32601,message:`method not found: ${l.method}`}})}}}catch(S){if(h)return;d({jsonrpc:"2.0",id:y,error:{code:-32603,message:S?.message??"internal error"}})}}function d(l){r||nn.write(JSON.stringify(l)+`
5
- `)}return{server:i,closeServer:s}}import{createHash as Os}from"node:crypto";import an from"node:os";import be from"node:path";var fo={dev:{name:"dev",frontendUrl:"http://localhost:21073",backendUrl:"http://localhost:2451/api",authUrl:"https://auth.fewlogs.com",authDomain:"beepflow.com"},live:{name:"live",frontendUrl:"https://beepflow.com",backendUrl:"https://beepflow.com/api",authUrl:"https://auth.fewlogs.com",authDomain:"beepflow.com"}};function mo(t){let n=on(t,"--env")??on(t,"--environment")??process.env.BEEPFLOW_ENV??"live";if(n==="dev"||n==="live")return n;throw new Error(`invalid BEEPFLOW_ENV: ${n}`)}function sn(t){let e=mo(t);return fo[e]}function on(t,e){for(let n=0;n<t.length;n+=1){let r=t[n];if(r===e){let i=t[n+1];if(!i)throw new Error(`missing value for ${e}`);return i}let o=`${e}=`;if(r&&r.startsWith(o)){let i=r.slice(o.length);if(!i)throw new Error(`missing value for ${e}`);return i}}}function k(){let t=process.argv.slice(2),e=sn(t),n=Ve("backend url",[fe(t,"--backend-url"),process.env.BEEPFLOW_BACKEND_URL,e.backendUrl]),r=Ve("frontend url",[fe(t,"--frontend-url"),process.env.BEEPFLOW_FRONTEND_URL,e.frontendUrl]),o=Ve("auth url",[fe(t,"--auth-url"),process.env.BEEPFLOW_AUTH_URL,e.authUrl]),i=Ve("auth domain",[fe(t,"--auth-domain"),process.env.BEEPFLOW_AUTH_DOMAIN,e.authDomain]),s=fe(t,"--token-store-path")??process.env.BEEPFLOW_TOKEN_STORE_PATH??go(),a=fe(t,"--replicated-state-db-path")??process.env.BEEPFLOW_REPLICATED_STATE_DB_PATH??ho();return{environmentName:e.name,frontendUrl:r.replace(/\/+$/,""),backendUrl:n.replace(/\/+$/,""),authUrl:o.replace(/\/+$/,""),authDomain:i,jwtFromEnvironment:fe(t,"--jwt")??process.env.BEEPFLOW_JWT,tokenStorePath:s,replicatedStateDatabasePath:a}}function fe(t,e){for(let n=0;n<t.length;n+=1){let r=t[n];if(r===e){let i=t[n+1];if(!i)throw new Error(`missing value for ${e}`);return i}let o=`${e}=`;if(r&&r.startsWith(o)){let i=r.slice(o.length);if(!i)throw new Error(`missing value for ${e}`);return i}}}function go(){let t=process.env.APPDATA;if(t)return be.join(t,"beepflow-mcp","backend-access-token.json");let e=process.env.XDG_CONFIG_HOME;return e?be.join(e,"beepflow-mcp","backend-access-token.json"):be.join(an.homedir(),".config","beepflow-mcp","backend-access-token.json")}function ho(){let t=process.env.LOCALAPPDATA;if(t)return be.join(t,"beepflow-mcp","replicated-state.sqlite");let e=process.env.XDG_CACHE_HOME;return e?be.join(e,"beepflow-mcp","replicated-state.sqlite"):be.join(an.homedir(),".cache","beepflow-mcp","replicated-state.sqlite")}function Ve(t,e){for(let n of e)if(typeof n=="string"&&n.trim())return n;throw new Error(`missing ${t}`)}import Ge from"node:fs/promises";import wo from"node:path";import yo from"node:crypto";function ne(t){let e=t.split(".");if(e.length<2)return{accessToken:t,email:void 0,exp:void 0,provider:void 0};let n=bo(e[1]??"");if(!n)return{accessToken:t,email:void 0,exp:void 0,provider:void 0};let r;try{r=JSON.parse(n)}catch{return{accessToken:t,email:void 0,exp:void 0,provider:void 0}}let o=typeof r.email=="string"?r.email.toLowerCase():void 0,i=typeof r.exp=="number"?r.exp:void 0,s=typeof r.provider=="string"?r.provider:void 0;return{accessToken:t,email:o,exp:i,provider:s}}function cn(t){return t?t.length<=12?`${t.slice(0,4)}\u2026`:`${t.slice(0,6)}\u2026${t.slice(-4)}`:""}function ze(){return yo.randomBytes(9).toString("base64url")}function bo(t){if(!t)return;let e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4,r=e+"=".repeat(n);try{return Buffer.from(r,"base64").toString("utf8")}catch{return}}async function X(){let t=k();return t.jwtFromEnvironment?t.jwtFromEnvironment:(await dn(t.tokenStorePath))?.accessToken}async function we(t){let e=k(),n=ne(t),r={accessToken:t,email:n.email,provider:n.provider,exp:n.exp};return await Ro(e.tokenStorePath,r),r}async function pn(){let t=k(),e=await dn(t.tokenStorePath)!==void 0;return await Ge.rm(t.tokenStorePath,{force:!0}),{backendUrl:t.backendUrl,deleted:e}}function Ke(t){return{email:t.email,provider:t.provider,exp:t.exp,accessToken:cn(t.accessToken)}}async function dn(t){try{let e=await Ge.readFile(t,"utf8"),n=JSON.parse(e);return!n||typeof n!="object"||typeof n.accessToken!="string"?void 0:n}catch{return}}async function Ro(t,e){await Ge.mkdir(wo.dirname(t),{recursive:!0}),await Ge.writeFile(t,JSON.stringify(e,null,2)+`
6
- `,"utf8")}async function un(t){let e=k(),n=await fetch(`${e.authUrl}/email/request-code`,{method:"POST",headers:{"content-type":"application/json",domain:e.authDomain},body:JSON.stringify({email:t})});if(!n.ok){let r=await n.text().catch(()=>"");throw new Error(`email/request-code failed: ${n.status} ${r}`.trim())}}async function ln(t,e){let n=k(),r=await fetch(`${n.authUrl}/email/verify-code`,{method:"POST",headers:{"content-type":"application/json",domain:n.authDomain},body:JSON.stringify({email:t,code:e})}),o=await r.json().catch(()=>{});if(!r.ok)throw new Error(`email/verify-code failed: ${r.status}`);let i=typeof o?.access_token=="string"?o.access_token:"";if(!i)throw new Error("email/verify-code failed: missing access_token");let s=await we(i);return{backendUrl:n.backendUrl,...Ke(s)}}import ko from"node:crypto";import{spawn as To}from"node:child_process";import{setTimeout as So}from"node:timers/promises";async function fn(){let t=await Io(),e=Date.now()+12e4;for(;Date.now()<e;){let n=await xo(t.requestId);if(n.status!=="pending")return{...t,...n};await So(1500)}return{...t,status:"pending",message:"Timed out waiting for Google sign-in. Run auth_google_sign_in again to retry."}}async function Io(){let t=k(),e=ko.randomUUID(),n=new URL(`${t.authUrl}/google-form`);return n.searchParams.set("requestId",e),n.searchParams.set("scopes","openid email profile"),{requestId:e,url:n.toString(),browserOpened:vo(n.toString())}}async function xo(t){let e=k(),n=new URL(`${e.authUrl}/google-auth-token`);n.searchParams.set("id",t);let r=await fetch(n.toString(),{headers:{domain:e.authDomain}}),o=await r.json().catch(()=>{});if(r.status===400&&o?.error==="Token not found")return{status:"pending",requestId:t};if(!r.ok)return{status:"failed",requestId:t,message:`google-auth-token failed: ${r.status}`};let i=typeof o?.access_token=="string"?o.access_token:"";if(!i)return{status:"pending",requestId:t};let s=await we(i);return{status:"authenticated",requestId:t,backendUrl:e.backendUrl,...Ke(s)}}function vo(t){let e="xdg-open",n=[t];switch(process.platform){case"darwin":e="open";break;case"win32":e="rundll32",n=["url.dll,FileProtocolHandler",t];break}try{let r=To(e,n,{detached:!0,stdio:"ignore"});return r.on("error",()=>{}),r.unref(),!0}catch{return!1}}async function Y(t){let e=ne(t);if(e.provider!=="google"||!e.exp)return t;let n=Date.now(),r=e.exp*1e3,o=300*1e3;if(r-n>=o)return t;let i=k(),s=await fetch(`${i.authUrl}/google-refresh`,{method:"GET",headers:{Authorization:`Bearer ${t}`}}),a=await s.json().catch(()=>{});if(!s.ok)return t;let c=typeof a?.access_token=="string"?a.access_token:"";return c?(await we(c),c):t}async function mn(t){let e=k(),n=await fetch(`${e.backendUrl}/users/is-member`,{method:"GET",headers:{Authorization:`Bearer ${t}`}});if(!n.ok){let o=await n.text().catch(()=>"");throw new Error(`users/is-member failed: ${n.status} ${o}`.trim())}if((await n.json().catch(()=>{}))?.isMember!==!0)throw new Error("user not member of workspace")}import{isDeepStrictEqual as ni}from"node:util";import Bo from"node:crypto";import Po from"node:fs";import Eo from"node:path";import{DatabaseSync as No}from"node:sqlite";var Qe=class{database;databasePath;scope;constructor(e,n){this.databasePath=e,this.scope=n}async loadItems(e){let n=this.getDatabase().prepare("select key, value_json from replicated_items where scope = ? and resource = ?").all(this.scope,e),r={};for(let o of n)r[o.key]=JSON.parse(o.value_json);return n.length>0?r:null}async persistItem(e,n,r){this.getDatabase().prepare(`insert into replicated_items (scope, resource, key, value_json, saved_at_ms)
2
+ var tR=Object.create;var nh=Object.defineProperty;var nR=Object.getOwnPropertyDescriptor;var rR=Object.getOwnPropertyNames;var iR=Object.getPrototypeOf,oR=Object.prototype.hasOwnProperty;var Kn=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var aR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of rR(t))!oR.call(e,i)&&i!==n&&nh(e,i,{get:()=>t[i],enumerable:!(r=nR(t,i))||r.enumerable});return e};var rh=(e,t,n)=>(n=e!=null?tR(iR(e)):{},aR(t||!e||!e.__esModule?nh(n,"default",{value:e,enumerable:!0}):n,e));var D0=z((Bq,w0)=>{function nD(e){return e}w0.exports=nD});var x0=z((Uq,k0)=>{var C0=/([0-9]+)/;function rD(e,t){var n=(""+e).split(C0).map(O0),r=(""+t).split(C0).map(O0),i,o,a=Math.min(n.length,r.length),s,c;for(s=0,c=a;s<c;s++)if(i=n[s],o=r[s],i!=o)return i>o?1:-1;return n.length>r.length?1:n.length==r.length?0:-1}function O0(e){return""+parseInt(e)==e?parseInt(e):e}k0.exports=rD});var rl=z((Vq,I0)=>{var iD=x0();function oD(e,t){return iD(e[1],t[1])}function aD(e,t){return e[1]>t[1]?1:-1}function sD(e,t){switch(t){case"natural":return e.sort(oD);case"standard":return e.sort(aD);case"none":case!1:return e}}I0.exports=sD});var Ia=z((qq,P0)=>{function hd(e,t){var n={},r,i,o;for(r in e)o=e[r],Array.isArray(o)?n[r]=o.slice(0):typeof o=="object"&&o!==null?n[r]=hd(o,{}):n[r]=o;for(i in t)o=t[i],i in n&&Array.isArray(o)?n[i]=o.slice(0):i in n&&typeof o=="object"&&o!==null?n[i]=hd(n[i],o):n[i]=o;return n}P0.exports=hd});var vu=z((zq,B0)=>{var Pa=Ia();function uD(){var e=`
3
+ `;try{var t=Kn("os");e=t.EOL}catch{}return e}var Pi={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},Ds={CarriageReturnLineFeed:`\r
4
+ `,LineFeed:`
5
+ `,System:uD()},_d={Space:" ",Tab:" "},ol={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},bu={breaks:N0(!1),breakWith:Ds.System,indentBy:0,indentWith:_d.Space,spaces:F0(!1),wrapAt:!1,semicolonAfterLastProperty:!1},cD="beautify",lD="keep-breaks",fD=";",dD=":",pD=",",mD="=",hD="false",_D="off",gD="true",bD="on";function N0(e){var t={};return t[Pi.AfterAtRule]=e,t[Pi.AfterBlockBegins]=e,t[Pi.AfterBlockEnds]=e,t[Pi.AfterComment]=e,t[Pi.AfterProperty]=e,t[Pi.AfterRuleBegins]=e,t[Pi.AfterRuleEnds]=e,t[Pi.BeforeBlockEnds]=e,t[Pi.BetweenSelectors]=e,t}function F0(e){var t={};return t[ol.AroundSelectorRelation]=e,t[ol.BeforeBlockBegins]=e,t[ol.BeforeValue]=e,t}function vD(e){return e===void 0||e===!1?!1:(typeof e=="object"&&"breakWith"in e&&(e=Pa(e,{breakWith:M0(e.breakWith)})),typeof e=="object"&&"indentBy"in e&&(e=Pa(e,{indentBy:parseInt(e.indentBy)})),typeof e=="object"&&"indentWith"in e&&(e=Pa(e,{indentWith:L0(e.indentWith)})),typeof e=="object"?il(Pa(bu,e)):typeof e=="string"&&e==cD?il(Pa(bu,{breaks:N0(!0),indentBy:2,spaces:F0(!0)})):typeof e=="string"&&e==lD?il(Pa(bu,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}})):typeof e=="string"?il(Pa(bu,SD(e))):bu)}function SD(e){return e.split(fD).reduce(function(t,n){var r=n.split(dD),i=r[0],o=r[1];return i=="breaks"||i=="spaces"?t[i]=yD(o):i=="indentBy"||i=="wrapAt"?t[i]=parseInt(o):i=="indentWith"?t[i]=L0(o):i=="breakWith"&&(t[i]=M0(o)),t},{})}function yD(e){return e.split(pD).reduce(function(t,n){var r=n.split(mD),i=r[0],o=r[1];return t[i]=ED(o),t},{})}function ED(e){switch(e){case hD:case _D:return!1;case gD:case bD:return!0;default:return e}}function M0(e){switch(e){case"windows":case"crlf":case Ds.CarriageReturnLineFeed:return Ds.CarriageReturnLineFeed;case"unix":case"lf":case Ds.LineFeed:return Ds.LineFeed;default:return Ds.System}}function L0(e){switch(e){case"space":return _d.Space;case"tab":return _d.Tab;default:return e}}function il(e){for(var t in Pi){var n=Pi[t],r=e.breaks[n];r===!0?e.breaks[n]=e.breakWith:r===!1?e.breaks[n]="":e.breaks[n]=e.breakWith.repeat(parseInt(r))}return e}B0.exports={Breaks:Pi,Spaces:ol,formatFrom:vD}});var Ar=z((Kq,U0)=>{var TD={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CARRIAGE_RETURN:"\r",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:`
6
+ `,OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:" ",UNDERSCORE:"_"};U0.exports=TD});var Su=z((Gq,V0)=>{function AD(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}V0.exports=AD});var al=z((Wq,z0)=>{var RD=vu().Spaces,Jt=Ar(),gd=Su(),wD=/[\s"'][iI]\s*\]/,DD=/([\d\w])([iI])\]/g,CD=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,OD=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,kD=/^(?:(?:<!--|-->)\s*)+/,xD=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,ID=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,q0=/[>+~]/,PD=/\s/,ND="*+html ",FD="*:first-child+html ",MD="<",LD=[":current",":future",":has",":host",":host-context",":is",":not",":past",":where"];function BD(e){var t,n=!1,r,i=!1,o,a;for(o=0,a=e.length;o<a;o++){if(r=e[o],!t){if(r==Jt.SINGLE_QUOTE||r==Jt.DOUBLE_QUOTE)i=!i;else if(!i&&(r==Jt.CLOSE_CURLY_BRACKET||r==Jt.EXCLAMATION||r==MD||r==Jt.SEMICOLON)){n=!0;break}else if(!i&&o===0&&q0.test(r)){n=!0;break}}t=r==Jt.BACK_SLASH}return n}function UD(e,t){var n=[],r,i,o,a,s,c,d,p,m,g,b,h,w=0,l=!1,u=!1,v=!1,y=wD.test(e),S=t&&t.spaces[RD.AroundSelectorRelation],C,f;for(C=0,f=e.length;C<f;C++){if(r=e[C],i=r==Jt.NEW_LINE_NIX,o=r==Jt.NEW_LINE_NIX&&e[C-1]==Jt.CARRIAGE_RETURN,c=d||p,g=!m&&!a&&w===0&&q0.test(r),b=PD.test(r),h=w==1&&r==Jt.CLOSE_ROUND_BRACKET?!1:h||w===0&&r==Jt.COLON&&VD(e,C),s&&c&&o)n.pop(),n.pop();else if(a&&c&&i)n.pop();else if(a)n.push(r);else if(r==Jt.OPEN_SQUARE_BRACKET&&!c)n.push(r),m=!0;else if(r==Jt.CLOSE_SQUARE_BRACKET&&!c)n.push(r),m=!1;else if(r==Jt.OPEN_ROUND_BRACKET&&!c)n.push(r),w++;else if(r==Jt.CLOSE_ROUND_BRACKET&&!c)n.push(r),w--;else if(r==Jt.SINGLE_QUOTE&&!c)n.push(r),d=!0;else if(r==Jt.DOUBLE_QUOTE&&!c)n.push(r),p=!0;else if(r==Jt.SINGLE_QUOTE&&c)n.push(r),d=!1;else if(r==Jt.DOUBLE_QUOTE&&c)n.push(r),p=!1;else{if(b&&u&&!S)continue;!b&&u&&S?(n.push(Jt.SPACE),n.push(r)):b&&!v&&l&&w>0&&h||(b&&!v&&w>0&&h?n.push(r):b&&(m||w>0)&&!c||b&&v&&!c||(o||i)&&(m||w>0)&&c||(g&&v&&!S?(n.pop(),n.push(r)):g&&!v&&S?(n.push(Jt.SPACE),n.push(r)):b?n.push(Jt.SPACE):n.push(r)))}s=a,a=r==Jt.BACK_SLASH,u=g,v=b,l=r==Jt.COMMA}return y?n.join("").replace(DD,"$1 $2]"):n.join("")}function VD(e,t){var n=e.substring(t,e.indexOf(Jt.OPEN_ROUND_BRACKET,t));return LD.indexOf(n)>-1}function qD(e){return e.indexOf("'")==-1&&e.indexOf('"')==-1?e:e.replace(xD,"=$1 $2").replace(ID,"=$1$2").replace(CD,"=$1 $2").replace(OD,"=$1$2")}function zD(e){return e.replace("nth-child(1)","first-child").replace("nth-of-type(1)","first-of-type").replace("nth-of-type(even)","nth-of-type(2n)").replace("nth-child(even)","nth-child(2n)").replace("nth-of-type(2n+1)","nth-of-type(odd)").replace("nth-child(2n+1)","nth-child(odd)").replace("nth-last-child(1)","last-child").replace("nth-last-of-type(1)","last-of-type").replace("nth-last-of-type(even)","nth-last-of-type(2n)").replace("nth-last-child(even)","nth-last-child(2n)").replace("nth-last-of-type(2n+1)","nth-last-of-type(odd)").replace("nth-last-child(2n+1)","nth-last-child(odd)")}function KD(e,t,n,r,i){var o=[],a=[];function s(g,b){return i.push("HTML comment '"+b+"' at "+gd(g[2][0])+". Removing."),""}for(var c=0,d=e.length;c<d;c++){var p=e[c],m=p[1];if(m=m.replace(kD,s.bind(null,p)),BD(m)){i.push("Invalid selector '"+p[1]+"' at "+gd(p[2][0])+". Ignoring.");continue}m=UD(m,r),m=qD(m),n&&m.indexOf("nav")>0&&(m=m.replace(/\+nav(\S|$)/,"+ nav$1")),!(t&&m.indexOf(ND)>-1)&&(t&&m.indexOf(FD)>-1||(m.indexOf("*")>-1&&(m=m.replace(/\*([:#.[])/g,"$1").replace(/^(:first-child)?\+html/,"*$1+html")),!(a.indexOf(m)>-1)&&(m=zD(m),p[1]=m,a.push(m),o.push(p))))}return o.length==1&&o[0][1].length===0&&(i.push("Empty selector '"+o[0][1]+"' at "+gd(o[0][2][0])+". Ignoring."),o=[]),o}z0.exports=KD});var G0=z((Hq,K0)=>{var GD=/^@media\W/,WD=/^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/;function HD(e,t){var n,r,i;for(i=e.length-1;i>=0;i--)n=!t&&GD.test(e[i][1]),r=WD.test(e[i][1]),e[i][1]=e[i][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),r&&(e[i][1]=e[i][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1")),n&&(e[i][1]=e[i][1].replace(/\) /g,")"));return e}K0.exports=HD});var H0=z((Xq,W0)=>{function XD(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}W0.exports=XD});var sl=z(($q,X0)=>{var $D={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};X0.exports=$D});var bd=z((jq,$0)=>{function jD(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}$0.exports=jD});var Cs=z((Yq,Y0)=>{var ul=sl(),YD=Ar(),QD="*",JD="\\",ZD="!important",eC="_",tC="!ie";function nC(e,t){var n,r,i,o;for(o=e.length-1;o>=0;o--){if(n=e[o],n.dynamic&&n.important){j0(n);continue}n.dynamic||n.unused||!n.dirty&&!n.important&&!n.hack||(n.optimizable&&t?(r=t(n),n.value=r):r=n.value,n.important&&j0(n),n.hack&&rC(n),"all"in n&&(i=n.all[n.position],i[1][1]=n.name,i.splice(2,i.length-1),Array.prototype.push.apply(i,r)))}}function j0(e){e.value[e.value.length-1][1]+=ZD}function rC(e){e.hack[0]==ul.UNDERSCORE?e.name=eC+e.name:e.hack[0]==ul.ASTERISK?e.name=QD+e.name:e.hack[0]==ul.BACKSLASH?e.value[e.value.length-1][1]+=JD+e.hack[1]:e.hack[0]==ul.BANG&&(e.value[e.value.length-1][1]+=YD.SPACE+tC)}Y0.exports=nC});var Zt=z((Qq,Q0)=>{var iC={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RAW:"raw",RULE:"rule",RULE_SCOPE:"rule-scope"};Q0.exports=iC});var Na=z((Jq,e_)=>{var Ki=sl(),J0=Ar(),cl=Zt(),Tn={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};function oC(e,t){var n=[],r,i,o;for(o=e.length-1;o>=0;o--)i=e[o],i[0]==cl.PROPERTY&&(t&&t.indexOf(i[1][1])>-1||(r=Z0(i),r.all=e,r.position=o,n.unshift(r)));return n}function aC(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if(r=e[t],r[0]==cl.PROPERTY_VALUE&&sC(r[1]))return!0;return!1}function sC(e){return Tn.VARIABLE_REFERENCE_PATTERN.test(e)}function uC(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if(t=e[n],t[0]==cl.PROPERTY_VALUE&&(t[1]==J0.COMMA||t[1]==J0.FORWARD_SLASH))return!0;return!1}function cC(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==Tn.UNDERSCORE?t=[Ki.UNDERSCORE]:n[0]==Tn.ASTERISK?t=[Ki.ASTERISK]:r[1][0]==Tn.BANG&&!r[1].match(Tn.IMPORTANT_WORD_PATTERN)?t=[Ki.BANG]:r[1].indexOf(Tn.BANG)>0&&!r[1].match(Tn.IMPORTANT_WORD_PATTERN)&&Tn.BANG_SUFFIX_PATTERN.test(r[1])?t=[Ki.BANG]:r[1].indexOf(Tn.BACKSLASH)>0&&r[1].indexOf(Tn.BACKSLASH)==r[1].length-Tn.BACKSLASH.length-1?t=[Ki.BACKSLASH,r[1].substring(r[1].indexOf(Tn.BACKSLASH)+1)]:r[1].indexOf(Tn.BACKSLASH)===0&&r[1].length==2&&(t=[Ki.BACKSLASH,r[1].substring(1)]),t}function lC(e){if(e.length<3)return!1;var t=e[e.length-1];return!!(Tn.IMPORTANT_TOKEN_PATTERN.test(t[1])||Tn.IMPORTANT_WORD_PATTERN.test(t[1])&&Tn.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function fC(e){var t=e[e.length-1],n=e[e.length-2];Tn.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(Tn.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(Tn.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(Tn.SUFFIX_BANG_PATTERN,"")),t[1].length===0&&e.pop(),n[1].length===0&&e.pop()}function dC(e){e[1][1]=e[1][1].substring(1)}function pC(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==Ki.BACKSLASH?Tn.BACKSLASH:Tn.BANG)).trim(),n[1].length===0&&e.pop()}function Z0(e){var t=lC(e);t&&fC(e);var n=cC(e);return n[0]==Ki.ASTERISK||n[0]==Ki.UNDERSCORE?dC(e):(n[0]==Ki.BACKSLASH||n[0]==Ki.BANG)&&pC(e,n),{block:e[2]&&e[2][0]==cl.PROPERTY_BLOCK,components:[],dirty:!1,dynamic:aC(e),hack:n,important:t,name:e[1][1],multiplex:e.length>3?uC(e):!1,optimizable:!0,position:0,shorthand:!1,unused:!1,value:e.slice(2)}}e_.exports={all:oC,single:Z0}});var vd=z((Zq,t_)=>{function ll(e){this.name="InvalidPropertyError",this.message=e,this.stack=new Error().stack}ll.prototype=Object.create(Error.prototype);ll.prototype.constructor=ll;t_.exports=ll});var i_=z((e7,r_)=>{var gi=vd(),fl=Na().single,_i=Zt(),Qo=Ar(),bi=Su();function yd(e){var t,n;for(t=0,n=e.length;t<n;t++)if(e[t][1]=="inherit")return!0;return!1}function mC(e){return function(t){return t[1]=="invert"||e.isColor(t[1])||e.isPrefixed(t[1])}}function hC(e){return function(t){return t[1]!="inherit"&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function lt(e,t,n){var r=n[e];return r.doubleValues&&r.defaultValue.length==2?fl([_i.PROPERTY,[_i.PROPERTY_NAME,e],[_i.PROPERTY_VALUE,r.defaultValue[0]],[_i.PROPERTY_VALUE,r.defaultValue[1]]]):r.doubleValues&&r.defaultValue.length==1?fl([_i.PROPERTY,[_i.PROPERTY_NAME,e],[_i.PROPERTY_VALUE,r.defaultValue[0]]]):fl([_i.PROPERTY,[_i.PROPERTY_NAME,e],[_i.PROPERTY_VALUE,r.defaultValue]])}function _C(e){return function(t){return t[1]!="inherit"&&(e.isWidth(t[1])||e.isUnit(t[1])||e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function gC(e,t,n){var r=lt(e.name+"-duration",e,t),i=lt(e.name+"-timing-function",e,t),o=lt(e.name+"-delay",e,t),a=lt(e.name+"-iteration-count",e,t),s=lt(e.name+"-direction",e,t),c=lt(e.name+"-fill-mode",e,t),d=lt(e.name+"-play-state",e,t),p=lt(e.name+"-name",e,t),m=[r,i,o,a,s,c,d,p],g=e.value,b,h=!1,w=!1,l=!1,u=!1,v=!1,y=!1,S=!1,C=!1,f,_;if(e.value.length==1&&e.value[0][1]=="inherit")return r.value=i.value=o.value=a.value=s.value=c.value=d.value=p.value=e.value,m;if(g.length>1&&yd(g))throw new gi("Invalid animation values at "+bi(g[0][2][0])+". Ignoring.");for(f=0,_=g.length;f<_;f++)if(b=g[f],n.isTime(b[1])&&!h)r.value=[b],h=!0;else if(n.isTime(b[1])&&!l)o.value=[b],l=!0;else if((n.isGlobal(b[1])||n.isTimingFunction(b[1]))&&!w)i.value=[b],w=!0;else if((n.isAnimationIterationCountKeyword(b[1])||n.isPositiveNumber(b[1]))&&!u)a.value=[b],u=!0;else if(n.isAnimationDirectionKeyword(b[1])&&!v)s.value=[b],v=!0;else if(n.isAnimationFillModeKeyword(b[1])&&!y)c.value=[b],y=!0;else if(n.isAnimationPlayStateKeyword(b[1])&&!S)d.value=[b],S=!0;else if((n.isAnimationNameKeyword(b[1])||n.isIdentifier(b[1]))&&!C)p.value=[b],C=!0;else throw new gi("Invalid animation value at "+bi(b[2][0])+". Ignoring.");return m}function bC(e,t,n){var r=lt("background-image",e,t),i=lt("background-position",e,t),o=lt("background-size",e,t),a=lt("background-repeat",e,t),s=lt("background-attachment",e,t),c=lt("background-origin",e,t),d=lt("background-clip",e,t),p=lt("background-color",e,t),m=[r,i,o,a,s,c,d,p],g=e.value,b=!1,h=!1,w=!1,l=!1,u=!1;if(e.value.length==1&&e.value[0][1]=="inherit")return p.value=r.value=a.value=i.value=o.value=c.value=d.value=e.value,m;if(e.value.length==1&&e.value[0][1]=="0 0")return m;for(var v=g.length-1;v>=0;v--){var y=g[v];if(n.isBackgroundAttachmentKeyword(y[1]))s.value=[y],u=!0;else if(n.isBackgroundClipKeyword(y[1])||n.isBackgroundOriginKeyword(y[1]))h?(c.value=[y],w=!0):(d.value=[y],h=!0),u=!0;else if(n.isBackgroundRepeatKeyword(y[1]))l?a.value.unshift(y):(a.value=[y],l=!0),u=!0;else if(n.isBackgroundPositionKeyword(y[1])||n.isBackgroundSizeKeyword(y[1])||n.isUnit(y[1])||n.isDynamicUnit(y[1])){if(v>0){var S=g[v-1];S[1]==Qo.FORWARD_SLASH?o.value=[y]:v>1&&g[v-2][1]==Qo.FORWARD_SLASH?(o.value=[S,y],v-=2):(b||(i.value=[]),i.value.unshift(y),b=!0)}else b||(i.value=[]),i.value.unshift(y),b=!0;u=!0}else(p.value[0][1]==t[p.name].defaultValue||p.value[0][1]=="none")&&(n.isColor(y[1])||n.isPrefixed(y[1]))?(p.value=[y],u=!0):(n.isUrl(y[1])||n.isFunction(y[1]))&&(r.value=[y],u=!0)}if(h&&!w&&(c.value=d.value.slice(0)),!u)throw new gi("Invalid background value at "+bi(g[0][2][0])+". Ignoring.");return m}function vC(e,t){for(var n=e.value,r=-1,i=0,o=n.length;i<o;i++)if(n[i][1]==Qo.FORWARD_SLASH){r=i;break}if(r===0||r===n.length-1)throw new gi("Invalid border-radius value at "+bi(n[0][2][0])+". Ignoring.");var a=lt(e.name,e,t);a.value=r>-1?n.slice(0,r):n.slice(0),a.components=Sd(a,t);var s=lt(e.name,e,t);s.value=r>-1?n.slice(r+1):n.slice(0),s.components=Sd(s,t);for(var c=0;c<4;c++)a.components[c].multiplex=!0,a.components[c].value=a.components[c].value.concat(s.components[c].value);return a.components}function SC(e,t,n){var r=lt("font-style",e,t),i=lt("font-variant",e,t),o=lt("font-weight",e,t),a=lt("font-stretch",e,t),s=lt("font-size",e,t),c=lt("line-height",e,t),d=lt("font-family",e,t),p=[r,i,o,a,s,c,d],m=e.value,g=4,b=0,h=!1,w,l=!1,u,v=!1,y,S=!1,C,f=!1;if(!m[b])throw new gi("Missing font values at "+bi(e.all[e.position][1][2][0])+". Ignoring.");if(m.length==1&&m[0][1]=="inherit")return r.value=i.value=o.value=a.value=s.value=c.value=d.value=m,p;if(m.length==1&&(n.isFontKeyword(m[0][1])||n.isGlobal(m[0][1])||n.isPrefixed(m[0][1])))return m[0][1]=Qo.INTERNAL+m[0][1],r.value=i.value=o.value=a.value=s.value=c.value=d.value=m,p;if(m.length<2||!yC(m,n)||!EC(m,n))throw new gi("Invalid font values at "+bi(e.all[e.position][1][2][0])+". Ignoring.");if(m.length>1&&yd(m))throw new gi("Invalid font values at "+bi(m[0][2][0])+". Ignoring.");for(;b<g;){if(w=n.isFontStretchKeyword(m[b][1])||n.isGlobal(m[b][1]),u=n.isFontStyleKeyword(m[b][1])||n.isGlobal(m[b][1]),y=n.isFontVariantKeyword(m[b][1])||n.isGlobal(m[b][1]),C=n.isFontWeightKeyword(m[b][1])||n.isGlobal(m[b][1]),u&&!l)r.value=[m[b]],l=!0;else if(y&&!v)i.value=[m[b]],v=!0;else if(C&&!S)o.value=[m[b]],S=!0;else if(w&&!h)a.value=[m[b]],h=!0;else{if(u&&l||y&&v||C&&S||w&&h)throw new gi("Invalid font style / variant / weight / stretch value at "+bi(m[0][2][0])+". Ignoring.");break}b++}if(n.isFontSizeKeyword(m[b][1])||n.isUnit(m[b][1])&&!n.isDynamicUnit(m[b][1]))s.value=[m[b]],b++;else throw new gi("Missing font size at "+bi(m[0][2][0])+". Ignoring.");if(!m[b])throw new gi("Missing font family at "+bi(m[0][2][0])+". Ignoring.");for(m[b]&&m[b][1]==Qo.FORWARD_SLASH&&m[b+1]&&(n.isLineHeightKeyword(m[b+1][1])||n.isUnit(m[b+1][1])||n.isNumber(m[b+1][1]))&&(c.value=[m[b+1]],b++,b++),d.value=[];m[b];)m[b][1]==Qo.COMMA?f=!1:(f?d.value[d.value.length-1][1]+=Qo.SPACE+m[b][1]:d.value.push(m[b]),f=!0),b++;if(d.value.length===0)throw new gi("Missing font family at "+bi(m[0][2][0])+". Ignoring.");return p}function yC(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isFontSizeKeyword(n[1])||t.isUnit(n[1])&&!t.isDynamicUnit(n[1])||t.isFunction(n[1]))return!0;return!1}function EC(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isIdentifier(n[1])||t.isQuotedText(n[1]))return!0;return!1}function Sd(e,t){var n=t[e.name].components,r=[],i=e.value;if(i.length<1)return[];i.length<2&&(i[1]=i[0].slice(0)),i.length<3&&(i[2]=i[0].slice(0)),i.length<4&&(i[3]=i[1].slice(0));for(var o=n.length-1;o>=0;o--){var a=fl([_i.PROPERTY,[_i.PROPERTY_NAME,n[o]]]);a.value=[i[o]],r.unshift(a)}return r}function TC(e){return function(t,n,r){var i=[],o=t.value,a,s,c,d;for(a=0,c=o.length;a<c;a++)o[a][1]==","&&i.push(a);if(i.length===0)return e(t,n,r);var p=[];for(a=0,c=i.length;a<=c;a++){var m=a===0?0:i[a-1]+1,g=a<c?i[a]:o.length,b=lt(t.name,t,n);b.value=o.slice(m,g),b.value.length>0&&p.push(e(b,n,r))}var h=p[0];for(a=0,c=h.length;a<c;a++)for(h[a].multiplex=!0,s=1,d=p.length;s<d;s++)h[a].value.push([_i.PROPERTY_VALUE,Qo.COMMA]),Array.prototype.push.apply(h[a].value,p[s][a].value);return h}}function AC(e,t,n){var r=lt("list-style-type",e,t),i=lt("list-style-position",e,t),o=lt("list-style-image",e,t),a=[r,i,o];if(e.value.length==1&&e.value[0][1]=="inherit")return r.value=i.value=o.value=[e.value[0]],a;var s=e.value.slice(0),c=s.length,d=0;for(d=0,c=s.length;d<c;d++)if(n.isUrl(s[d][1])||s[d][1]=="0"){o.value=[s[d]],s.splice(d,1);break}for(d=0,c=s.length;d<c;d++)if(n.isListStylePositionKeyword(s[d][1])){i.value=[s[d]],s.splice(d,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),a}function RC(e,t,n){var r=lt(e.name+"-property",e,t),i=lt(e.name+"-duration",e,t),o=lt(e.name+"-timing-function",e,t),a=lt(e.name+"-delay",e,t),s=[r,i,o,a],c=e.value,d,p=!1,m=!1,g=!1,b=!1,h,w;if(e.value.length==1&&e.value[0][1]=="inherit")return r.value=i.value=o.value=a.value=e.value,s;if(c.length>1&&yd(c))throw new gi("Invalid animation values at "+bi(c[0][2][0])+". Ignoring.");for(h=0,w=c.length;h<w;h++)if(d=c[h],n.isTime(d[1])&&!p)i.value=[d],p=!0;else if(n.isTime(d[1])&&!m)a.value=[d],m=!0;else if((n.isGlobal(d[1])||n.isTimingFunction(d[1]))&&!b)o.value=[d],b=!0;else if(n.isIdentifier(d[1])&&!g)r.value=[d],g=!0;else throw new gi("Invalid animation value at "+bi(d[2][0])+". Ignoring.");return s}function n_(e,t,n){for(var r=t[e.name],i=[lt(r.components[0],e,t),lt(r.components[1],e,t),lt(r.components[2],e,t)],o,a,s,c=0;c<3;c++){var d=i[c];d.name.indexOf("color")>0?o=d:d.name.indexOf("style")>0?a=d:s=d}if(e.value.length==1&&e.value[0][1]=="inherit"||e.value.length==3&&e.value[0][1]=="inherit"&&e.value[1][1]=="inherit"&&e.value[2][1]=="inherit")return o.value=a.value=s.value=[e.value[0]],i;var p=e.value.slice(0),m,g;return p.length>0&&(g=p.filter(_C(n)),m=g.length>1&&(g[0][1]=="none"||g[0][1]=="auto")?g[1]:g[0],m&&(s.value=[m],p.splice(p.indexOf(m),1))),p.length>0&&(m=p.filter(hC(n))[0],m&&(a.value=[m],p.splice(p.indexOf(m),1))),p.length>0&&(m=p.filter(mC(n))[0],m&&(o.value=[m],p.splice(p.indexOf(m),1))),i}r_.exports={animation:gC,background:bC,border:n_,borderRadius:vC,font:SC,fourValues:Sd,listStyle:AC,multiplex:TC,outline:n_,transition:RC}});var Td=z((t7,o_)=>{var wC=/(?:^|\W)(-\w+-)/g;function Ed(e){for(var t=[],n;(n=wC.exec(e))!==null;)t.indexOf(n[0])==-1&&t.push(n[0]);return t}function DC(e,t){return Ed(e).sort().join(",")==Ed(t).sort().join(",")}o_.exports={unique:Ed,same:DC}});var s_=z((n7,a_)=>{var CC=Td().same;function OC(e,t,n,r,i){return!(!CC(t,n)||i&&e.isVariable(t)!==e.isVariable(n))}a_.exports=OC});var l_=z((r7,c_)=>{var Mr=s_();function kC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n)}function xC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isAnimationNameKeyword(n)||e.isIdentifier(n))?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isAnimationNameKeyword(n)||e.isIdentifier(n)}function u_(e,t,n){if(!e.isFunction(t)||!e.isFunction(n))return!1;var r=t.substring(0,t.indexOf("(")),i=n.substring(0,n.indexOf("(")),o=t.substring(r.length+1,t.length-1),a=n.substring(i.length+1,n.length-1);return e.isFunction(o)||e.isFunction(a)?r===i&&u_(e,o,a):r===i}function IC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isBackgroundPositionKeyword(n)||e.isGlobal(n))?!1:e.isVariable(t)&&e.isVariable(n)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n)?!0:dl(e,t,n)}function PC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isBackgroundSizeKeyword(n)||e.isGlobal(n))?!1:e.isVariable(t)&&e.isVariable(n)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n)?!0:dl(e,t,n)}function NC(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isColor(n)?!1:e.isVariable(t)&&e.isVariable(n)?!0:!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t))||!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n))||!e.colorHexAlpha&&(e.isHexAlphaColor(t)||e.isHexAlphaColor(n))?!1:e.isColor(t)&&e.isColor(n)?!0:Os(e,t,n)}function FC(e){return function(t,n,r,i){return e[i](t,n,r)}}function MC(e,t,n){return Mr(e,t,n,0,!0)}function LC(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isImage(n)?!1:e.isVariable(t)&&e.isVariable(n)||e.isImage(n)?!0:e.isImage(t)?!1:Os(e,t,n)}function yu(e){return function(t,n,r){return!Mr(t,n,r,0,!0)&&!t.isKeyword(e)(r)?!1:t.isVariable(n)&&t.isVariable(r)?!0:t.isKeyword(e)(r)}}function mn(e){return function(t,n,r){return!Mr(t,n,r,0,!0)&&!(t.isKeyword(e)(r)||t.isGlobal(r))?!1:t.isVariable(n)&&t.isVariable(r)?!0:t.isKeyword(e)(r)||t.isGlobal(r)}}function BC(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isIdentifier(n)?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isIdentifier(n)}function Os(e,t,n){return u_(e,t,n)?!0:t===n}function UC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isUnit(n)||e.isColor(n)||e.isGlobal(n))?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isUnit(n)||e.isColor(n)||e.isGlobal(n)}function VC(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isTime(n)?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isTime(t)&&!e.isTime(n)?!1:e.isTime(n)?!0:e.isTime(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(n)&&!e.isPrefixed(n)?!0:Os(e,t,n)}function qC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isTimingFunction(n)||e.isGlobal(n))?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isTimingFunction(n)||e.isGlobal(n)}function dl(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isUnit(n)?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isUnit(t)&&!e.isUnit(n)?!1:e.isUnit(n)?!0:e.isUnit(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(n)&&!e.isPrefixed(n)?!0:Os(e,t,n)}function Eu(e){var t=mn(e);return function(n,r,i){return dl(n,r,i)||t(n,r,i)}}function zC(e,t,n){return!Mr(e,t,n,0,!0)&&!(e.isUnit(n)||e.isNumber(n))?!1:e.isVariable(t)&&e.isVariable(n)?!0:(e.isUnit(t)||e.isNumber(t))&&!(e.isUnit(n)||e.isNumber(n))?!1:e.isUnit(n)||e.isNumber(n)?!0:e.isUnit(t)||e.isNumber(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(n)&&!e.isPrefixed(n)?!0:Os(e,t,n)}function KC(e,t,n){return!Mr(e,t,n,0,!0)&&!e.isZIndex(n)?!1:e.isVariable(t)&&e.isVariable(n)?!0:e.isZIndex(n)}c_.exports={generic:{color:NC,components:FC,image:LC,propertyName:BC,time:VC,timingFunction:qC,unit:dl,unitOrNumber:zC},property:{animationDirection:mn("animation-direction"),animationFillMode:yu("animation-fill-mode"),animationIterationCount:kC,animationName:xC,animationPlayState:mn("animation-play-state"),backgroundAttachment:yu("background-attachment"),backgroundClip:mn("background-clip"),backgroundOrigin:yu("background-origin"),backgroundPosition:IC,backgroundRepeat:yu("background-repeat"),backgroundSize:PC,bottom:Eu("bottom"),borderCollapse:yu("border-collapse"),borderStyle:mn("*-style"),clear:mn("clear"),cursor:mn("cursor"),display:mn("display"),float:mn("float"),left:Eu("left"),fontFamily:MC,fontStretch:mn("font-stretch"),fontStyle:mn("font-style"),fontVariant:mn("font-variant"),fontWeight:mn("font-weight"),listStyleType:mn("list-style-type"),listStylePosition:mn("list-style-position"),outlineStyle:mn("*-style"),overflow:mn("overflow"),position:mn("position"),right:Eu("right"),textAlign:mn("text-align"),textDecoration:mn("text-decoration"),textOverflow:mn("text-overflow"),textShadow:UC,top:Eu("top"),transform:Os,verticalAlign:Eu("vertical-align"),visibility:mn("visibility"),whiteSpace:mn("white-space"),zIndex:KC}}});var Tu=z((i7,d_)=>{var GC=Na().single,f_=Zt();function WC(e){for(var t=Ad(e),n=e.components.length-1;n>=0;n--){var r=Ad(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t}function Ad(e){var t=GC([f_.PROPERTY,[f_.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}d_.exports={deep:WC,shallow:Ad}});var m_=z((o7,p_)=>{var ks=Tu().shallow,Fa=Zt(),Gi=Ar();function Rd(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if(r!="inherit"&&r!=Gi.COMMA&&r!=Gi.FORWARD_SLASH)return!1}return!0}function HC(e,t,n){var r=e.components,i=[],o,a;function s(l){Array.prototype.unshift.apply(i,l.value)}function c(l){var u=t[l.name];return u.doubleValues&&u.defaultValue.length==1?l.value[0][1]==u.defaultValue[0]&&(l.value[1]?l.value[1][1]==u.defaultValue[0]:!0):u.doubleValues&&u.defaultValue.length!=1?l.value[0][1]==u.defaultValue[0]&&(l.value[1]?l.value[1][1]:l.value[0][1])==u.defaultValue[1]:l.value[0][1]==u.defaultValue}for(var d=r.length-1;d>=0;d--){var p=r[d],m=c(p);if(p.name=="background-clip"){var g=r[d-1],b=c(g);o=p.value[0][1]==g.value[0][1],a=!o&&(b&&!m||!b&&!m||!b&&m&&p.value[0][1]!=g.value[0][1]),o?s(g):a&&(s(p),s(g)),d--}else if(p.name=="background-size"){var h=r[d-1],w=c(h);o=!w&&m,a=!o&&(w&&!m||!w&&!m),o?s(h):a?(s(p),i.unshift([Fa.PROPERTY_VALUE,Gi.FORWARD_SLASH]),s(h)):h.value.length==1&&s(h),d--}else{if(m||t[p.name].multiplexLastOnly&&!n)continue;s(p)}}return i.length===0&&e.value.length==1&&e.value[0][1]=="0"&&i.push(e.value[0]),i.length===0&&i.push([Fa.PROPERTY_VALUE,t[e.name].defaultValue]),Rd(i)?[i[0]]:i}function XC(e){if(e.multiplex){for(var t=ks(e),n=ks(e),r=0;r<4;r++){var i=e.components[r],o=ks(e);o.value=[i.value[0]],t.components.push(o);var a=ks(e);a.value=[i.value[1]||i.value[0]],n.components.push(a)}var s=pl(t),c=pl(n);return s.length==c.length&&s[0][1]==c[0][1]&&(!(s.length>1)||s[1][1]==c[1][1])&&(!(s.length>2)||s[2][1]==c[2][1])&&(!(s.length>3)||s[3][1]==c[3][1])?s:s.concat([[Fa.PROPERTY_VALUE,Gi.FORWARD_SLASH]]).concat(c)}return pl(e)}function $C(e,t){var n=e.components,r=[],i,o=0,a=0;if(e.value[0][1].indexOf(Gi.INTERNAL)===0)return e.value[0][1]=e.value[0][1].substring(Gi.INTERNAL.length),e.value;for(;o<4;)i=n[o],i.value[0][1]!=t[i.name].defaultValue&&Array.prototype.push.apply(r,i.value),o++;for(Array.prototype.push.apply(r,n[o].value),o++,n[o].value[0][1]!=t[n[o].name].defaultValue&&(Array.prototype.push.apply(r,[[Fa.PROPERTY_VALUE,Gi.FORWARD_SLASH]]),Array.prototype.push.apply(r,n[o].value)),o++;n[o].value[a];)r.push(n[o].value[a]),n[o].value[a+1]&&r.push([Fa.PROPERTY_VALUE,Gi.COMMA]),a++;return Rd(r)?[r[0]]:r}function pl(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],i=t[2].value[0],o=t[3].value[0];return n[1]==r[1]&&n[1]==i[1]&&n[1]==o[1]?[n]:n[1]==i[1]&&r[1]==o[1]?[n,r]:r[1]==o[1]?[n,r,i]:[n,r,i,o]}function jC(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r=0,i=[],o={},a,s;for(a=0,s=t.components[0].value.length;a<s;a++)t.components[0].value[a][1]==Gi.COMMA&&r++;for(a=0;a<=r;a++){for(var c=ks(t),d=0,p=t.components.length;d<p;d++){var m=t.components[d],g=ks(m);c.components.push(g);for(var b=o[g.name]||0,h=m.value.length;b<h;b++){if(m.value[b][1]==Gi.COMMA){o[g.name]=b+1;break}g.value.push(m.value[b])}}var w=a==r,l=e(c,n,w);Array.prototype.push.apply(i,l),a<r&&i.push([Fa.PROPERTY_VALUE,Gi.COMMA])}return i}}function YC(e,t){for(var n=e.components,r=[],i=n.length-1;i>=0;i--){var o=n[i],a=t[o.name];(o.value[0][1]!=a.defaultValue||"keepUnlessDefault"in a&&!QC(n,t,a.keepUnlessDefault))&&r.unshift(o.value[0])}return r.length===0&&r.push([Fa.PROPERTY_VALUE,t[e.name].defaultValue]),Rd(r)?[r[0]]:r}function QC(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)if(r=e[i],r.name==n&&r.value[0][1]==t[n].defaultValue)return!0;return!1}p_.exports={background:HC,borderRadius:XC,font:$C,fourValues:pl,multiplex:jC,withoutDefaults:YC}});var wd=z((a7,__)=>{var h_=Ia(),JC=/^\d+$/,ZC=["*","all"],Is="off",eO=",",tO="=";function nO(e){return h_(xs(Is),rO(e))}function xs(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function rO(e){return e==null?{}:typeof e=="boolean"?{}:typeof e=="number"&&e==-1?xs(Is):typeof e=="number"?xs(e):typeof e=="string"&&JC.test(e)?xs(parseInt(e)):typeof e=="string"&&e==Is?xs(Is):typeof e=="object"?e:e.split(eO).reduce(function(t,n){var r=n.split(tO),i=r[0],o=parseInt(r[1]);return(Number.isNaN(o)||o==-1)&&(o=Is),ZC.indexOf(i)>-1?t=h_(t,xs(o)):t[i]=o,t},{})}__.exports={DEFAULT:Is,roundingPrecisionFrom:nO}});var On=z((s7,b_)=>{var g_=wd().roundingPrecisionFrom,Wi=Ia(),Ba={Zero:"0",One:"1",Two:"2"},wu={};wu[Ba.Zero]={};wu[Ba.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:g_(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,variableValueOptimizers:[]};wu[Ba.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var Ma="*",La="all",iO="false",oO="off",aO="true",sO="on",uO=",",cO=";",lO=":";function fO(e){var t=Wi(wu,{}),n=Ba.Zero,r=Ba.One,i=Ba.Two;return e===void 0?(delete t[i],t):(typeof e=="string"&&(e=parseInt(e)),typeof e=="number"&&e===parseInt(i)?t:typeof e=="number"&&e===parseInt(r)?(delete t[i],t):typeof e=="number"&&e===parseInt(n)?(delete t[i],delete t[r],t):(typeof e=="object"&&(e=dO(e)),r in e&&"roundingPrecision"in e[r]&&(e[r].roundingPrecision=g_(e[r].roundingPrecision)),i in e&&"skipProperties"in e[i]&&typeof e[i].skipProperties=="string"&&(e[i].skipProperties=e[i].skipProperties.split(uO)),(n in e||r in e||i in e)&&(t[n]=Wi(t[n],e[n])),r in e&&Ma in e[r]&&(t[r]=Wi(t[r],Au(r,Ru(e[r][Ma]))),delete e[r][Ma]),r in e&&La in e[r]&&(t[r]=Wi(t[r],Au(r,Ru(e[r][La]))),delete e[r][La]),r in e||i in e?t[r]=Wi(t[r],e[r]):delete t[r],i in e&&Ma in e[i]&&(t[i]=Wi(t[i],Au(i,Ru(e[i][Ma]))),delete e[i][Ma]),i in e&&La in e[i]&&(t[i]=Wi(t[i],Au(i,Ru(e[i][La]))),delete e[i][La]),i in e?t[i]=Wi(t[i],e[i]):delete t[i],t))}function Au(e,t){var n=Wi(wu[e],{}),r;for(r in n)typeof n[r]=="boolean"&&(n[r]=t);return n}function Ru(e){switch(e){case iO:case oO:return!1;case aO:case sO:return!0;default:return e}}function dO(e){var t=Wi(e,{}),n,r;for(r=0;r<=2;r++)n=""+r,n in t&&(t[n]===void 0||t[n]===!1)&&delete t[n],n in t&&t[n]===!0&&(t[n]={}),n in t&&typeof t[n]=="string"&&(t[n]=pO(t[n],n));return t}function pO(e,t){return e.split(cO).reduce(function(n,r){var i=r.split(lO),o=i[0],a=i[1],s=Ru(a);return Ma==o||La==o?n=Wi(n,Au(t,s)):n[o]=s,n},{})}b_.exports={OptimizationLevel:Ba,optimizationLevelFrom:fO}});var S_=z((u7,v_)=>{var mO=On().OptimizationLevel,hO={level1:{property:function(t,n,r){var i=n.value;r.level[mO.One].optimizeBackground&&(i.length==1&&i[0][1]=="none"&&(i[0][1]="0 0"),i.length==1&&i[0][1]=="transparent"&&(i[0][1]="0 0"))}}};v_.exports=hO});var E_=z((c7,y_)=>{var _O={level1:{property:function(t,n){var r=n.value;r.length==4&&r[0][1]==="0"&&r[1][1]==="0"&&r[2][1]==="0"&&r[3][1]==="0"&&(n.value.splice(2),n.dirty=!0)}}};y_.exports=_O});var A_=z((l7,T_)=>{var gO=On().OptimizationLevel,bO={level1:{property:function(t,n,r){var i=n.value;r.level[gO.One].optimizeBorderRadius&&(i.length==3&&i[1][1]=="/"&&i[0][1]==i[2][1]?(n.value.splice(1),n.dirty=!0):i.length==5&&i[2][1]=="/"&&i[0][1]==i[3][1]&&i[1][1]==i[4][1]?(n.value.splice(2),n.dirty=!0):i.length==7&&i[3][1]=="/"&&i[0][1]==i[4][1]&&i[1][1]==i[5][1]&&i[2][1]==i[6][1]?(n.value.splice(3),n.dirty=!0):i.length==9&&i[4][1]=="/"&&i[0][1]==i[5][1]&&i[1][1]==i[6][1]&&i[2][1]==i[7][1]&&i[3][1]==i[8][1]&&(n.value.splice(4),n.dirty=!0))}}};T_.exports=bO});var w_=z((f7,R_)=>{var vO=On().OptimizationLevel,SO=/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,yO=/,(\S)/g,EO=/ ?= ?/g,TO={level1:{property:function(t,n,r){r.compatibility.properties.ieFilters&&r.level[vO.One].optimizeFilter&&(n.value.length==1&&(n.value[0][1]=n.value[0][1].replace(SO,function(i,o,a){return o.toLowerCase()+a})),n.value[0][1]=n.value[0][1].replace(yO,", $1").replace(EO,"="))}}};R_.exports=TO});var C_=z((d7,D_)=>{var AO=On().OptimizationLevel,RO={level1:{property:function(t,n,r){var i=n.value[0][1];r.level[AO.One].optimizeFontWeight&&(i=="normal"?i="400":i=="bold"&&(i="700"),n.value[0][1]=i)}}};D_.exports=RO});var k_=z((p7,O_)=>{var wO=On().OptimizationLevel,DO={level1:{property:function(t,n,r){var i=n.value;r.level[wO.One].replaceMultipleZeros&&i.length==4&&i[0][1]==="0"&&i[1][1]==="0"&&i[2][1]==="0"&&i[3][1]==="0"&&(n.value.splice(1),n.dirty=!0)}}};O_.exports=DO});var I_=z((m7,x_)=>{var CO=On().OptimizationLevel,OO={level1:{property:function(t,n,r){var i=n.value;r.level[CO.One].optimizeOutline&&i.length==1&&i[0][1]=="none"&&(i[0][1]="0")}}};x_.exports=OO});var N_=z((h7,P_)=>{var kO=On().OptimizationLevel;function ml(e){return e&&e[1][0]=="-"&&parseFloat(e[1])<0}var xO={level1:{property:function(t,n,r){var i=n.value;i.length==4&&i[0][1]==="0"&&i[1][1]==="0"&&i[2][1]==="0"&&i[3][1]==="0"&&(n.value.splice(1),n.dirty=!0),r.level[kO.One].removeNegativePaddings&&(ml(n.value[0])||ml(n.value[1])||ml(n.value[2])||ml(n.value[3]))&&(n.unused=!0)}}};P_.exports=xO});var M_=z((_7,F_)=>{F_.exports={background:S_().level1.property,boxShadow:E_().level1.property,borderRadius:A_().level1.property,filter:w_().level1.property,fontWeight:C_().level1.property,margin:k_().level1.property,outline:I_().level1.property,padding:N_().level1.property}});var q_=z((g7,V_)=>{var L_={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},Dd={},Cd={};for(Du in L_)hl=L_[Du],Du.length<hl.length?Cd[hl]=Du:Dd[Du]=hl;var hl,Du,B_=new RegExp("(^| |,|\\))("+Object.keys(Dd).join("|")+")( |,|\\)|$)","ig"),IO=new RegExp("("+Object.keys(Cd).join("|")+")([^a-f0-9]|$)","ig");function U_(e,t,n,r){return t+Dd[n.toLowerCase()]+r}function PO(e,t,n){return Cd[t.toLowerCase()]+n}function NO(e){var t=e.indexOf("#")>-1,n=e.replace(B_,U_);return n!=e&&(n=n.replace(B_,U_)),t?n.replace(IO,PO):n}V_.exports=NO});var K_=z((b7,z_)=>{function FO(e,t,n){var r,i,o;if(e%=360,e<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,t===0)r=i=o=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Od(s,a,e+1/3),i=Od(s,a,e),o=Od(s,a,e-1/3)}return[~~(r*255),~~(i*255),~~(o*255)]}function Od(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function MO(e,t,n){var r=FO(e,t,n),i=r[0].toString(16),o=r[1].toString(16),a=r[2].toString(16);return"#"+((i.length==1?"0":"")+i)+((o.length==1?"0":"")+o)+((a.length==1?"0":"")+a)}z_.exports=MO});var W_=z((v7,G_)=>{function LO(e,t,n){var r=Math.max(0,Math.min(parseInt(e),255)),i=Math.max(0,Math.min(parseInt(t),255)),o=Math.max(0,Math.min(parseInt(n),255));return"#"+("00000"+(r<<16|i<<8|o).toString(16)).slice(-6)}G_.exports=LO});var Ps=z((S7,$_)=>{var H_=Ar();function X_(e,t,n){return n?t.test(e):e===t}function BO(e,t){var n=H_.OPEN_ROUND_BRACKET,r=H_.CLOSE_ROUND_BRACKET,i=0,o=0,a=0,s,c,d=e.length,p=[],m=typeof t=="object"&&"exec"in t;if(!m&&e.indexOf(t)==-1)return[e];if(e.indexOf(n)==-1)return e.split(t);for(;o<d;)e[o]==n?i++:e[o]==r&&i--,i===0&&o>0&&o+1<d&&X_(e[o],t,m)&&(p.push(e.substring(a,o)),m&&t.exec(e[o]).length>1&&p.push(e[o]),a=o+1),o++;return a<o+1&&(s=e.substring(a),c=s[s.length-1],X_(c,t,m)&&(s=s.substring(0,s.length-1)),p.push(s)),p}$_.exports=BO});var Q_=z((y7,Y_)=>{var j_=q_(),UO=K_(),VO=W_(),qO=Ps(),zO=/(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi,KO=/#|rgb|hsl/gi,GO=/(^|[^='"])#([0-9a-f]{6})/gi,WO=/(^|[^='"])#([0-9a-f]{3})/gi,HO=/[0-9a-f]/i,XO=/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi,$O=/(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi,jO=/rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi,YO=/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,QO={level1:{value:function(t,n,r){return r.compatibility.properties.colors?(n.match(KO)&&(n=n.replace($O,function(i,o,a,s,c,d){return parseInt(d)>=1?o+"("+[a,s,c].join(",")+")":i}).replace(jO,function(i,o,a,s){return VO(o,a,s)}).replace(XO,function(i,o,a,s){return UO(o,a,s)}).replace(GO,function(i,o,a,s,c){var d=c[s+i.length];return d&&HO.test(d)?i:a[0]==a[1]&&a[2]==a[3]&&a[4]==a[5]?(o+"#"+a[0]+a[2]+a[4]).toLowerCase():(o+"#"+a).toLowerCase()}).replace(WO,function(i,o,a){return o+"#"+a.toLowerCase()}).replace(zO,function(i,o,a){var s=a.split(","),c=o&&o.toLowerCase(),d=c=="hsl"&&s.length==3||c=="hsla"&&s.length==4||c=="rgb"&&s.length===3&&a.indexOf("%")>0||c=="rgba"&&s.length==4&&s[0].indexOf("%")>0;return d?(s[1].indexOf("%")==-1&&(s[1]+="%"),s[2].indexOf("%")==-1&&(s[2]+="%"),o+"("+s.join(",")+")"):i}),r.compatibility.colors.opacity&&t.indexOf("background")==-1&&(n=n.replace(YO,function(i){return qO(n,",").pop().indexOf("gradient(")>-1?i:"transparent"}))),j_(n)):n}}};Y_.exports=QO});var Z_=z((E7,J_)=>{var JO=/\(0deg\)/g,ZO={level1:{value:function(t,n,r){return!r.compatibility.properties.zeroUnits||n.indexOf("0deg")==-1?n:n.replace(JO,"(0)")}}};J_.exports=ZO});var _l=z((T7,eg)=>{var ek=/^url\(/i;function tk(e){return ek.test(e)}eg.exports=tk});var ig=z((A7,rg)=>{var nk=Ps(),rk=_l(),ik=On().OptimizationLevel,ok=/^expression\(.*\)$/,ak=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,sk=/([\s,/])/,uk=/(^|\D)\.0+(\D|$)/g,ck=/\.([1-9]*)0+(\D|$)/g,lk=/(^|\D)0\.(\d)/g,tg=/([^\w\d-]|^)-0([^.]|$)/g,fk=/(^|\s)0+([1-9])/g;function ng(e){var t,n;return rk(e)||ok.test(e)?e:(t=ak.exec(e),t?(n=nk(t[2],sk).map(function(r){return ng(r)}),t[1]+"("+n.join("")+")"):dk(e))}function dk(e){return e.indexOf("0")==-1?e:(e.indexOf("-")>-1&&(e=e.replace(tg,"$10$2").replace(tg,"$10$2")),e.replace(fk,"$1$2").replace(uk,"$10$2").replace(ck,function(t,n,r){return(n.length>0?".":"")+n+r}).replace(lk,"$1.$2"))}var pk={level1:{value:function(t,n,r){return r.level[ik.One].replaceZeroUnits?ng(n):n}}};rg.exports=pk});var ag=z((R7,og)=>{var mk={level1:{value:function(t,n,r){return!r.precision.enabled||n.indexOf(".")===-1?n:n.replace(r.precision.decimalPointMatcher,"$1$2$3").replace(r.precision.zeroMatcher,function(i,o,a,s){var c=r.precision.units[s].multiplier,d=parseInt(o),p=Number.isNaN(d)?0:d,m=parseFloat(a);return Math.round((p+m)*c)/c+s})}}};og.exports=mk});var ug=z((w7,sg)=>{var hk=On().OptimizationLevel,_k=/^local\(/i,gk=/^('.*'|".*")$/,bk=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,vk=/^['"](?:cursive|default|emoji|fangsong|fantasy|inherit|initial|math|monospace|revert|revert-layer|sans-serif|serif|system-ui|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|unset)['"]$/,Sk={level1:{value:function(t,n,r){return(t=="font-family"||t=="font")&&vk.test(n)||!r.level[hk.One].removeQuotes||!gk.test(n)&&!_k.test(n)?n:bk.test(n)?n.substring(1,n.length-1):n}}};sg.exports=Sk});var fg=z((D7,lg)=>{var yk=On().OptimizationLevel,cg=/^(-?[\d.]+)(m?s)$/,Ek={level1:{value:function(t,n,r){return!r.level[yk.One].replaceTimeUnits||!cg.test(n)?n:n.replace(cg,function(i,o,a){var s;return a=="ms"?s=parseInt(o)/1e3+"s":a=="s"&&(s=parseFloat(o)*1e3+"ms"),s.length<i.length?s:i})}}};lg.exports=Ek});var mg=z((C7,pg)=>{var dg=/(?:^|\s|\()(-?\d+)px/,Tk={level1:{value:function(t,n,r){return dg.test(n)?n.replace(dg,function(i,o){var a,s=parseInt(o);return s===0?i:(r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pt&&s*3%4===0&&(a=s*3/4+"pt"),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pc&&s%16===0&&(a=s/16+"pc"),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.in&&s%96===0&&(a=s/96+"in"),a&&(a=i.substring(0,i.indexOf(o))+a),a&&a.length<i.length?a:i)}):n}}};pg.exports=Tk});var _g=z((O7,hg)=>{var Ak=_l(),Rk=On().OptimizationLevel,wk=/^url\(/i,Dk={level1:{value:function(t,n,r){return!r.level[Rk.One].normalizeUrls||!Ak(n)?n:n.replace(wk,"url(")}}};hg.exports=Dk});var bg=z((k7,gg)=>{var Ck=/^url\(['"].+['"]\)$/,Ok=/^url\(['"].*[*\s()'"].*['"]\)$/,kk=/["']/g,xk=/^url\(['"]data:[^;]+;charset/,Ik={level1:{value:function(t,n,r){return r.compatibility.properties.urlQuotes?n:Ck.test(n)&&!Ok.test(n)&&!xk.test(n)?n.replace(kk,""):n}}};gg.exports=Ik});var Sg=z((x7,vg)=>{var Pk=_l(),Nk=/\\?\n|\\?\r\n/g,Fk=/(\()\s+/g,Mk=/\s+(\))/g,Lk={level1:{value:function(t,n){return Pk(n)?n.replace(Nk,"").replace(Fk,"$1").replace(Mk,"$1"):n}}};vg.exports=Lk});var Tg=z((I7,Eg)=>{var Bk=On().OptimizationLevel,yg=Ar(),Uk=/\) ?\/ ?/g,Vk=/, /g,qk=/\r?\n/g,zk=/\s+/g,Kk=/\s+(;?\))/g,Gk=/(\(;?)\s+/g,Wk=/^--\S+$/,Hk=/^var\(\s*--\S+\s*\)$/,Xk={level1:{value:function(t,n,r){return!r.level[Bk.One].removeWhitespace||Wk.test(t)&&!Hk.test(n)||n.indexOf(" ")==-1&&n.indexOf(`
7
+ `)==-1||n.indexOf("expression")===0||n.indexOf(yg.SINGLE_QUOTE)>-1||n.indexOf(yg.DOUBLE_QUOTE)>-1?n:(n=n.replace(qk,""),n=n.replace(zk," "),n.indexOf("calc")>-1&&(n=n.replace(Uk,")/ ")),n.replace(Gk,"$1").replace(Kk,"$1").replace(Vk,","))}}};Eg.exports=Xk});var wg=z((P7,Rg)=>{var $k=Ps(),jk=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,Yk=/^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/,Qk=/([\s,/])/;function Ag(e,t){var n,r;return Yk.test(e)?e:(n=jk.exec(e),n?(r=$k(n[2],Qk).map(function(i){return Ag(i,t)}),n[1]+"("+r.join("")+")"):Jk(e,t))}function Jk(e,t){return e.replace(t.unitsRegexp,"$10$2").replace(t.unitsRegexp,"$10$2")}var Zk={level1:{value:function(t,n,r){return!r.compatibility.properties.zeroUnits||n.indexOf("%")>0&&(t=="height"||t=="max-height"||t=="width"||t=="max-width")?n:Ag(n,r)}}};Rg.exports=Zk});var kd=z((N7,Dg)=>{Dg.exports={color:Q_().level1.value,degrees:Z_().level1.value,fraction:ig().level1.value,precision:ag().level1.value,textQuotes:ug().level1.value,time:fg().level1.value,unit:mg().level1.value,urlPrefix:_g().level1.value,urlQuotes:bg().level1.value,urlWhiteSpace:Sg().level1.value,whiteSpace:Tg().level1.value,zero:wg().level1.value}});var Po=z((F7,kg)=>{var Gn=i_(),M=l_(),Wn=m_(),Hn=M_(),R=kd(),Cg=Ia(),vl={animation:{canOverride:M.generic.components([M.generic.time,M.generic.timingFunction,M.generic.time,M.property.animationIterationCount,M.property.animationDirection,M.property.animationFillMode,M.property.animationPlayState,M.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:Gn.multiplex(Gn.animation),defaultValue:"none",restore:Wn.multiplex(Wn.withoutDefaults),shorthand:!0,valueOptimizers:[R.whiteSpace,R.textQuotes,R.time,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:M.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[R.time,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:M.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:M.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"animation-delay",valueOptimizers:[R.time,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:M.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:M.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:M.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",valueOptimizers:[R.textQuotes],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:M.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:M.generic.timingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:M.generic.components([M.generic.image,M.property.backgroundPosition,M.property.backgroundSize,M.property.backgroundRepeat,M.property.backgroundAttachment,M.property.backgroundOrigin,M.property.backgroundClip,M.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:Gn.multiplex(Gn.background),defaultValue:"0 0",propertyOptimizer:Hn.background,restore:Wn.multiplex(Wn.background),shortestValue:"0",shorthand:!0,valueOptimizers:[R.whiteSpace,R.urlWhiteSpace,R.fraction,R.zero,R.color,R.urlPrefix,R.urlQuotes]},"background-attachment":{canOverride:M.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:M.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:M.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"background-image":{canOverride:M.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default",valueOptimizers:[R.urlWhiteSpace,R.urlPrefix,R.urlQuotes,R.whiteSpace,R.fraction,R.precision,R.unit,R.zero,R.color]},"background-origin":{canOverride:M.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:M.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"background-repeat":{canOverride:M.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:M.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},bottom:{canOverride:M.property.bottom,defaultValue:"auto",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},border:{breakUp:Gn.border,canOverride:M.generic.components([M.generic.unit,M.property.borderStyle,M.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:Wn.withoutDefaults,shorthand:!0,shorthandComponents:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.zero,R.color]},"border-bottom":{breakUp:Gn.border,canOverride:M.generic.components([M.generic.unit,M.property.borderStyle,M.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:Wn.withoutDefaults,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.zero,R.color]},"border-bottom-color":{canOverride:M.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-bottom-left-radius":{canOverride:M.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Hn.borderRadius,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:M.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Hn.borderRadius,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:M.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:M.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"border-collapse":{canOverride:M.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:Gn.fourValues,canOverride:M.generic.components([M.generic.color,M.generic.color,M.generic.color,M.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:Wn.fourValues,shortestValue:"red",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-left":{breakUp:Gn.border,canOverride:M.generic.components([M.generic.unit,M.property.borderStyle,M.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:Wn.withoutDefaults,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.zero,R.color]},"border-left-color":{canOverride:M.generic.color,componentOf:["border-color","border-left"],defaultValue:"none",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-left-style":{canOverride:M.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:M.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"border-radius":{breakUp:Gn.borderRadius,canOverride:M.generic.components([M.generic.unit,M.generic.unit,M.generic.unit,M.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",propertyOptimizer:Hn.borderRadius,restore:Wn.borderRadius,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:Gn.border,canOverride:M.generic.components([M.generic.unit,M.property.borderStyle,M.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:Wn.withoutDefaults,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-right-color":{canOverride:M.generic.color,componentOf:["border-color","border-right"],defaultValue:"none",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-right-style":{canOverride:M.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:M.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"border-style":{breakUp:Gn.fourValues,canOverride:M.generic.components([M.property.borderStyle,M.property.borderStyle,M.property.borderStyle,M.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:Wn.fourValues,shorthand:!0,singleTypeComponents:!0},"border-top":{breakUp:Gn.border,canOverride:M.generic.components([M.generic.unit,M.property.borderStyle,M.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:Wn.withoutDefaults,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.zero,R.color,R.unit]},"border-top-color":{canOverride:M.generic.color,componentOf:["border-color","border-top"],defaultValue:"none",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"border-top-left-radius":{canOverride:M.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Hn.borderRadius,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:M.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Hn.borderRadius,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:M.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:M.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"border-width":{breakUp:Gn.fourValues,canOverride:M.generic.components([M.generic.unit,M.generic.unit,M.generic.unit,M.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:Wn.fourValues,shortestValue:"0",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"box-shadow":{propertyOptimizer:Hn.boxShadow,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero,R.color],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},clear:{canOverride:M.property.clear,defaultValue:"none"},clip:{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},color:{canOverride:M.generic.color,defaultValue:"transparent",shortestValue:"red",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"column-gap":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},cursor:{canOverride:M.property.cursor,defaultValue:"auto"},display:{canOverride:M.property.display},filter:{propertyOptimizer:Hn.filter,valueOptimizers:[R.fraction]},float:{canOverride:M.property.float,defaultValue:"none"},font:{breakUp:Gn.font,canOverride:M.generic.components([M.property.fontStyle,M.property.fontVariant,M.property.fontWeight,M.property.fontStretch,M.generic.unit,M.generic.unit,M.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:Wn.font,shorthand:!0,valueOptimizers:[R.textQuotes]},"font-family":{canOverride:M.property.fontFamily,defaultValue:"user|agent|specific",valueOptimizers:[R.textQuotes]},"font-size":{canOverride:M.generic.unit,defaultValue:"medium",shortestValue:"0",valueOptimizers:[R.fraction]},"font-stretch":{canOverride:M.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:M.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:M.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:M.property.fontWeight,defaultValue:"normal",propertyOptimizer:Hn.fontWeight,shortestValue:"400"},gap:{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},height:{canOverride:M.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},left:{canOverride:M.property.left,defaultValue:"auto",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"letter-spacing":{valueOptimizers:[R.fraction,R.zero]},"line-height":{canOverride:M.generic.unitOrNumber,defaultValue:"normal",shortestValue:"0",valueOptimizers:[R.fraction,R.zero]},"list-style":{canOverride:M.generic.components([M.property.listStyleType,M.property.listStylePosition,M.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:Gn.listStyle,restore:Wn.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:M.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:M.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:M.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:Gn.fourValues,canOverride:M.generic.components([M.generic.unit,M.generic.unit,M.generic.unit,M.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",propertyOptimizer:Hn.margin,restore:Wn.fourValues,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-bottom":{canOverride:M.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top",propertyOptimizer:Hn.margin,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-inline-end":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-inline-start":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-left":{canOverride:M.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right",propertyOptimizer:Hn.margin,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-right":{canOverride:M.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left",propertyOptimizer:Hn.margin,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"margin-top":{canOverride:M.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom",propertyOptimizer:Hn.margin,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"max-height":{canOverride:M.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"max-width":{canOverride:M.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"min-height":{canOverride:M.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"min-width":{canOverride:M.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},opacity:{valueOptimizers:[R.fraction,R.precision]},outline:{canOverride:M.generic.components([M.generic.color,M.property.outlineStyle,M.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:Gn.outline,restore:Wn.withoutDefaults,defaultValue:"0",propertyOptimizer:Hn.outline,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"outline-color":{canOverride:M.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red",valueOptimizers:[R.whiteSpace,R.fraction,R.color]},"outline-style":{canOverride:M.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:M.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},overflow:{canOverride:M.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:M.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:M.property.overflow,defaultValue:"visible"},padding:{breakUp:Gn.fourValues,canOverride:M.generic.components([M.generic.unit,M.generic.unit,M.generic.unit,M.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",propertyOptimizer:Hn.padding,restore:Wn.fourValues,shorthand:!0,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"padding-bottom":{canOverride:M.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top",propertyOptimizer:Hn.padding,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"padding-left":{canOverride:M.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right",propertyOptimizer:Hn.padding,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"padding-right":{canOverride:M.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left",propertyOptimizer:Hn.padding,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"padding-top":{canOverride:M.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom",propertyOptimizer:Hn.padding,valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},position:{canOverride:M.property.position,defaultValue:"static"},right:{canOverride:M.property.right,defaultValue:"auto",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"row-gap":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},src:{valueOptimizers:[R.urlWhiteSpace,R.urlPrefix,R.urlQuotes]},"stroke-width":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"text-align":{canOverride:M.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:M.property.textDecoration,defaultValue:"none"},"text-indent":{canOverride:M.property.textOverflow,defaultValue:"none",valueOptimizers:[R.fraction,R.zero]},"text-overflow":{canOverride:M.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:M.property.textShadow,defaultValue:"none",valueOptimizers:[R.whiteSpace,R.fraction,R.zero,R.color]},top:{canOverride:M.property.top,defaultValue:"auto",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},transform:{canOverride:M.property.transform,valueOptimizers:[R.whiteSpace,R.degrees,R.fraction,R.precision,R.unit,R.zero],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},transition:{breakUp:Gn.multiplex(Gn.transition),canOverride:M.generic.components([M.property.transitionProperty,M.generic.time,M.generic.timingFunction,M.generic.time]),components:["transition-property","transition-duration","transition-timing-function","transition-delay"],defaultValue:"none",restore:Wn.multiplex(Wn.withoutDefaults),shorthand:!0,valueOptimizers:[R.time,R.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-delay":{canOverride:M.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[R.time],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-duration":{canOverride:M.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"transition-delay",valueOptimizers:[R.time,R.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-property":{canOverride:M.generic.propertyName,componentOf:["transition"],defaultValue:"all",intoMultiplexMode:"placeholder",placeholderValue:"_",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-timing-function":{canOverride:M.generic.timingFunction,componentOf:["transition"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"vertical-align":{canOverride:M.property.verticalAlign,defaultValue:"baseline",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},visibility:{canOverride:M.property.visibility,defaultValue:"visible"},"-webkit-tap-highlight-color":{valueOptimizers:[R.whiteSpace,R.color]},"-webkit-margin-end":{valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"white-space":{canOverride:M.property.whiteSpace,defaultValue:"normal"},width:{canOverride:M.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[R.whiteSpace,R.fraction,R.precision,R.unit,R.zero]},"z-index":{canOverride:M.property.zIndex,defaultValue:"auto"}},Og={};function ex(e,t){var n=Cg(vl[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(r){return t+r})),"components"in n&&(n.components=n.components.map(function(r){return t+r})),"keepUnlessDefault"in n&&(n.keepUnlessDefault=t+n.keepUnlessDefault),n}for(gl in vl)if(Cu=vl[gl],"vendorPrefixes"in Cu){for(bl=0;bl<Cu.vendorPrefixes.length;bl++)xd=Cu.vendorPrefixes[bl],Id=ex(gl,xd),delete Id.vendorPrefixes,Og[xd+gl]=Id;delete Cu.vendorPrefixes}var Cu,xd,Id,bl,gl;kg.exports=Cg(vl,Og)});var Sl=z((M7,Mg)=>{var Ns="",dr=vu().Breaks,xg=vu().Spaces,pr=Ar(),ai=Zt();function tx(e){return e[1][1]=="background"||e[1][1]=="transform"||e[1][1]=="src"}function nx(e,t){return e[t][1][e[t][1].length-1]==pr.CLOSE_ROUND_BRACKET}function rx(e,t){return e[t][1]==pr.COMMA}function ix(e,t){return e[t][1]==pr.FORWARD_SLASH}function ox(e,t){return e[t+1]&&e[t+1][1]==pr.COMMA}function ax(e,t){return e[t+1]&&e[t+1][1]==pr.FORWARD_SLASH}function sx(e){return e[1][1]=="filter"||e[1][1]=="-ms-filter"}function ux(e,t,n){return!e.spaceAfterClosingBrace&&tx(t)&&nx(t,n)||ax(t,n)||ix(t,n)||ox(t,n)||rx(t,n)}function Ou(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,fx(e))}function Iu(e,t){for(var n=cx(t),r=0,i=t.length;r<i;r++)Ig(e,t,r,n)}function cx(e){for(var t=e.length-1;t>=0&&e[t][0]==ai.COMMENT;t--);return t}function Ig(e,t,n,r){var i=e.store,o=t[n],a=o[2],s=a&&a[0]===ai.PROPERTY_BLOCK,c;e.format?e.format.semicolonAfterLastProperty||s||n<r?c=!0:c=!1:c=n<r||s;var d=n===r;switch(o[0]){case ai.AT_RULE:i(e,o),i(e,Pd(e,dr.AfterProperty,!1));break;case ai.AT_RULE_BLOCK:Ou(e,o[1]),i(e,ku(e,dr.AfterRuleBegins,!0)),Iu(e,o[2]),i(e,xu(e,dr.AfterRuleEnds,!1,d));break;case ai.COMMENT:i(e,o),i(e,Jo(e,dr.AfterComment)+e.indentWith);break;case ai.PROPERTY:i(e,o[1]),i(e,lx(e)),a&&Pg(e,o),i(e,c?Pd(e,dr.AfterProperty,d):Ns);break;case ai.RAW:i(e,o)}}function Pg(e,t){var n=e.store,r,i;if(t[2][0]==ai.PROPERTY_BLOCK)n(e,ku(e,dr.AfterBlockBegins,!1)),Iu(e,t[2][1]),n(e,xu(e,dr.AfterBlockEnds,!1,!0));else for(r=2,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&(sx(t)||!ux(e,t,r))&&n(e,pr.SPACE)}function Jo(e,t){return e.format?e.format.breaks[t]:Ns}function Ng(e,t){return e.format&&e.format.spaces[t]}function ku(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&Ng(e,xg.BeforeBlockBegins)?pr.SPACE:Ns)+pr.OPEN_CURLY_BRACKET+Jo(e,t)+e.indentWith):pr.OPEN_CURLY_BRACKET}function xu(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n?Jo(e,dr.BeforeBlockEnds):Jo(e,dr.AfterProperty))+e.indentWith+pr.CLOSE_CURLY_BRACKET+(r?Ns:Jo(e,t)+e.indentWith)):pr.CLOSE_CURLY_BRACKET}function lx(e){return e.format?pr.COLON+(Ng(e,xg.BeforeValue)?pr.SPACE:Ns):pr.COLON}function Pd(e,t,n){return e.format?pr.SEMICOLON+(n?Ns:Jo(e,t)+e.indentWith):pr.SEMICOLON}function fx(e){return e.format?pr.COMMA+Jo(e,dr.BetweenSelectors)+e.indentWith:pr.COMMA}function Fg(e,t){var n=e.store,r,i,o,a;for(o=0,a=t.length;o<a;o++)switch(r=t[o],i=o==a-1,r[0]){case ai.AT_RULE:n(e,r),n(e,Pd(e,dr.AfterAtRule,i));break;case ai.AT_RULE_BLOCK:Ou(e,r[1]),n(e,ku(e,dr.AfterRuleBegins,!0)),Iu(e,r[2]),n(e,xu(e,dr.AfterRuleEnds,!1,i));break;case ai.NESTED_BLOCK:Ou(e,r[1]),n(e,ku(e,dr.AfterBlockBegins,!0)),Fg(e,r[2]),n(e,xu(e,dr.AfterBlockEnds,!0,i));break;case ai.COMMENT:n(e,r),n(e,Jo(e,dr.AfterComment)+e.indentWith);break;case ai.RAW:n(e,r);break;case ai.RULE:Ou(e,r[1]),n(e,ku(e,dr.AfterRuleBegins,!0)),Iu(e,r[2]),n(e,xu(e,dr.AfterRuleEnds,!1,i));break}}Mg.exports={all:Fg,body:Iu,property:Ig,rules:Ou,value:Pg}});var kn=z((L7,Lg)=>{var Pu=Sl();function dx(e,t){e.output.push(typeof t=="string"?t:t[1])}function Nu(){var e={output:[],store:dx};return e}function px(e){var t=Nu();return Pu.all(t,e),t.output.join("")}function mx(e){var t=Nu();return Pu.body(t,e),t.output.join("")}function hx(e,t){var n=Nu();return Pu.property(n,e,t,!0),n.output.join("")}function _x(e){var t=Nu();return Pu.rules(t,e),t.output.join("")}function gx(e){var t=Nu();return Pu.value(t,e),t.output.join("")}Lg.exports={all:px,body:mx,property:hx,rules:_x,value:gx}});var zg=z((B7,qg)=>{var bx=rl(),vx=al(),Sx=G0(),yx=H0(),yl=sl(),Ex=bd(),Tx=Cs(),Ax=Na().all,El=Po(),Nd=kd(),Al=On().OptimizationLevel,go=Zt(),Rx=Ar(),Tl=Su(),wx=kn().rules,Fd="@charset",Bg=new RegExp("^"+Fd,"i"),Dx=wd().DEFAULT,Cx=/^--\S+$/,Ox=/^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/,kx=/^@import/i,xx=/^url\(/i;function Ix(e){return xx.test(e)}function Px(e){return kx.test(e[1])}function Nx(e){var t;return e.name=="filter"||e.name=="-ms-filter"?(t=e.value[0][1],t.indexOf("progid")>-1||t.indexOf("alpha")===0||t.indexOf("chroma")===0):!1}function Fx(){}function Mx(e,t,n){return t}function Md(e,t,n){var r=n.options,i,o,a,s,c,d,p,m=wx(e),g=Ax(t),b=n.options.plugins.level1Value,h=n.options.plugins.level1Property,w,l,u;for(l=0,u=g.length;l<u;l++){var v,y,S,C;if(o=g[l],a=o.name,p=El[a]&&El[a].propertyOptimizer||Fx,i=El[a]&&El[a].valueOptimizers||[Nd.whiteSpace],w=Cx.test(a),w&&(i=r.variableOptimizers.length>0?r.variableOptimizers:[Nd.whiteSpace]),!w&&!Ox.test(a)){d=o.all[o.position],n.warnings.push("Invalid property name '"+a+"' at "+Tl(d[1][2][0])+". Ignoring."),o.unused=!0;continue}if(o.value.length===0){d=o.all[o.position],n.warnings.push("Empty property '"+a+"' at "+Tl(d[1][2][0])+". Ignoring."),o.unused=!0;continue}if(o.hack&&((o.hack[0]==yl.ASTERISK||o.hack[0]==yl.UNDERSCORE)&&!r.compatibility.properties.iePrefixHack||o.hack[0]==yl.BACKSLASH&&!r.compatibility.properties.ieSuffixHack||o.hack[0]==yl.BANG&&!r.compatibility.properties.ieBangHack)){o.unused=!0;continue}if(!r.compatibility.properties.ieFilters&&Nx(o)){o.unused=!0;continue}if(o.block){Md(e,o.value[0][1],n);continue}for(v=0,S=o.value.length;v<S;v++){if(s=o.value[v][0],c=o.value[v][1],s==go.PROPERTY_BLOCK){o.unused=!0,n.warnings.push("Invalid value token at "+Tl(c[0][1][2][0])+". Ignoring.");break}if(Ix(c)&&!n.validator.isUrl(c)){o.unused=!0,n.warnings.push("Broken URL '"+c+"' at "+Tl(o.value[v][2][0])+". Ignoring.");break}for(y=0,C=i.length;y<C;y++)c=i[y](a,c,r);for(y=0,C=b.length;y<C;y++)c=b[y](a,c,r);o.value[v][1]=c}for(p(m,o,r),v=0,S=h.length;v<S;v++)h[v](m,o,r)}Tx(g),Ex(g),Lx(t,r)}function Lx(e,t){var n,r;for(r=0;r<e.length;r++)n=e[r],n[0]==go.COMMENT&&(Ug(n,t),n[1].length===0&&(e.splice(r,1),r--))}function Ug(e,t){if(e[1][2]==Rx.EXCLAMATION&&(t.level[Al.One].specialComments=="all"||t.commentsKept<t.level[Al.One].specialComments)){t.commentsKept++;return}e[1]=[]}function Bx(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==go.AT_RULE&&Bg.test(i[1])&&(t||i[1].indexOf(Fd)==-1?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([go.AT_RULE,i[1].replace(Bg,Fd)])))}}function Ux(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"],n=["ch","rem","vh","vm","vmax","vmin","vw"];return n.forEach(function(r){e.compatibility.units[r]&&t.push(r)}),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}function Vx(e){var t={matcher:null,units:{}},n=[],r,i;for(r in e)i=e[r],i!=Dx&&(t.units[r]={},t.units[r].value=i,t.units[r].multiplier=10**i,n.push(r));return n.length>0&&(t.enabled=!0,t.decimalPointMatcher=new RegExp("(\\d)\\.($|"+n.join("|")+")($|\\W)","g"),t.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+n.join("|")+")","g")),t}function qx(e){return e.level[Al.One].variableValueOptimizers.map(function(t){return typeof t=="string"?Nd[t]||Mx:t})}function Vg(e,t){var n=t.options,r=n.level[Al.One],i=n.compatibility.selectors.ie7Hack,o=n.compatibility.selectors.adjacentSpace,a=n.compatibility.properties.spaceAfterClosingBrace,s=n.format,c=!1,d=!1;n.unitsRegexp=n.unitsRegexp||Ux(n),n.precision=n.precision||Vx(r.roundingPrecision),n.commentsKept=n.commentsKept||0,n.variableOptimizers=n.variableOptimizers||qx(n);for(var p=0,m=e.length;p<m;p++){var g=e[p];switch(g[0]){case go.AT_RULE:g[1]=Px(g)&&d?"":g[1],g[1]=r.tidyAtRules?yx(g[1]):g[1],c=!0;break;case go.AT_RULE_BLOCK:Md(g[1],g[2],t),d=!0;break;case go.NESTED_BLOCK:g[1]=r.tidyBlockScopes?Sx(g[1],a):g[1],Vg(g[2],t),d=!0;break;case go.COMMENT:Ug(g,n);break;case go.RULE:g[1]=r.tidySelectors?vx(g[1],!i,o,s,t.warnings):g[1],g[1]=g[1].length>1?bx(g[1],r.selectorsSortingMethod):g[1],Md(g[1],g[2],t),d=!0;break}(g[0]==go.COMMENT&&g[1].length===0||r.removeEmpty&&(g[1].length===0||g[2]&&g[2].length===0))&&(e.splice(p,1),p--,m--)}return r.cleanupCharsets&&c&&Bx(e),e}qg.exports=Vg});var Fu=z((U7,Wg)=>{var xn=Ar(),zx=Ps(),Kx=/\/deep\//,Gx=/^::/,Wx=/:(-moz-|-ms-|-o-|-webkit-)/,Kg=":not",Gg=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],Hx=/[>+~]/,Xx=[":after",":before",":first-letter",":first-line",":lang"],$x=["::after","::before","::first-letter","::first-line"],Hi={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};function jx(e,t,n,r){var i=zx(e,xn.COMMA),o,a,s;for(a=0,s=i.length;a<s;a++)if(o=i[a],o.length===0||Yx(o)||Qx(o)||o.indexOf(xn.COLON)>-1&&!Zx(o,Jx(o),t,n,r))return!1;return!0}function Yx(e){return Kx.test(e)}function Qx(e){return Wx.test(e)}function Jx(e){var t=[],n,r=[],i=Hi.ROOT,o=0,a,s,c=!1,d,p=!1,m,g;for(m=0,g=e.length;m<g;m++)n=e[m],d=!s&&Hx.test(n),a=i==Hi.DOUBLE_QUOTE||i==Hi.SINGLE_QUOTE,s?r.push(n):n==xn.DOUBLE_QUOTE&&i==Hi.ROOT?(r.push(n),i=Hi.DOUBLE_QUOTE):n==xn.DOUBLE_QUOTE&&i==Hi.DOUBLE_QUOTE?(r.push(n),i=Hi.ROOT):n==xn.SINGLE_QUOTE&&i==Hi.ROOT?(r.push(n),i=Hi.SINGLE_QUOTE):n==xn.SINGLE_QUOTE&&i==Hi.SINGLE_QUOTE?(r.push(n),i=Hi.ROOT):a?r.push(n):n==xn.OPEN_ROUND_BRACKET?(r.push(n),o++):n==xn.CLOSE_ROUND_BRACKET&&o==1&&c?(r.push(n),t.push(r.join("")),o--,r=[],c=!1):n==xn.CLOSE_ROUND_BRACKET?(r.push(n),o--):n==xn.COLON&&o===0&&c&&!p?(t.push(r.join("")),r=[],r.push(n)):n==xn.COLON&&o===0&&!p?(r=[],r.push(n),c=!0):n==xn.SPACE&&o===0&&c?(t.push(r.join("")),r=[],c=!1):d&&o===0&&c?(t.push(r.join("")),r=[],c=!1):r.push(n),s=n==xn.BACK_SLASH,p=n==xn.COLON;return r.length>0&&c&&t.push(r.join("")),t}function Zx(e,t,n,r,i){return e2(t,n,r)&&t2(t)&&(t.length<2||!n2(e,t))&&(t.length<2||i&&r2(t))}function e2(e,t,n){var r,i,o,a;for(o=0,a=e.length;o<a;o++)if(r=e[o],i=r.indexOf(xn.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(xn.OPEN_ROUND_BRACKET)):r,t.indexOf(i)===-1&&n.indexOf(i)===-1)return!1;return!0}function t2(e){var t,n,r,i,o,a;for(o=0,a=e.length;o<a;o++)if(t=e[o],r=t.indexOf(xn.OPEN_ROUND_BRACKET),i=r>-1,n=i?t.substring(0,r):t,i&&Gg.indexOf(n)==-1||!i&&Gg.indexOf(n)>-1)return!1;return!0}function n2(e,t){var n=0,r,i,o,a,s,c,d,p,m;for(p=0,m=t.length;p<m&&(r=t[p],o=t[p+1],!!o);p++)if(i=e.indexOf(r,n),a=e.indexOf(r,i+1),n=a,d=i+r.length==a,d&&(s=r.indexOf(xn.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(xn.OPEN_ROUND_BRACKET)):r,c=o.indexOf(xn.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(xn.OPEN_ROUND_BRACKET)):o,s!=Kg||c!=Kg))return!0;return!1}function r2(e){var t=0,n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],i2(n)?t+=$x.indexOf(n)>-1?1:0:t+=Xx.indexOf(n)>-1?1:0,t>1)return!1;return!0}function i2(e){return Gx.test(e)}Wg.exports=jx});var Ld=z((V7,Xg)=>{var Hg=Ar();function o2(e,t,n){var r=t.value.length,i=n.value.length,o=Math.max(r,i),a=Math.min(r,i)-1,s,c,d;for(d=0;d<o;d++)if(s=t.value[d]&&t.value[d][1]||s,c=n.value[d]&&n.value[d][1]||c,!(s==Hg.COMMA||c==Hg.COMMA)&&!e(s,c,d,d<=a))return!1;return!0}Xg.exports=o2});var Bd=z((q7,$g)=>{function a2(e){for(var t=e.value.length-1;t>=0;t--)if(e.value[t][1]=="inherit")return!0;return!1}$g.exports=a2});var Yg=z((z7,jg)=>{function s2(e){var t=e.value[0][1],n,r;for(n=1,r=e.value.length;n<r;n++)if(e.value[n][1]!=t)return!1;return!0}jg.exports=s2});var wl=z((K7,Qg)=>{var Rl=Po(),u2=vd();function c2(e,t,n){for(var r,i,o,a=e.length-1;a>=0;a--){var s=e[a],c=Rl[s.name];if(!s.dynamic&&c&&c.shorthand){if(l2(s,t)||f2(s,t)){s.optimizable=!1;continue}s.shorthand=!0,s.dirty=!0;try{if(s.components=c.breakUp(s,Rl,t),c.shorthandComponents)for(i=0,o=s.components.length;i<o;i++)r=s.components[i],r.components=Rl[r.name].breakUp(r,Rl,t)}catch(d){if(d instanceof u2)s.components=[],n.push(d.message);else throw d}s.components.length>0?s.multiplex=s.components[0].multiplex:s.unused=!0}}}function l2(e,t){return e.value.length==1&&t.isVariable(e.value[0][1])}function f2(e,t){return e.value.length>1&&e.value.filter(function(n){return t.isVariable(n[1])}).length>1}Qg.exports=c2});var Dl=z((G7,Zg)=>{var Jg=Po();function d2(e){var t=Jg[e.name];return t&&t.shorthand?t.restore(e,Jg):e.value}Zg.exports=d2});var ob=z((W7,ib)=>{var p2=Ld(),Ud=Bd(),m2=Yg(),Cl=wl(),Ni=Po(),Mu=Tu().deep,nb=Dl(),rb=Cs(),Ol=Na().single,eb=kn().body,vi=Zt();function h2(e,t){var n={},r,i,o,a,s,c,d;if(!(e.length<3)){for(a=0,s=e.length;a<s;a++)if(o=e[a],r=Ni[o.name],!o.dynamic&&!o.unused&&!o.hack&&!o.block&&!(r&&r.singleTypeComponents&&!m2(o))&&(tb(e,a,n,t),r&&r.componentOf))for(c=0,d=r.componentOf.length;c<d;c++)i=r.componentOf[c],n[i]=n[i]||{},n[i][o.name]=o;tb(e,a,n,t)}}function tb(e,t,n,r){var i=e[t],o,a,s,c=[],d;for(o in n)if(!(i!==void 0&&o==i.name)){if(a=Ni[o],s=n[o],i&&_2(n,o,i)){delete n[o];continue}a.components.length>Object.keys(s).length||g2(s)||b2(s,o,r)&&S2(s)&&(y2(s)?E2(e,s,o,r):C2(e,s,o,r),c.push(o))}for(d=c.length-1;d>=0;d--)delete n[c[d]]}function _2(e,t,n){var r=Ni[t],i=Ni[n.name],o;if("overridesShorthands"in r&&r.overridesShorthands.indexOf(n.name)>-1)return!0;if(i&&"componentOf"in i){for(o in e[t])if(i.componentOf.indexOf(o)>-1)return!0}return!1}function g2(e){var t,n;for(n in e){if(t!==void 0&&e[n].important!=t)return!0;t=e[n].important}return!1}function b2(e,t,n){var r=Ni[t],i=[vi.PROPERTY,[vi.PROPERTY_NAME,t],[vi.PROPERTY_VALUE,r.defaultValue]],o=Ol(i),a,s,c,d;for(Cl([o],n,[]),c=0,d=r.components.length;c<d;c++)if(a=e[r.components[c]],s=Ni[a.name].canOverride||v2,!p2(s.bind(null,n),o.components[c],a))return!1;return!0}function v2(e,t,n){return t===n}function S2(e){var t=null,n,r,i,o,a;for(r in e)if(i=e[r],o=Ni[r],"restore"in o){if(rb([i.all[i.position]],nb),a=o.restore(i,Ni),n=a.length,t!==null&&n!==t)return!1;t=n}return!0}function y2(e){var t,n=null,r;for(t in e){if(r=Ud(e[t]),n!==null&&n!==r)return!0;n=r}return!1}function E2(e,t,n,r){var i=T2(t,n,r),o=w2(t,n,r),a=i[0],s=o[0],c=eb(a).length<eb(s).length,d=c?a:s,p=c?i[1]:o[1],m=c?i[2]:o[2],g=t[Object.keys(t).pop()],b=g.all,h=g.position,w,l,u,v;p.position=h,p.shorthand=!0,p.important=g.important,p.multiplex=!1,p.dirty=!0,p.all=b,p.all[h]=d[0],e.splice(h,1,p);for(w in t)l=t[w],l.unused=!0,p.multiplex=p.multiplex||l.multiplex,l.name in m&&(u=m[l.name],v=D2(d,w),u.position=b.length,u.all=b,u.all.push(v),e.push(u))}function T2(e,t,n){var r=[],i={},o={},a=Ni[t],s=[vi.PROPERTY,[vi.PROPERTY_NAME,t],[vi.PROPERTY_VALUE,a.defaultValue]],c=Ol(s),d,p,m,g,b,h;for(Cl([c],n,[]),b=0,h=a.components.length;b<h;b++)d=e[a.components[b]],Ud(d)?(p=d.all[d.position].slice(0,2),Array.prototype.push.apply(p,d.value),r.push(p),m=Mu(d),m.value=A2(e,m.name),c.components[b]=m,i[d.name]=Mu(d)):(m=Mu(d),m.all=d.all,c.components[b]=m,o[d.name]=d);return c.important=e[Object.keys(e).pop()].important,g=Lu(o,1),s[1].push(g),rb([c],nb),s=s.slice(0,2),Array.prototype.push.apply(s,c.value),r.unshift(s),[r,c,i]}function A2(e,t){var n=Ni[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[vi.PROPERTY_VALUE,n.defaultValue]]}function Lu(e,t){var n=[],r,i,o,a;for(a in e)r=e[a],i=r.all[r.position],o=i[t][i[t].length-1],Array.prototype.push.apply(n,o);return n.sort(R2)}function R2(e,t){var n=e[0],r=t[0],i=e[1],o=t[1];return n<r||n===r&&i<o?-1:1}function w2(e,t,n){var r=[],i={},o={},a=Ni[t],s=[vi.PROPERTY,[vi.PROPERTY_NAME,t],[vi.PROPERTY_VALUE,"inherit"]],c=Ol(s),d,p,m,g,b,h;for(Cl([c],n,[]),b=0,h=a.components.length;b<h;b++)d=e[a.components[b]],Ud(d)?i[d.name]=d:(p=d.all[d.position].slice(0,2),Array.prototype.push.apply(p,d.value),r.push(p),o[d.name]=Mu(d));return m=Lu(i,1),s[1].push(m),g=Lu(i,2),s[2].push(g),r.unshift(s),[r,c,o]}function D2(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function C2(e,t,n,r){var i=Ni[n],o,a,s=[vi.PROPERTY,[vi.PROPERTY_NAME,n],[vi.PROPERTY_VALUE,i.defaultValue]],c,d=O2(e,t,n),p=Ol(s);p.shorthand=!0,p.dirty=!0,p.multiplex=!1,Cl([p],r,[]);for(var m=0,g=i.components.length;m<g;m++){var b=t[i.components[m]];p.components[m]=Mu(b),p.important=b.important,p.multiplex=p.multiplex||b.multiplex,c=b.all}for(var h in t)t[h].unused=!0;o=Lu(t,1),s[1].push(o),a=Lu(t,2),s[2].push(a),p.position=d,p.all=c,p.all[d]=s,e.splice(d,1,p)}function O2(e,t,n){var r=Object.keys(t),i=t[r[0]].position,o=t[r[r.length-1]].position;return n=="border"&&k2(e.slice(i,o),"border-image")?i:o}function k2(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].name==t)return!0;return!1}ib.exports=h2});var sb=z((H7,ab)=>{function x2(e){for(var t=e.value.length-1;t>=0;t--)if(e.value[t][1]=="unset")return!0;return!1}ab.exports=x2});var lb=z((X7,cb)=>{var I2=Po();function P2(e,t){var n=N2(t);return ub(e,n)||F2(e,n)}function N2(e){return function(t){return e.name===t.name}}function ub(e,t){return e.components.filter(t)[0]}function F2(e,t){var n,r,i,o;if(I2[e.name].shorthandComponents){for(i=0,o=e.components.length;i<o;i++)if(n=e.components[i],r=ub(n,t),r)return r}}cb.exports=P2});var mb=z(($7,pb)=>{var fb=Po();function M2(e,t,n){return db(e,t)||!n&&!!fb[e.name].shorthandComponents&&L2(e,t)}function db(e,t){var n=fb[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}function L2(e,t){return e.components.some(function(n){return db(n,t)})}pb.exports=M2});var _b=z((j7,hb)=>{var B2=Ar();function U2(e){return e.name!="font"?!0:e.value[0][1].indexOf(B2.INTERNAL)==-1}hb.exports=U2});var bb=z((Y7,gb)=>{var Vd=Po();function V2(e,t){return e.name in Vd&&"overridesShorthands"in Vd[e.name]&&Vd[e.name].overridesShorthands.indexOf(t.name)>-1}gb.exports=V2});var Db=z((Q7,wb)=>{var qd=Bd(),vb=sb(),Zo=Ld(),Ua=lb(),zd=mb(),Kd=_b(),q2=bb(),Sb=Td().same,si=Po(),yb=Tu().deep,Gd=Dl(),z2=Tu().shallow,Wd=Cs(),Fs=Zt(),xl=Ar(),K2=kn().property;function ea(e,t,n){return t===n}function G2(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],i=si[r.name],o=i&&i.canOverride||ea,a=z2(r);if(a.value=[[Fs.PROPERTY_VALUE,i.defaultValue]],!Zo(o.bind(null,t),a,r))return!0}return!1}function Tb(e,t){t.unused=!0,jd(t,Il(e)),e.value=t.value}function Ab(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function W2(e,t){t.unused=!0,e.value=t.value}function $d(e,t){t.multiplex?Ab(e,t):e.multiplex?Tb(e,t):W2(e,t)}function H2(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)$d(e.components[n],t.components[n])}function jd(e,t){e.multiplex=!0,si[e.name].shorthand?X2(e,t):Rb(e,t)}function X2(e,t){var n,r,i;for(r=0,i=e.components.length;r<i;r++)n=e.components[r],n.multiplex||Rb(n,t)}function Rb(e,t){for(var n=si[e.name],r=n.intoMultiplexMode=="real",i=n.intoMultiplexMode=="real"?e.value.slice(0):n.intoMultiplexMode=="placeholder"?n.placeholderValue:n.defaultValue,o=Il(e),a,s=i.length;o<t;o++)if(e.value.push([Fs.PROPERTY_VALUE,xl.COMMA]),Array.isArray(i))for(a=0;a<s;a++)e.value.push(r?i[a]:[Fs.PROPERTY_VALUE,i[a]]);else e.value.push(r?i:[Fs.PROPERTY_VALUE,i])}function Il(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==xl.COMMA&&t++;return t+1}function Hd(e){var t=[Fs.PROPERTY,[Fs.PROPERTY_NAME,e.name]].concat(e.value);return K2([t],0).length}function $2(e,t,n){for(var r=0,i=t;i>=0&&(e[i].name==n&&!e[i].unused&&r++,!(r>1));i--);return r>1}function Xd(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!kl(t.isUrl,e.components[n])&&kl(t.isFunction,e.components[n]))return!0;return!1}function kl(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=xl.COMMA&&e(t.value[n][1]))return!0;return!1}function j2(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n=e.multiplex?e:t,r=e.multiplex?t:e,i,o=yb(n);Wd([o],Gd);var a=yb(r);Wd([a],Gd);var s=Hd(o)+1+Hd(a);e.multiplex?(i=Ua(o,a),Tb(i,a)):(i=Ua(a,o),jd(a,Il(o)),Ab(i,o)),Wd([a],Gd);var c=Hd(a);return s<=c}function Eb(e){return e.name in si}function Y2(e,t){return!e.multiplex&&(e.name=="background"||e.name=="background-image")&&t.multiplex&&(t.name=="background"||t.name=="background-image")&&Q2(t.value)}function Q2(e){for(var t=J2(e),n=0,r=t.length;n<r;n++)if(t[n].length==1&&t[n][0][1]=="none")return!0;return!1}function J2(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var o=e[n];o[1]==xl.COMMA?(t.push(r),r=[]):r.push(o)}return t.push(r),t}function Z2(e,t,n,r){var i,o,a,s,c,d,p,m,g,b,h;e:for(g=e.length-1;g>=0;g--)if(o=e[g],!!Eb(o)&&!o.block){i=si[o.name].canOverride||ea;t:for(b=g-1;b>=0;b--)if(a=e[b],!!Eb(a)&&!a.block&&!(a.dynamic||o.dynamic)&&!(a.unused||o.unused)&&!(a.hack&&!o.hack&&!o.important||!a.hack&&!a.important&&o.hack)&&!(a.important==o.important&&a.hack[0]!=o.hack[0])&&!(a.important==o.important&&(a.hack[0]!=o.hack[0]||a.hack[1]&&a.hack[1]!=o.hack[1]))&&!qd(o)&&!Y2(a,o)){if(o.shorthand&&zd(o,a)){if(!o.important&&a.important||!Sb([a],o.components)||!kl(r.isFunction,a)&&Xd(o,r))continue;if(!Kd(o)){a.unused=!0;continue}s=Ua(o,a),i=si[a.name].canOverride||ea,Zo(i.bind(null,r),a,s)&&(a.unused=!0)}else if(o.shorthand&&q2(o,a)){if(!o.important&&a.important||!Sb([a],o.components)||!kl(r.isFunction,a)&&Xd(o,r))continue;for(c=a.shorthand?a.components:[a],h=c.length-1;h>=0;h--)if(d=c[h],p=Ua(o,d),i=si[d.name].canOverride||ea,!Zo(i.bind(null,r),a,p))continue t;a.unused=!0}else if(t&&a.shorthand&&!o.shorthand&&zd(a,o,!0)){if(o.important&&!a.important)continue;if(!o.important&&a.important){o.unused=!0;continue}if($2(e,g-1,a.name)||Xd(a,r)||!Kd(a)||vb(a)||vb(o))continue;if(s=Ua(a,o),Zo(i.bind(null,r),s,o)){var w=!n.properties.backgroundClipMerging&&s.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&s.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&s.name.indexOf("background-size")>-1,l=si[o.name].nonMergeableValue===o.value[0][1];if(w||l||!n.properties.merging&&G2(a,r)||s.value[0][1]!=o.value[0][1]&&(qd(a)||qd(o))||j2(a,o))continue;!a.multiplex&&o.multiplex&&jd(a,Il(o)),$d(s,o),a.dirty=!0}}else if(t&&a.shorthand&&o.shorthand&&a.name==o.name){if(!a.multiplex&&o.multiplex)continue;if(!o.important&&a.important){o.unused=!0;continue e}if(o.important&&!a.important){a.unused=!0;continue}if(!Kd(o)){a.unused=!0;continue}for(h=a.components.length-1;h>=0;h--){var u=a.components[h],v=o.components[h];if(i=si[u.name].canOverride||ea,!Zo(i.bind(null,r),u,v))continue e}H2(a,o),a.dirty=!0}else if(t&&a.shorthand&&o.shorthand&&zd(a,o)){if(!a.important&&o.important||(s=Ua(a,o),i=si[o.name].canOverride||ea,!Zo(i.bind(null,r),s,o)))continue;if(a.important&&!o.important){o.unused=!0;continue}var y=si[o.name].restore(o,si);if(y.length>1)continue;s=Ua(a,o),$d(s,o),o.dirty=!0}else if(a.name==o.name){if(m=!0,o.shorthand)for(h=o.components.length-1;h>=0&&m;h--)d=a.components[h],p=o.components[h],i=si[p.name].canOverride||ea,m=Zo(i.bind(null,r),d,p);else i=si[o.name].canOverride||ea,m=Zo(i.bind(null,r),a,o);if(a.important&&!o.important&&m){o.unused=!0;continue}if(!a.important&&o.important&&m){a.unused=!0;continue}if(!m)continue;a.unused=!0}}}}wb.exports=Z2});var Bu=z((J7,Ob)=>{var eI=ob(),tI=Db(),nI=wl(),rI=Dl(),iI=Na().all,oI=bd(),aI=Cs(),sI=On().OptimizationLevel;function Cb(e,t,n,r){var i=r.options.level[sI.Two],o=iI(e,i.skipProperties),a,s,c;for(nI(o,r.validator,r.warnings),s=0,c=o.length;s<c;s++)a=o[s],a.block&&Cb(a.value[0][1],t,n,r);n&&i.mergeIntoShorthands&&eI(o,r.validator),t&&i.overrideProperties&&tI(o,n,r.options.compatibility,r.validator),aI(o,rI),oI(o)}Ob.exports=Cb});var Pb=z((Z7,Ib)=>{var kb=Fu(),uI=Bu(),cI=rl(),lI=al(),fI=On().OptimizationLevel,xb=kn().body,Pl=kn().rules,Yd=Zt();function dI(e,t){for(var n=[null,[],[]],r=t.options,i=r.compatibility.selectors.adjacentSpace,o=r.level[fI.One].selectorsSortingMethod,a=r.compatibility.selectors.mergeablePseudoClasses,s=r.compatibility.selectors.mergeablePseudoElements,c=r.compatibility.selectors.mergeLimit,d=r.compatibility.selectors.multiplePseudoMerging,p=0,m=e.length;p<m;p++){var g=e[p];if(g[0]!=Yd.RULE){n=[null,[],[]];continue}n[0]==Yd.RULE&&Pl(g[1])==Pl(n[1])?(Array.prototype.push.apply(n[2],g[2]),uI(n[2],!0,!0,t),g[2]=[]):n[0]==Yd.RULE&&xb(g[2])==xb(n[2])&&kb(Pl(g[1]),a,s,d)&&kb(Pl(n[1]),a,s,d)&&n[1].length<c?(n[1]=lI(n[1].concat(g[1]),!1,i,!1,t.warnings),n[1]=n.length>1?cI(n[1],o):n[1],g[2]=[]):n=g}}Ib.exports=dI});var Qd=z((ez,Fb)=>{var pI=/--.+$/;function mI(e,t,n){var r,i,o,a,s,c;for(o=0,a=e.length;o<a;o++)for(r=e[o][1],s=0,c=t.length;s<c;s++)if(i=t[s][1],r==i||n&&Nb(r)==Nb(i))return!0;return!1}function Nb(e){return e.replace(pI,"")}Fb.exports=mI});var Lb=z((tz,Mb)=>{var No=Ar(),Uu={ADJACENT_SIBLING:"+",DESCENDANT:">",DOT:".",HASH:"#",NON_ADJACENT_SIBLING:"~",PSEUDO:":"},hI=/[a-zA-Z]/,_I=":not(",gI=/[\s,(>~+]/;function bI(e){var t=[0,0,0],n,r,i,o,a=0,s,c=!1,d=!1,p,m;for(p=0,m=e.length;p<m;p++){if(n=e[p],!r)if(n==No.SINGLE_QUOTE&&!o&&!i)i=!0;else if(n==No.SINGLE_QUOTE&&!o&&i)i=!1;else if(n==No.DOUBLE_QUOTE&&!o&&!i)o=!0;else if(n==No.DOUBLE_QUOTE&&o&&!i)o=!1;else{if(i||o)continue;a>0&&!c||(n==No.OPEN_ROUND_BRACKET?a++:n==No.CLOSE_ROUND_BRACKET&&a==1?(a--,c=!1):n==No.CLOSE_ROUND_BRACKET?a--:n==Uu.HASH?t[0]++:n==Uu.DOT||n==No.OPEN_SQUARE_BRACKET?t[1]++:n==Uu.PSEUDO&&!d&&!vI(e,p)?(t[1]++,c=!1):n==Uu.PSEUDO?c=!0:(p===0||s)&&hI.test(n)&&t[2]++)}r=n==No.BACK_SLASH,d=n==Uu.PSEUDO,s=!r&&gI.test(n)}return t}function vI(e,t){return e.indexOf(_I,t)===t}Mb.exports=bI});var Vb=z((nz,Ub)=>{var SI=Lb();function yI(e,t,n){var r,i,o,a,s,c;for(o=0,a=e.length;o<a;o++)for(r=Bb(e[o][1],n),s=0,c=t.length;s<c;s++)if(i=Bb(t[s][1],n),r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2])return!0;return!1}function Bb(e,t){var n;return e in t||(t[e]=n=SI(e)),n||t[e]}Ub.exports=yI});var Vu=z((rz,jb)=>{var EI=Qd(),TI=Vb(),qb=/align-items|box-align|box-pack|flex|justify/,zb=/^border-(top|right|bottom|left|color|style|width|radius)/;function AI(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!$b(e[i],t[r],n))return!1;return!0}function $b(e,t,n){var r=e[0],i=e[1],o=e[2],a=e[5],s=e[6],c=t[0],d=t[1],p=t[2],m=t[5],g=t[6];return r=="font"&&c=="line-height"||c=="font"&&r=="line-height"||qb.test(r)&&qb.test(c)||o==p&&Kb(r)==Kb(c)&&Nl(r)^Nl(c)||o=="border"&&zb.test(p)&&(r=="border"||r==p||i!=d&&Gb(r,c))||p=="border"&&zb.test(o)&&(c=="border"||c==o||i!=d&&Gb(r,c))||o=="border"&&p=="border"&&r!=c&&(Wb(r)&&Hb(c)||Hb(r)&&Wb(c))?!1:!!(o!=p||r==c&&o==p&&(i==d||RI(i,d))||r!=c&&o==p&&r!=o&&c!=p||r!=c&&o==p&&i==d||g&&s&&!Xb(o)&&!Xb(p)&&!EI(m,a,!1)||!TI(a,m,n))}function Nl(e){return/^-(?:moz|webkit|ms|o)-/.test(e)}function Kb(e){return e.replace(/^-(?:moz|webkit|ms|o)-/,"")}function Gb(e,t){return e.split("-").pop()==t.split("-").pop()}function Wb(e){return e=="border-top"||e=="border-right"||e=="border-bottom"||e=="border-left"}function Hb(e){return e=="border-color"||e=="border-style"||e=="border-width"}function RI(e,t){return Nl(e)&&Nl(t)&&e.split("-")[1]!=t.split("-")[2]}function Xb(e){return e=="font"||e=="line-height"||e=="list-style"}jb.exports={canReorder:AI,canReorderSingle:$b}});var Fl=z((iz,Qb)=>{var Jd=Zt(),wI=kn().rules,DI=kn().value;function Yb(e){var t=[],n,r,i,o,a,s;if(e[0]==Jd.RULE)for(n=!/[.+>~]/.test(wI(e[1])),a=0,s=e[2].length;a<s;a++)r=e[2][a],r[0]==Jd.PROPERTY&&(i=r[1][1],i.length!==0&&(o=DI(r,a),t.push([i,o,CI(i),e[2][a],i+":"+o,e[1],n])));else if(e[0]==Jd.NESTED_BLOCK)for(a=0,s=e[2].length;a<s;a++)t=t.concat(Yb(e[2][a]));return t}function CI(e){return e=="list-style"?e:e.indexOf("-radius")>0?"border-radius":e=="border-collapse"||e=="border-spacing"||e=="border-image"?e:e.indexOf("border-")===0&&/^border-\w+-\w+$/.test(e)?e.match(/border-\w+/)[0]:e.indexOf("border-")===0&&/^border-\w+$/.test(e)?"border":e.indexOf("text-")===0||e=="-chrome-"?e:e.replace(/^-\w+-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}Qb.exports=Yb});var ev=z((oz,Zb)=>{var OI=Vu().canReorder,kI=Vu().canReorderSingle,Jb=Fl(),xI=Qd(),II=kn().rules,PI=On().OptimizationLevel,NI=Zt();function FI(e,t){for(var n=t.options.level[PI.Two].mergeSemantically,r=t.cache.specificity,i={},o=[],a=e.length-1;a>=0;a--){var s=e[a];if(s[0]==NI.NESTED_BLOCK){var c=II(s[1]),d=i[c];d||(d=[],i[c]=d),d.push(a)}}for(var p in i){var m=i[p];e:for(var g=m.length-1;g>0;g--){var b=m[g],h=e[b],w=m[g-1],l=e[w];t:for(var u=1;u>=-1;u-=2){for(var v=u==1,y=v?b+1:w-1,S=v?w:b,C=v?1:-1,f=v?h:l,_=v?l:h,T=Jb(f);y!=S;){var O=Jb(e[y]);if(y+=C,!(n&&MI(T,O,r))&&!OI(T,O,r))continue t}_[2]=v?f[2].concat(_[2]):_[2].concat(f[2]),f[2]=[],o.push(_);continue e}}}return o}function MI(e,t,n){var r,i,o,a,s,c,d,p;for(s=0,c=e.length;s<c;s++)for(r=e[s],i=r[5],d=0,p=t.length;d<p;d++)if(o=t[d],a=o[5],xI(i,a,!0)&&!kI(r,o,n))return!1;return!0}Zb.exports=FI});var av=z((az,ov)=>{var tv=Fu(),LI=rl(),BI=al(),nv=On().OptimizationLevel,rv=kn().body,Ms=kn().rules,UI=Zt();function VI(e){return/\.|\*| :/.test(e)}function qI(e){var t=Ms(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function iv(e){return e.replace(/--[^ ,>+~:]+/g,"")}function zI(e,t){var n=iv(Ms(e[1]));for(var r in t){var i=t[r],o=iv(Ms(i[1]));(o.indexOf(n)>-1||n.indexOf(o)>-1)&&delete t[r]}}function KI(e,t){for(var n=t.options,r=n.level[nv.Two].mergeSemantically,i=n.compatibility.selectors.adjacentSpace,o=n.level[nv.One].selectorsSortingMethod,a=n.compatibility.selectors.mergeablePseudoClasses,s=n.compatibility.selectors.mergeablePseudoElements,c=n.compatibility.selectors.multiplePseudoMerging,d={},p=e.length-1;p>=0;p--){var m=e[p];if(m[0]==UI.RULE){m[2].length>0&&!r&&VI(Ms(m[1]))&&(d={}),m[2].length>0&&r&&qI(m)&&zI(m,d);var g=rv(m[2]),b=d[g];b&&tv(Ms(m[1]),a,s,c)&&tv(Ms(b[1]),a,s,c)&&(m[2].length>0?(m[1]=BI(b[1].concat(m[1]),!1,i,!1,t.warnings),m[1]=m[1].length>1?LI(m[1],o):m[1]):m[1]=b[1].concat(m[1]),b[2]=[],d[g]=null),d[rv(m[2])]=m}}}ov.exports=KI});var lv=z((sz,cv)=>{var sv=Vu().canReorder,uv=Fl(),GI=Bu(),WI=kn().rules,HI=Zt();function XI(e,t){var n=t.cache.specificity,r={},i=[],o;for(o=e.length-1;o>=0;o--)if(e[o][0]==HI.RULE&&e[o][2].length!==0){var a=WI(e[o][1]);r[a]=[o].concat(r[a]||[]),r[a].length==2&&i.push(a)}for(o=i.length-1;o>=0;o--){var s=r[i[o]];e:for(var c=s.length-1;c>0;c--){var d=s[c-1],p=e[d],m=s[c],g=e[m];t:for(var b=1;b>=-1;b-=2){for(var h=b==1,w=h?d+1:m-1,l=h?m:d,u=h?1:-1,v=h?p:g,y=h?g:p,S=uv(v);w!=l;){var C=uv(e[w]);w+=u;var f=h?sv(S,C,n):sv(C,S,n);if(!f&&!h)continue e;if(!f&&h)continue t}h?(Array.prototype.push.apply(v[2],y[2]),y[2]=v[2]):Array.prototype.push.apply(y[2],v[2]),GI(y[2],!0,!0,t),v[2]=[]}}}}cv.exports=XI});var Zd=z((uz,dv)=>{function fv(e){for(var t=e.slice(0),n=0,r=t.length;n<r;n++)Array.isArray(t[n])&&(t[n]=fv(t[n]));return t}dv.exports=fv});var gv=z((cz,_v)=>{var mv=Fu(),$I=Bu(),jI=Zd(),YI=Zt(),pv=kn().body,QI=kn().rules;function JI(e,t){for(var n=t.options,r=n.compatibility.selectors.mergeablePseudoClasses,i=n.compatibility.selectors.mergeablePseudoElements,o=n.compatibility.selectors.multiplePseudoMerging,a={},s=[],c=e.length-1;c>=0;c--){var d=e[c];if(d[0]==YI.RULE&&d[2].length!==0)for(var p=QI(d[1]),m=d[1].length>1&&mv(p,r,i,o),g=ZI(d[1]),b=m?[p].concat(g):[p],h=0,w=b.length;h<w;h++){var l=b[h];a[l]?s.push(l):a[l]=[],a[l].push({where:c,list:g,isPartial:m&&h>0,isComplex:m&&h===0})}}eP(e,s,a,n,t),tP(e,a,n,t)}function ZI(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function eP(e,t,n,r,i){function o(m,g){return p[m].isPartial&&g.length===0}function a(m,g,b,h){p[b-h-1].isPartial||(m[2]=g)}for(var s=0,c=t.length;s<c;s++){var d=t[s],p=n[d];hv(e,p,{filterOut:o,callback:a},r,i)}}function tP(e,t,n,r){var i=n.compatibility.selectors.mergeablePseudoClasses,o=n.compatibility.selectors.mergeablePseudoElements,a=n.compatibility.selectors.multiplePseudoMerging,s={};function c(S){return s.data[S].where<s.intoPosition}function d(S,C,f,_){_===0&&s.reducedBodies.push(C)}e:for(var p in t){var m=t[p];if(m[0].isComplex){var g=m[m.length-1].where,b=e[g],h=[],w=mv(p,i,o,a)?m[0].list:[p];s.intoPosition=g,s.reducedBodies=h;for(var l=0,u=w.length;l<u;l++){var v=w[l],y=t[v];if(y.length<2||(s.data=y,hv(e,y,{filterOut:c,callback:d},n,r),pv(h[h.length-1])!=pv(h[0])))continue e}b[2]=h[0]}}}function hv(e,t,n,r,i){for(var o=[],a=[],s=[],c=t.length-1;c>=0;c--)if(!n.filterOut(c,o)){var d=t[c].where,p=e[d],m=jI(p[2]);o=o.concat(m),a.push(m),s.push(d)}$I(o,!0,!1,i);for(var g=s.length,b=o.length-1,h=g-1;h>=0;){if((h===0||o[b]&&a[h].indexOf(o[b])>-1)&&b>-1){b--;continue}var w=o.splice(b+1);n.callback(e[s[h]],w,g,h),h--}}_v.exports=JI});var vv=z((lz,bv)=>{var nP=Zt(),rP=kn().all,iP="@font-face";function oP(e){var t=[],n,r,i,o;for(i=0,o=e.length;i<o;i++)n=e[i],!(n[0]!=nP.AT_RULE_BLOCK&&n[1][0][1]!=iP)&&(r=rP([n]),t.indexOf(r)>-1?n[2]=[]:t.push(r))}bv.exports=oP});var yv=z((fz,Sv)=>{var aP=Zt(),sP=kn().all,uP=kn().rules;function cP(e){var t={},n,r,i,o,a;for(o=0,a=e.length;o<a;o++)r=e[o],r[0]==aP.NESTED_BLOCK&&(i=uP(r[1])+"%"+sP(r[2]),n=t[i],n&&(n[2]=[]),t[i]=r)}Sv.exports=cP});var Tv=z((dz,Ev)=>{var lP=Zt(),fP=kn().body,dP=kn().rules;function pP(e){for(var t={},n=[],r,i,o,a,s=0,c=e.length;s<c;s++)i=e[s],i[0]==lP.RULE&&(r=dP(i[1]),t[r]&&t[r].length==1?n.push(r):t[r]=t[r]||[],t[r].push(s));for(s=0,c=n.length;s<c;s++){r=n[s],a=[];for(var d=t[r].length-1;d>=0;d--)i=e[t[r][d]],o=fP(i[2]),a.indexOf(o)>-1?i[2]=[]:a.push(o)}}Ev.exports=pP});var wv=z((pz,Rv)=>{var tp=wl(),np=Na().single,rp=Cs(),Va=Zt(),mP=/^(-moz-|-o-|-webkit-)?animation-name$/,hP=/^(-moz-|-o-|-webkit-)?animation$/,_P=/^@(-moz-|-o-|-webkit-)?keyframes /,gP=/\s{0,31}!important$/,bP=/^(['"]?)(.*)\1$/;function ep(e){return e.replace(bP,"$2").replace(gP,"")}function vP(e,t){Ml(e,SP,yP,t),Ml(e,EP,TP,t),Ml(e,AP,RP,t),Ml(e,wP,DP,t)}function Ml(e,t,n,r){var i={},o,a,s,c,d,p;for(d=0,p=e.length;d<p;d++)t(e[d],i);if(Object.keys(i).length!==0){Av(e,n,i,r);for(o in i)for(a=i[o],d=0,p=a.length;d<p;d++)s=a[d],c=s[0]==Va.AT_RULE?1:2,s[c]=[]}}function Av(e,t,n,r){var i=t(n),o,a;for(o=0,a=e.length;o<a;o++)switch(e[o][0]){case Va.RULE:i(e[o],r);break;case Va.NESTED_BLOCK:Av(e[o][2],t,n,r)}}function SP(e,t){var n;e[0]==Va.AT_RULE_BLOCK&&e[1][0][1].indexOf("@counter-style")===0&&(n=e[1][0][1].split(" ")[1],t[n]=t[n]||[],t[n].push(e))}function yP(e){return function(t,n){var r,i,o,a;for(o=0,a=t[2].length;o<a;o++)r=t[2][o],r[1][1]=="list-style"&&(i=np(r),tp([i],n.validator,n.warnings),i.components[0].value[0][1]in e&&delete e[r[2][1]],rp([i])),r[1][1]=="list-style-type"&&r[2][1]in e&&delete e[r[2][1]]}}function EP(e,t){var n,r,i,o;if(e[0]==Va.AT_RULE_BLOCK&&e[1][0][1]=="@font-face"){for(i=0,o=e[2].length;i<o;i++)if(n=e[2][i],n[1][1]=="font-family"){r=ep(n[2][1].toLowerCase()),t[r]=t[r]||[],t[r].push(e);break}}}function TP(e){return function(t,n){var r,i,o,a,s,c,d,p;for(s=0,c=t[2].length;s<c;s++){if(r=t[2][s],r[1][1]=="font"){for(i=np(r),tp([i],n.validator,n.warnings),o=i.components[6],d=0,p=o.value.length;d<p;d++)a=ep(o.value[d][1].toLowerCase()),a in e&&delete e[a];rp([i])}if(r[1][1]=="font-family")for(d=2,p=r.length;d<p;d++)a=ep(r[d][1].toLowerCase()),a in e&&delete e[a]}}}function AP(e,t){var n;e[0]==Va.NESTED_BLOCK&&_P.test(e[1][0][1])&&(n=e[1][0][1].split(" ")[1],t[n]=t[n]||[],t[n].push(e))}function RP(e){return function(t,n){var r,i,o,a,s,c,d;for(a=0,s=t[2].length;a<s;a++){if(r=t[2][a],hP.test(r[1][1])){for(i=np(r),tp([i],n.validator,n.warnings),o=i.components[7],c=0,d=o.value.length;c<d;c++)o.value[c][1]in e&&delete e[o.value[c][1]];rp([i])}if(mP.test(r[1][1]))for(c=2,d=r.length;c<d;c++)r[c][1]in e&&delete e[r[c][1]]}}}function wP(e,t){var n;e[0]==Va.AT_RULE&&e[1].indexOf("@namespace")===0&&(n=e[1].split(" ")[1],t[n]=t[n]||[],t[n].push(e))}function DP(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,i,o,a,s,c,d;for(a=0,s=n[1].length;a<s;a++)for(i=n[1][a],r=i[1].match(t),c=0,d=r.length;c<d;c++)o=r[c].substring(0,r[c].length-1),o in e&&delete e[o]}}Rv.exports=vP});var Cv=z((mz,Dv)=>{function CP(e,t){return e[1]>t[1]?1:-1}function OP(e){for(var t=[],n=[],r=0,i=e.length;r<i;r++){var o=e[r];n.indexOf(o[1])==-1&&(n.push(o[1]),t.push(o))}return t.sort(CP)}Dv.exports=OP});var Iv=z((hz,xv)=>{var Ov=Vu().canReorderSingle,kP=Fl(),xP=Fu(),kv=Cv(),Ls=Zt(),IP=Zd(),PP=kn().body,ip=kn().rules;function NP(e,t){return e>t?1:-1}function FP(e,t){var n=IP(e);return n[5]=n[5].concat(t[5]),n}function MP(e,t){var n=t.options,r=n.compatibility.selectors.mergeablePseudoClasses,i=n.compatibility.selectors.mergeablePseudoElements,o=n.compatibility.selectors.mergeLimit,a=n.compatibility.selectors.multiplePseudoMerging,s=t.cache.specificity,c={},d=[],p={},m=[],g=2,b="%";function h(ye,fe,xe){for(var F=xe.length-1;F>=0;F--){var H=xe[F][0],j=w(fe,H);if(p[j].length>1&&N(ye,p[j])){l(j);break}}}function w(ye,fe){var xe=u(fe);return p[xe]=p[xe]||[],p[xe].push([ye,fe]),xe}function l(ye){var fe=ye.split(b),xe=[],F;for(var H in p){var j=H.split(b);for(F=j.length-1;F>=0;F--)if(fe.indexOf(j[F])>-1){xe.push(H);break}}for(F=xe.length-1;F>=0;F--)delete p[xe[F]]}function u(ye){for(var fe=[],xe=0,F=ye.length;xe<F;xe++)fe.push(ip(ye[xe][1]));return fe.join(b)}function v(ye){for(var fe=[],xe=[],F=ye.length-1;F>=0;F--)xP(ip(ye[F][1]),r,i,a)&&(xe.unshift(ye[F]),ye[F][2].length>0&&fe.indexOf(ye[F])==-1&&fe.push(ye[F]));return fe.length>1?xe:[]}function y(ye,fe){var xe=fe[0],F=fe[1],H=fe[4],j=xe.length+F.length+1,Ie=[],Ke=[],et=v(c[H]);if(!(et.length<2)){var Ut=C(et,j,1),Et=Ut[0];if(Et[1]>0)return h(ye,fe,Ut);for(var Vt=Et[0].length-1;Vt>=0;Vt--)Ie=Et[0][Vt][1].concat(Ie),Ke.unshift(Et[0][Vt]);Ie=kv(Ie),T(ye,[fe],Ie,Ke)}}function S(ye,fe){return ye[1]>fe[1]?1:ye[1]==fe[1]?0:-1}function C(ye,fe,xe){var F=f(ye,fe,xe,g-1);return F.sort(S)}function f(ye,fe,xe,F){var H=[[ye,_(ye,fe,xe)]];if(ye.length>2&&F>0)for(var j=ye.length-1;j>=0;j--){var Ie=Array.prototype.slice.call(ye,0);Ie.splice(j,1),H=H.concat(f(Ie,fe,xe,F-1))}return H}function _(ye,fe,xe){for(var F=0,H=ye.length-1;H>=0;H--)F+=ye[H][2].length>xe?ip(ye[H][1]).length:-1;return F-(ye.length-1)*fe+1}function T(ye,fe,xe,F){var H,j,Ie,Ke,et=[];for(H=F.length-1;H>=0;H--){var Ut=F[H];for(j=Ut[2].length-1;j>=0;j--){var Et=Ut[2][j];for(Ie=0,Ke=fe.length;Ie<Ke;Ie++){var Vt=fe[Ie],Dt=Et[1][1],qt=Vt[0],Cn=Vt[4];if(Dt==qt&&PP([Et])==Cn){Ut[2].splice(j,1);break}}}}for(H=fe.length-1;H>=0;H--)et.unshift(fe[H][3]);var ls=[Ls.RULE,xe,et];e.splice(ye,0,ls)}function O(ye,fe){var xe=fe[4],F=c[xe];F&&F.length>1&&(A(ye,fe)||y(ye,fe))}function A(ye,fe){var xe=[],F=[],H=fe[4],j,Ie,Ke=v(c[H]);if(!(Ke.length<2)){e:for(var et in c){var Ut=c[et];for(j=Ke.length-1;j>=0;j--)if(Ut.indexOf(Ke[j])==-1)continue e;xe.push(et)}if(xe.length<2)return!1;for(j=xe.length-1;j>=0;j--)for(Ie=d.length-1;Ie>=0;Ie--)if(d[Ie][4]==xe[j]){F.unshift([d[Ie],Ke]);break}return N(ye,F)}}function N(ye,fe){for(var xe=0,F=[],H,j=fe.length-1;j>=0;j--){H=fe[j][0];var Ie=H[4];xe+=Ie.length+(j>0?1:0),F.push(H)}var Ke=fe[0][1],et=C(Ke,xe,F.length)[0];if(et[1]>0)return!1;var Ut=[],Et=[];for(j=et[0].length-1;j>=0;j--)Ut=et[0][j][1].concat(Ut),Et.unshift(et[0][j]);for(Ut=kv(Ut),T(ye,F,Ut,Et),j=F.length-1;j>=0;j--){H=F[j];var Vt=d.indexOf(H);delete c[H[4]],Vt>-1&&m.indexOf(Vt)==-1&&m.push(Vt)}return!0}function P(ye,fe,xe){var F=ye[0],H=fe[0];if(F!=H)return!1;var j=fe[4],Ie=c[j];return Ie&&Ie.indexOf(xe)>-1}for(var L=e.length-1;L>=0;L--){var W=e[L],ae,Z,ke,Ve,Be;if(W[0]==Ls.RULE)ae=!0;else if(W[0]==Ls.NESTED_BLOCK)ae=!1;else continue;var ge=d.length,Qt=kP(W);m=[];var J=[];for(Z=Qt.length-1;Z>=0;Z--)for(ke=Z-1;ke>=0;ke--)if(!Ov(Qt[Z],Qt[ke],s)){J.push(Z);break}for(Z=Qt.length-1;Z>=0;Z--){var De=Qt[Z],V=!1;for(ke=0;ke<ge;ke++){var q=d[ke];m.indexOf(ke)==-1&&(!Ov(De,q,s)&&!P(De,q,W)||c[q[4]]&&c[q[4]].length===o)&&(O(L+1,q),m.indexOf(ke)==-1&&(m.push(ke),delete c[q[4]])),V||(V=De[0]==q[0]&&De[1]==q[1],V&&(Be=ke))}if(!(!ae||J.indexOf(Z)>-1)){var Q=De[4];V&&d[Be][5].length+De[5].length>o?(O(L+1,d[Be]),d.splice(Be,1),c[Q]=[W],V=!1):(c[Q]=c[Q]||[],c[Q].push(W)),V?d[Be]=FP(d[Be],De):d.push(De)}}for(m=m.sort(NP),Z=0,Ve=m.length;Z<Ve;Z++){var $=m[Z]-Z;d.splice($,1)}}for(var te=e[0]&&e[0][0]==Ls.AT_RULE&&e[0][1].indexOf("@charset")===0?1:0;te<e.length-1;te++){var it=e[te][0]===Ls.AT_RULE&&e[te][1].indexOf("@import")===0,Vn=e[te][0]===Ls.COMMENT;if(!(it||Vn))break}for(L=0;L<d.length;L++)O(te,d[L])}xv.exports=MP});var Bv=z((_z,Lv)=>{var Pv=Pb(),LP=ev(),BP=av(),UP=lv(),VP=gv(),qP=vv(),zP=yv(),KP=Tv(),GP=wv(),Nv=Iv(),WP=Bu(),HP=On().OptimizationLevel,qa=Zt();function Fv(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=!1;switch(r[0]){case qa.RULE:i=r[1].length===0||r[2].length===0;break;case qa.NESTED_BLOCK:Fv(r[2]),i=r[2].length===0;break;case qa.AT_RULE:i=r[1].length===0;break;case qa.AT_RULE_BLOCK:i=r[2].length===0}i&&(e.splice(t,1),t--,n--)}}function XP(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==qa.NESTED_BLOCK){var o=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);op(i[2],t,!o)}}}function Mv(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case qa.RULE:WP(i[2],!0,!0,t);break;case qa.NESTED_BLOCK:Mv(i[2],t)}}}function op(e,t,n){var r=t.options.level[HP.Two],i=t.options.plugins.level2Block,o,a;if(XP(e,t),Mv(e,t),r.removeDuplicateRules&&KP(e,t),r.mergeAdjacentRules&&Pv(e,t),r.reduceNonAdjacentRules&&VP(e,t),r.mergeNonAdjacentRules&&r.mergeNonAdjacentRules!="body"&&UP(e,t),r.mergeNonAdjacentRules&&r.mergeNonAdjacentRules!="selector"&&BP(e,t),r.restructureRules&&r.mergeAdjacentRules&&n&&(Nv(e,t),Pv(e,t)),r.restructureRules&&!r.mergeAdjacentRules&&n&&Nv(e,t),r.removeDuplicateFontRules&&qP(e,t),r.removeDuplicateMediaBlocks&&zP(e,t),r.removeUnusedAtRules&&GP(e,t),r.mergeMedia)for(o=LP(e,t),a=o.length-1;a>=0;a--)op(o[a][2],t,!1);for(a=0;a<i.length;a++)i[a](e);return r.removeEmpty&&Fv(e),e}Lv.exports=op});var jv=z((gz,$v)=>{var $P="[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)",jP="\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)",zv="var\\(\\-\\-[^\\)]+\\)",YP="("+zv+"|"+$P+"|"+jP+")",QP=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),JP=/[0-9]/,ZP=new RegExp("^"+YP+"$","i"),eN=/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i,tN=/^hsl\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\.?\d+\s{0,31}\)$/,nN=/^hsl\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{1,31}\/\s{1,31}\d*\.?\d+%?\s{0,31}\)$/,rN=/^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i,iN=/^[a-z]+$/i,oN=/^-([a-z0-9]|-)*$/i,aN=/^("[^"]*"|'[^']*')$/i,sN=/^rgb\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[.\d]+\s{0,31}\)$/i,uN=/^rgb\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}\/\s{1,31}[\d]*\.?[.\d]+%?\s{0,31}\)$/i,cN=/\d+(s|ms)/,lN=/^(cubic-bezier|steps)\([^)]+\)$/,fN=["ms","s"],dN=/^url\([\s\S]+\)$/i,pN=new RegExp("^"+zv+"$","i"),mN=/^#[0-9a-f]{8}$/i,hN=/^#[0-9a-f]{4}$/i,_N=/^#[0-9a-f]{6}$/i,gN=/^#[0-9a-f]{3}$/i,Uv=".",Vv="-",qv="+",bN={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"*-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},vN=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];function SN(e){return e!="auto"&&(zt("color")(e)||EN(e)||Kv(e)||DN(e))}function Kv(e){return Hv(e)||Wv(e)}function yN(e){return QP.test(e)}function Gv(e){return ZP.test(e)}function EN(e){return gN.test(e)||hN.test(e)||_N.test(e)||mN.test(e)}function Wv(e){return tN.test(e)||nN.test(e)}function TN(e){return eN.test(e)}function AN(e){return rN.test(e)}function RN(e){return aN.test(e)}function wN(e){return e=="none"||e=="inherit"||Xv(e)}function zt(e){return function(t){return bN[e].indexOf(t)>-1}}function DN(e){return iN.test(e)}function ap(e){return sp(e)==e.length}function Hv(e){return sN.test(e)||uN.test(e)}function CN(e){return oN.test(e)}function ON(e){return ap(e)&&parseFloat(e)>=0}function kN(e){return pN.test(e)}function xN(e){var t=sp(e);return t==e.length&&parseInt(e)===0||t>-1&&fN.indexOf(e.slice(t+1))>-1||IN(e)}function IN(e){return Gv(e)&&cN.test(e)}function PN(){var e=zt("*-timing-function");return function(t){return e(t)||lN.test(t)}}function NN(e,t){var n=sp(t);return n==t.length&&parseInt(t)===0||n>-1&&e.indexOf(t.slice(n+1).toLowerCase())>-1||t=="auto"||t=="inherit"}function Xv(e){return dN.test(e)}function FN(e){return e=="auto"||ap(e)||zt("^")(e)}function sp(e){var t=!1,n=!1,r,i,o;for(i=0,o=e.length;i<o;i++)if(r=e[i],i===0&&(r==qv||r==Vv))n=!0;else{if(i>0&&n&&(r==qv||r==Vv))return i-1;if(r==Uv&&!t)t=!0;else{if(r==Uv&&t)return i-1;if(JP.test(r))continue;return i-1}}return i}function MN(e){var t=vN.slice(0).filter(function(n){return!(n in e.units)||e.units[n]===!0});return e.customUnits.rpx&&t.push("rpx"),{colorOpacity:e.colors.opacity,colorHexAlpha:e.colors.hexAlpha,isAnimationDirectionKeyword:zt("animation-direction"),isAnimationFillModeKeyword:zt("animation-fill-mode"),isAnimationIterationCountKeyword:zt("animation-iteration-count"),isAnimationNameKeyword:zt("animation-name"),isAnimationPlayStateKeyword:zt("animation-play-state"),isTimingFunction:PN(),isBackgroundAttachmentKeyword:zt("background-attachment"),isBackgroundClipKeyword:zt("background-clip"),isBackgroundOriginKeyword:zt("background-origin"),isBackgroundPositionKeyword:zt("background-position"),isBackgroundRepeatKeyword:zt("background-repeat"),isBackgroundSizeKeyword:zt("background-size"),isColor:SN,isColorFunction:Kv,isDynamicUnit:yN,isFontKeyword:zt("font"),isFontSizeKeyword:zt("font-size"),isFontStretchKeyword:zt("font-stretch"),isFontStyleKeyword:zt("font-style"),isFontVariantKeyword:zt("font-variant"),isFontWeightKeyword:zt("font-weight"),isFunction:Gv,isGlobal:zt("^"),isHexAlphaColor:TN,isHslColor:Wv,isIdentifier:AN,isImage:wN,isKeyword:zt,isLineHeightKeyword:zt("line-height"),isListStylePositionKeyword:zt("list-style-position"),isListStyleTypeKeyword:zt("list-style-type"),isNumber:ap,isPrefixed:CN,isPositiveNumber:ON,isQuotedText:RN,isRgbColor:Hv,isStyleKeyword:zt("*-style"),isTime:xN,isUnit:NN.bind(null,t),isUrl:Xv,isVariable:kN,isWidth:zt("width"),isZIndex:FN}}$v.exports=MN});var Qv=z((bz,Yv)=>{var Lr={"*":{colors:{hexAlpha:!1,opacity:!0},customUnits:{rpx:!1},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!0,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};Lr.ie11=ta(Lr["*"],{properties:{ieSuffixHack:!0}});Lr.ie10=ta(Lr["*"],{properties:{ieSuffixHack:!0}});Lr.ie9=ta(Lr["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}});Lr.ie8=ta(Lr.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}});Lr.ie7=ta(Lr.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}});function LN(e){return ta(Lr["*"],BN(e))}function ta(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];Object.prototype.hasOwnProperty.call(t,n)&&typeof r=="object"&&!Array.isArray(r)?t[n]=ta(r,t[n]||{}):t[n]=n in t?t[n]:r}return t}function BN(e){if(typeof e=="object")return e;if(!/[,+-]/.test(e))return Lr[e]||Lr["*"];var t=e.split(","),n=t[0]in Lr?Lr[t.shift()]:Lr["*"];return e={},t.forEach(function(r){var i=r[0]=="+",o=r.substring(1).split("."),a=o[0],s=o[1];e[a]=e[a]||{},e[a][s]=i}),ta(n,e)}Yv.exports=LN});var Zv=z((vz,Jv)=>{var UN=/^http:\/\//;function VN(e){return UN.test(e)}Jv.exports=VN});var tS=z((Sz,eS)=>{var qN=/^https:\/\//;function zN(e){return qN.test(e)}eS.exports=zN});var oS=z((yz,iS)=>{var KN=Kn("http"),GN=Kn("https"),nS=Kn("url"),WN=Zv(),HN=tS(),XN=Ia(),$N="http:";function rS(e,t,n,r){var i=t.protocol||t.hostname,o=!1,a,s;a=XN(nS.parse(e),t||{}),t.hostname!==void 0&&(a.protocol=t.protocol||$N,a.path=a.href),s=i&&!HN(i)||WN(e)?KN.get:GN.get,s(a,function(c){var d=[],p;if(!o){if(c.statusCode<200||c.statusCode>399)return r(c.statusCode,null);if(c.statusCode>299)return p=nS.resolve(e,c.headers.location),rS(p,t,n,r);c.on("data",function(m){d.push(m.toString())}),c.on("end",function(){var m=d.join("");r(null,m)})}}).on("error",function(c){o||(o=!0,r(c.message,null))}).on("timeout",function(){o||(o=!0,r("timeout",null))}).setTimeout(n)}iS.exports=rS});var sS=z((Ez,aS)=>{var jN=oS();function YN(e){return e||jN}aS.exports=YN});var cS=z((Tz,uS)=>{function QN(e){return Array.isArray(e)?e:e===!1?["none"]:e===void 0?["local"]:e.split(",")}uS.exports=QN});var dS=z((Az,fS)=>{var lS=Kn("url"),JN=Ia();function ZN(e){return JN(eF(process.env.HTTP_PROXY||process.env.http_proxy),e||{})}function eF(e){return e?{hostname:lS.parse(e).hostname,port:parseInt(lS.parse(e).port)}:{}}fS.exports=ZN});var mS=z((Rz,pS)=>{var tF=5e3;function nF(e){return e||tF}pS.exports=nF});var _S=z((wz,hS)=>{function rF(e){var t={level1Value:[],level1Property:[],level2Block:[]};return e=e||[],t.level1Value=e.map(function(n){return n.level1&&n.level1.value}).filter(function(n){return n!=null}),t.level1Property=e.map(function(n){return n.level1&&n.level1.property}).filter(function(n){return n!=null}),t.level2Block=e.map(function(n){return n.level2&&n.level2.block}).filter(function(n){return n!=null}),t}hS.exports=rF});var bS=z((Dz,gS)=>{function iF(e,t){return t!==void 0?!0:e===void 0?!1:!!e}gS.exports=iF});var SS=z((Cz,vS)=>{var oF=Kn("path");function aF(e){return e?oF.resolve(e):process.cwd()}vS.exports=aF});var ES=z(up=>{var yS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");up.encode=function(e){if(0<=e&&e<yS.length)return yS[e];throw new TypeError("Must be between 0 and 63: "+e)};up.decode=function(e){var t=65,n=90,r=97,i=122,o=48,a=57,s=43,c=47,d=26,p=52;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+d:o<=e&&e<=a?e-o+p:e==s?62:e==c?63:-1}});var fp=z(lp=>{var TS=ES(),cp=5,AS=1<<cp,RS=AS-1,wS=AS;function sF(e){return e<0?(-e<<1)+1:(e<<1)+0}function uF(e){var t=(e&1)===1,n=e>>1;return t?-n:n}lp.encode=function(t){var n="",r,i=sF(t);do r=i&RS,i>>>=cp,i>0&&(r|=wS),n+=TS.encode(r);while(i>0);return n};lp.decode=function(t,n,r){var i=t.length,o=0,a=0,s,c;do{if(n>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=TS.decode(t.charCodeAt(n++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));s=!!(c&wS),c&=RS,o=o+(c<<a),a+=cp}while(s);r.value=uF(o),r.rest=n}});var Vs=z(Br=>{function cF(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw new Error('"'+t+'" is a required argument.')}Br.getArg=cF;var DS=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,lF=/^data:.+\,.+$/;function qu(e){var t=e.match(DS);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Br.urlParse=qu;function Bs(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}Br.urlGenerate=Bs;function dp(e){var t=e,n=qu(e);if(n){if(!n.path)return e;t=n.path}for(var r=Br.isAbsolute(t),i=t.split(/\/+/),o,a=0,s=i.length-1;s>=0;s--)o=i[s],o==="."?i.splice(s,1):o===".."?a++:a>0&&(o===""?(i.splice(s+1,a),a=0):(i.splice(s,2),a--));return t=i.join("/"),t===""&&(t=r?"/":"."),n?(n.path=t,Bs(n)):t}Br.normalize=dp;function CS(e,t){e===""&&(e="."),t===""&&(t=".");var n=qu(t),r=qu(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),Bs(n);if(n||t.match(lF))return t;if(r&&!r.host&&!r.path)return r.host=t,Bs(r);var i=t.charAt(0)==="/"?t:dp(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=i,Bs(r)):i}Br.join=CS;Br.isAbsolute=function(e){return e.charAt(0)==="/"||DS.test(e)};function fF(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var n=0;t.indexOf(e+"/")!==0;){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}Br.relative=fF;var OS=(function(){var e=Object.create(null);return!("__proto__"in e)})();function kS(e){return e}function dF(e){return xS(e)?"$"+e:e}Br.toSetString=OS?kS:dF;function pF(e){return xS(e)?e.slice(1):e}Br.fromSetString=OS?kS:pF;function xS(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function mF(e,t,n){var r=Us(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:Us(e.name,t.name)}Br.compareByOriginalPositions=mF;function hF(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=Us(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:Us(e.name,t.name)}Br.compareByGeneratedPositionsDeflated=hF;function Us(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _F(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=Us(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Us(e.name,t.name)}Br.compareByGeneratedPositionsInflated=_F;function gF(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}Br.parseSourceMapInput=gF;function bF(e,t,n){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),n){var r=qu(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}t=CS(Bs(r),t)}return dp(t)}Br.computeSourceURL=bF});var hp=z(IS=>{var pp=Vs(),mp=Object.prototype.hasOwnProperty,za=typeof Map<"u";function Fo(){this._array=[],this._set=za?new Map:Object.create(null)}Fo.fromArray=function(t,n){for(var r=new Fo,i=0,o=t.length;i<o;i++)r.add(t[i],n);return r};Fo.prototype.size=function(){return za?this._set.size:Object.getOwnPropertyNames(this._set).length};Fo.prototype.add=function(t,n){var r=za?t:pp.toSetString(t),i=za?this.has(t):mp.call(this._set,r),o=this._array.length;(!i||n)&&this._array.push(t),i||(za?this._set.set(t,o):this._set[r]=o)};Fo.prototype.has=function(t){if(za)return this._set.has(t);var n=pp.toSetString(t);return mp.call(this._set,n)};Fo.prototype.indexOf=function(t){if(za){var n=this._set.get(t);if(n>=0)return n}else{var r=pp.toSetString(t);if(mp.call(this._set,r))return this._set[r]}throw new Error('"'+t+'" is not in the set.')};Fo.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};Fo.prototype.toArray=function(){return this._array.slice()};IS.ArraySet=Fo});var FS=z(NS=>{var PS=Vs();function vF(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return r>n||r==n&&o>=i||PS.compareByGeneratedPositionsInflated(e,t)<=0}function Ll(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ll.prototype.unsortedForEach=function(t,n){this._array.forEach(t,n)};Ll.prototype.add=function(t){vF(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Ll.prototype.toArray=function(){return this._sorted||(this._array.sort(PS.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};NS.MappingList=Ll});var _p=z(MS=>{var zu=fp(),Xn=Vs(),Bl=hp().ArraySet,SF=FS().MappingList;function Fi(e){e||(e={}),this._file=Xn.getArg(e,"file",null),this._sourceRoot=Xn.getArg(e,"sourceRoot",null),this._skipValidation=Xn.getArg(e,"skipValidation",!1),this._sources=new Bl,this._names=new Bl,this._mappings=new SF,this._sourcesContents=null}Fi.prototype._version=3;Fi.fromSourceMap=function(t){var n=t.sourceRoot,r=new Fi({file:t.file,sourceRoot:n});return t.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,n!=null&&(o.source=Xn.relative(n,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),r.addMapping(o)}),t.sources.forEach(function(i){var o=i;n!==null&&(o=Xn.relative(n,i)),r._sources.has(o)||r._sources.add(o);var a=t.sourceContentFor(i);a!=null&&r.setSourceContent(i,a)}),r};Fi.prototype.addMapping=function(t){var n=Xn.getArg(t,"generated"),r=Xn.getArg(t,"original",null),i=Xn.getArg(t,"source",null),o=Xn.getArg(t,"name",null);this._skipValidation||this._validateMapping(n,r,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:o})};Fi.prototype.setSourceContent=function(t,n){var r=t;this._sourceRoot!=null&&(r=Xn.relative(this._sourceRoot,r)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Xn.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[Xn.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Fi.prototype.applySourceMap=function(t,n,r){var i=n;if(n==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var o=this._sourceRoot;o!=null&&(i=Xn.relative(o,i));var a=new Bl,s=new Bl;this._mappings.unsortedForEach(function(c){if(c.source===i&&c.originalLine!=null){var d=t.originalPositionFor({line:c.originalLine,column:c.originalColumn});d.source!=null&&(c.source=d.source,r!=null&&(c.source=Xn.join(r,c.source)),o!=null&&(c.source=Xn.relative(o,c.source)),c.originalLine=d.line,c.originalColumn=d.column,d.name!=null&&(c.name=d.name))}var p=c.source;p!=null&&!a.has(p)&&a.add(p);var m=c.name;m!=null&&!s.has(m)&&s.add(m)},this),this._sources=a,this._names=s,t.sources.forEach(function(c){var d=t.sourceContentFor(c);d!=null&&(r!=null&&(c=Xn.join(r,c)),o!=null&&(c=Xn.relative(o,c)),this.setSourceContent(c,d))},this)};Fi.prototype._validateMapping=function(t,n,r,i){if(n&&typeof n.line!="number"&&typeof n.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!n&&!r&&!i)){if(t&&"line"in t&&"column"in t&&n&&"line"in n&&"column"in n&&t.line>0&&t.column>=0&&n.line>0&&n.column>=0&&r)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:r,original:n,name:i}))}};Fi.prototype._serializeMappings=function(){for(var t=0,n=1,r=0,i=0,o=0,a=0,s="",c,d,p,m,g=this._mappings.toArray(),b=0,h=g.length;b<h;b++){if(d=g[b],c="",d.generatedLine!==n)for(t=0;d.generatedLine!==n;)c+=";",n++;else if(b>0){if(!Xn.compareByGeneratedPositionsInflated(d,g[b-1]))continue;c+=","}c+=zu.encode(d.generatedColumn-t),t=d.generatedColumn,d.source!=null&&(m=this._sources.indexOf(d.source),c+=zu.encode(m-a),a=m,c+=zu.encode(d.originalLine-1-i),i=d.originalLine-1,c+=zu.encode(d.originalColumn-r),r=d.originalColumn,d.name!=null&&(p=this._names.indexOf(d.name),c+=zu.encode(p-o),o=p)),s+=c}return s};Fi.prototype._generateSourcesContent=function(t,n){return t.map(function(r){if(!this._sourcesContents)return null;n!=null&&(r=Xn.relative(n,r));var i=Xn.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Fi.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};Fi.prototype.toString=function(){return JSON.stringify(this.toJSON())};MS.SourceMapGenerator=Fi});var LS=z(Ka=>{Ka.GREATEST_LOWER_BOUND=1;Ka.LEAST_UPPER_BOUND=2;function gp(e,t,n,r,i,o){var a=Math.floor((t-e)/2)+e,s=i(n,r[a],!0);return s===0?a:s>0?t-a>1?gp(a,t,n,r,i,o):o==Ka.LEAST_UPPER_BOUND?t<r.length?t:-1:a:a-e>1?gp(e,a,n,r,i,o):o==Ka.LEAST_UPPER_BOUND?a:e<0?-1:e}Ka.search=function(t,n,r,i){if(n.length===0)return-1;var o=gp(-1,n.length,t,n,r,i||Ka.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&r(n[o],n[o-1],!0)===0;)--o;return o}});var US=z(BS=>{function bp(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function yF(e,t){return Math.round(e+Math.random()*(t-e))}function vp(e,t,n,r){if(n<r){var i=yF(n,r),o=n-1;bp(e,i,r);for(var a=e[r],s=n;s<r;s++)t(e[s],a)<=0&&(o+=1,bp(e,o,s));bp(e,o+1,s);var c=o+1;vp(e,t,n,c-1),vp(e,t,c+1,r)}}BS.quickSort=function(e,t){vp(e,t,0,e.length-1)}});var qS=z(Ul=>{var ve=Vs(),Sp=LS(),qs=hp().ArraySet,EF=fp(),Ku=US().quickSort;function en(e,t){var n=e;return typeof e=="string"&&(n=ve.parseSourceMapInput(e)),n.sections!=null?new Xi(n,t):new Rr(n,t)}en.fromSourceMap=function(e,t){return Rr.fromSourceMap(e,t)};en.prototype._version=3;en.prototype.__generatedMappings=null;Object.defineProperty(en.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});en.prototype.__originalMappings=null;Object.defineProperty(en.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});en.prototype._charIsMappingSeparator=function(t,n){var r=t.charAt(n);return r===";"||r===","};en.prototype._parseMappings=function(t,n){throw new Error("Subclasses must implement _parseMappings")};en.GENERATED_ORDER=1;en.ORIGINAL_ORDER=2;en.GREATEST_LOWER_BOUND=1;en.LEAST_UPPER_BOUND=2;en.prototype.eachMapping=function(t,n,r){var i=n||null,o=r||en.GENERATED_ORDER,a;switch(o){case en.GENERATED_ORDER:a=this._generatedMappings;break;case en.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;a.map(function(c){var d=c.source===null?null:this._sources.at(c.source);return d=ve.computeSourceURL(s,d,this._sourceMapURL),{source:d,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(t,i)};en.prototype.allGeneratedPositionsFor=function(t){var n=ve.getArg(t,"line"),r={source:ve.getArg(t,"source"),originalLine:n,originalColumn:ve.getArg(t,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var i=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ve.compareByOriginalPositions,Sp.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(t.column===void 0)for(var s=a.originalLine;a&&a.originalLine===s;)i.push({line:ve.getArg(a,"generatedLine",null),column:ve.getArg(a,"generatedColumn",null),lastColumn:ve.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var c=a.originalColumn;a&&a.originalLine===n&&a.originalColumn==c;)i.push({line:ve.getArg(a,"generatedLine",null),column:ve.getArg(a,"generatedColumn",null),lastColumn:ve.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i};Ul.SourceMapConsumer=en;function Rr(e,t){var n=e;typeof e=="string"&&(n=ve.parseSourceMapInput(e));var r=ve.getArg(n,"version"),i=ve.getArg(n,"sources"),o=ve.getArg(n,"names",[]),a=ve.getArg(n,"sourceRoot",null),s=ve.getArg(n,"sourcesContent",null),c=ve.getArg(n,"mappings"),d=ve.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);a&&(a=ve.normalize(a)),i=i.map(String).map(ve.normalize).map(function(p){return a&&ve.isAbsolute(a)&&ve.isAbsolute(p)?ve.relative(a,p):p}),this._names=qs.fromArray(o.map(String),!0),this._sources=qs.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(p){return ve.computeSourceURL(a,p,t)}),this.sourceRoot=a,this.sourcesContent=s,this._mappings=c,this._sourceMapURL=t,this.file=d}Rr.prototype=Object.create(en.prototype);Rr.prototype.consumer=en;Rr.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=ve.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1};Rr.fromSourceMap=function(t,n){var r=Object.create(Rr.prototype),i=r._names=qs.fromArray(t._names.toArray(),!0),o=r._sources=qs.fromArray(t._sources.toArray(),!0);r.sourceRoot=t._sourceRoot,r.sourcesContent=t._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=t._file,r._sourceMapURL=n,r._absoluteSources=r._sources.toArray().map(function(b){return ve.computeSourceURL(r.sourceRoot,b,n)});for(var a=t._mappings.toArray().slice(),s=r.__generatedMappings=[],c=r.__originalMappings=[],d=0,p=a.length;d<p;d++){var m=a[d],g=new VS;g.generatedLine=m.generatedLine,g.generatedColumn=m.generatedColumn,m.source&&(g.source=o.indexOf(m.source),g.originalLine=m.originalLine,g.originalColumn=m.originalColumn,m.name&&(g.name=i.indexOf(m.name)),c.push(g)),s.push(g)}return Ku(r.__originalMappings,ve.compareByOriginalPositions),r};Rr.prototype._version=3;Object.defineProperty(Rr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function VS(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Rr.prototype._parseMappings=function(t,n){for(var r=1,i=0,o=0,a=0,s=0,c=0,d=t.length,p=0,m={},g={},b=[],h=[],w,l,u,v,y;p<d;)if(t.charAt(p)===";")r++,p++,i=0;else if(t.charAt(p)===",")p++;else{for(w=new VS,w.generatedLine=r,v=p;v<d&&!this._charIsMappingSeparator(t,v);v++);if(l=t.slice(p,v),u=m[l],u)p+=l.length;else{for(u=[];p<v;)EF.decode(t,p,g),y=g.value,p=g.rest,u.push(y);if(u.length===2)throw new Error("Found a source, but no line and column");if(u.length===3)throw new Error("Found a source and line, but no column");m[l]=u}w.generatedColumn=i+u[0],i=w.generatedColumn,u.length>1&&(w.source=s+u[1],s+=u[1],w.originalLine=o+u[2],o=w.originalLine,w.originalLine+=1,w.originalColumn=a+u[3],a=w.originalColumn,u.length>4&&(w.name=c+u[4],c+=u[4])),h.push(w),typeof w.originalLine=="number"&&b.push(w)}Ku(h,ve.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Ku(b,ve.compareByOriginalPositions),this.__originalMappings=b};Rr.prototype._findMapping=function(t,n,r,i,o,a){if(t[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[r]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return Sp.search(t,n,o,a)};Rr.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var n=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var r=this._generatedMappings[t+1];if(n.generatedLine===r.generatedLine){n.lastGeneratedColumn=r.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};Rr.prototype.originalPositionFor=function(t){var n={generatedLine:ve.getArg(t,"line"),generatedColumn:ve.getArg(t,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",ve.compareByGeneratedPositionsDeflated,ve.getArg(t,"bias",en.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var o=ve.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=ve.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=ve.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:o,line:ve.getArg(i,"originalLine",null),column:ve.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Rr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};Rr.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i=t;this.sourceRoot!=null&&(i=ve.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=ve.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||o.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(n)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Rr.prototype.generatedPositionFor=function(t){var n=ve.getArg(t,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:ve.getArg(t,"line"),originalColumn:ve.getArg(t,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ve.compareByOriginalPositions,ve.getArg(t,"bias",en.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:ve.getArg(o,"generatedLine",null),column:ve.getArg(o,"generatedColumn",null),lastColumn:ve.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Ul.BasicSourceMapConsumer=Rr;function Xi(e,t){var n=e;typeof e=="string"&&(n=ve.parseSourceMapInput(e));var r=ve.getArg(n,"version"),i=ve.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new qs,this._names=new qs;var o={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var s=ve.getArg(a,"offset"),c=ve.getArg(s,"line"),d=ve.getArg(s,"column");if(c<o.line||c===o.line&&d<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=s,{generatedOffset:{generatedLine:c+1,generatedColumn:d+1},consumer:new en(ve.getArg(a,"map"),t)}})}Xi.prototype=Object.create(en.prototype);Xi.prototype.constructor=en;Xi.prototype._version=3;Object.defineProperty(Xi.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}});Xi.prototype.originalPositionFor=function(t){var n={generatedLine:ve.getArg(t,"line"),generatedColumn:ve.getArg(t,"column")},r=Sp.search(n,this._sections,function(o,a){var s=o.generatedLine-a.generatedOffset.generatedLine;return s||o.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[r];return i?i.consumer.originalPositionFor({line:n.generatedLine-(i.generatedOffset.generatedLine-1),column:n.generatedColumn-(i.generatedOffset.generatedLine===n.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};Xi.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};Xi.prototype.sourceContentFor=function(t,n){for(var r=0;r<this._sections.length;r++){var i=this._sections[r],o=i.consumer.sourceContentFor(t,!0);if(o)return o}if(n)return null;throw new Error('"'+t+'" is not in the SourceMap.')};Xi.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(ve.getArg(t,"source"))!==-1){var i=r.consumer.generatedPositionFor(t);if(i){var o={line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};Xi.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var s=o[a],c=i.consumer._sources.at(s.source);c=ve.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var d=null;s.name&&(d=i.consumer._names.at(s.name),this._names.add(d),d=this._names.indexOf(d));var p={source:c,generatedLine:s.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(i.generatedOffset.generatedLine===s.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:d};this.__generatedMappings.push(p),typeof p.originalLine=="number"&&this.__originalMappings.push(p)}Ku(this.__generatedMappings,ve.compareByGeneratedPositionsDeflated),Ku(this.__originalMappings,ve.compareByOriginalPositions)};Ul.IndexedSourceMapConsumer=Xi});var KS=z(zS=>{var TF=_p().SourceMapGenerator,Vl=Vs(),AF=/(\r?\n)/,RF=10,zs="$$$isSourceNode$$$";function Si(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[zs]=!0,r!=null&&this.add(r)}Si.fromStringWithSourceMap=function(t,n,r){var i=new Si,o=t.split(AF),a=0,s=function(){var g=h(),b=h()||"";return g+b;function h(){return a<o.length?o[a++]:void 0}},c=1,d=0,p=null;return n.eachMapping(function(g){if(p!==null)if(c<g.generatedLine)m(p,s()),c++,d=0;else{var b=o[a]||"",h=b.substr(0,g.generatedColumn-d);o[a]=b.substr(g.generatedColumn-d),d=g.generatedColumn,m(p,h),p=g;return}for(;c<g.generatedLine;)i.add(s()),c++;if(d<g.generatedColumn){var b=o[a]||"";i.add(b.substr(0,g.generatedColumn)),o[a]=b.substr(g.generatedColumn),d=g.generatedColumn}p=g},this),a<o.length&&(p&&m(p,s()),i.add(o.splice(a).join(""))),n.sources.forEach(function(g){var b=n.sourceContentFor(g);b!=null&&(r!=null&&(g=Vl.join(r,g)),i.setSourceContent(g,b))}),i;function m(g,b){if(g===null||g.source===void 0)i.add(b);else{var h=r?Vl.join(r,g.source):g.source;i.add(new Si(g.originalLine,g.originalColumn,h,b,g.name))}}};Si.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(n){this.add(n)},this);else if(t[zs]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Si.prototype.prepend=function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)this.prepend(t[n]);else if(t[zs]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Si.prototype.walk=function(t){for(var n,r=0,i=this.children.length;r<i;r++)n=this.children[r],n[zs]?n.walk(t):n!==""&&t(n,{source:this.source,line:this.line,column:this.column,name:this.name})};Si.prototype.join=function(t){var n,r,i=this.children.length;if(i>0){for(n=[],r=0;r<i-1;r++)n.push(this.children[r]),n.push(t);n.push(this.children[r]),this.children=n}return this};Si.prototype.replaceRight=function(t,n){var r=this.children[this.children.length-1];return r[zs]?r.replaceRight(t,n):typeof r=="string"?this.children[this.children.length-1]=r.replace(t,n):this.children.push("".replace(t,n)),this};Si.prototype.setSourceContent=function(t,n){this.sourceContents[Vl.toSetString(t)]=n};Si.prototype.walkSourceContents=function(t){for(var n=0,r=this.children.length;n<r;n++)this.children[n][zs]&&this.children[n].walkSourceContents(t);for(var i=Object.keys(this.sourceContents),n=0,r=i.length;n<r;n++)t(Vl.fromSetString(i[n]),this.sourceContents[i[n]])};Si.prototype.toString=function(){var t="";return this.walk(function(n){t+=n}),t};Si.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},r=new TF(t),i=!1,o=null,a=null,s=null,c=null;return this.walk(function(d,p){n.code+=d,p.source!==null&&p.line!==null&&p.column!==null?((o!==p.source||a!==p.line||s!==p.column||c!==p.name)&&r.addMapping({source:p.source,original:{line:p.line,column:p.column},generated:{line:n.line,column:n.column},name:p.name}),o=p.source,a=p.line,s=p.column,c=p.name,i=!0):i&&(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,i=!1);for(var m=0,g=d.length;m<g;m++)d.charCodeAt(m)===RF?(n.line++,n.column=0,m+1===g?(o=null,i=!1):i&&r.addMapping({source:p.source,original:{line:p.line,column:p.column},generated:{line:n.line,column:n.column},name:p.name})):n.column++}),this.walkSourceContents(function(d,p){r.setSourceContent(d,p)}),{code:n.code,map:r}};zS.SourceNode=Si});var yp=z(ql=>{ql.SourceMapGenerator=_p().SourceMapGenerator;ql.SourceMapConsumer=qS().SourceMapConsumer;ql.SourceNode=KS().SourceNode});var HS=z((Vz,WS)=>{var wF=yp().SourceMapConsumer;function DF(){var e={};return{all:CF.bind(null,e),isTracking:OF.bind(null,e),originalPositionFor:GS.bind(null,e),track:xF.bind(null,e)}}function CF(e){return e}function OF(e,t){return t in e}function GS(e,t,n,r){for(var i=t[0],o=t[1],a=t[2],s={line:i,column:o+n},c;!c&&s.column>o;)s.column--,c=e[a].originalPositionFor(s);return!c||c.column<0?t:c.line===null&&i>1&&r>0?GS(e,[i-1,o,a],n,r-1):c.line!==null?kF(c):t}function kF(e){return[e.line,e.column,e.source]}function xF(e,t,n){e[t]=new wF(n)}WS.exports=DF});var Ks=z((qz,XS)=>{var IF=/^(\w+:\/\/|\/\/)/,PF=/^file:\/\//;function NF(e){return IF.test(e)&&!PF.test(e)}XS.exports=NF});var Gu=z((zz,$S)=>{var FF=/^\/\//;function MF(e){return!FF.test(e)}$S.exports=MF});var zl=z((Kz,JS)=>{var jS=Kn("path"),YS=Kn("url"),LF=Ks(),BF=Gu(),QS="http:";function Tp(e,t,n){var r,i,o=!t,a,s,c,d;if(n.length===0)return!1;for(t&&!BF(e)&&(e=QS+e),r=t?YS.parse(e).host:e,i=t?e:jS.resolve(e),d=0;d<n.length;d++)a=n[d],s=a[0]=="!",c=a.substring(1),s&&t&&Ep(c)?o=o&&!Tp(e,!0,[c]):s&&!t&&!Ep(c)?o=o&&!Tp(e,!1,[c]):s?o=o&&!0:a=="all"?o=!0:t&&a=="local"?o=o||!1:t&&a=="remote"?o=!0:!t&&a=="remote"?o=!1:!t&&a=="local"||a===r||a===e||t&&i.indexOf(a)===0||!t&&i.indexOf(jS.resolve(a))===0?o=!0:t!=Ep(c)?o=o&&!0:o=!1;return o}function Ep(e){return LF(e)||YS.parse(QS+"//"+e).host==e}JS.exports=Tp});var ey=z((Gz,ZS)=>{var UF=/^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;function VF(e){return UF.exec(e)}ZS.exports=VF});var Ap=z((Wz,ty)=>{var Wu=Kn("path");function qF(e,t,n){var r=Wu.resolve(""),i=Wu.resolve(r,t),o=Wu.dirname(i);return e.sources=e.sources.map(function(a){return Wu.relative(n,Wu.resolve(o,a))}),e}ty.exports=qF});var Rp=z((Hz,ny)=>{var zF=Kn("path"),KF=Kn("url");function GF(e,t){var n=zF.dirname(t);return e.sources=e.sources.map(function(r){return KF.resolve(n,r)}),e}ny.exports=GF});var wp=z((Xz,ry)=>{var WF=/^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;function HF(e){return WF.test(e)}ry.exports=HF});var cy=z(($z,uy)=>{var Kl=Kn("fs"),XF=Kn("path"),oy=zl(),$F=ey(),jF=Ap(),YF=Rp(),Ur=Zt(),QF=Gu(),JF=wp(),ZF=Ks(),ay=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function e3(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?sy(r):n(e)}function sy(e){var t=[],n=iy(e.sourceTokens[0]),r,i,o;for(o=e.sourceTokens.length;e.index<o;e.index++)if(i=e.sourceTokens[e.index],r=iy(i),r!=n&&(t=[],n=r),t.push(i),e.processedTokens.push(i),i[0]==Ur.COMMENT&&ay.test(i[1]))return t3(i[1],r,t,e);return e.callback(e.processedTokens)}function iy(e){var t,n;return e[0]==Ur.AT_RULE||e[0]==Ur.COMMENT||e[0]==Ur.RAW?n=e[2][0]:(t=e[1][0],n=t[2][0]),n[2]}function t3(e,t,n,r){return n3(e,r,function(i){return i&&(r.inputSourceMapTracker.track(t,i),Mo(n,r.inputSourceMapTracker)),r.index++,sy(r)})}function n3(e,t,n){var r=ay.exec(e)[1],i,o,a;return JF(r)?(o=r3(r),n(o)):ZF(r)?i3(r,t,function(s){var c;s?(c=JSON.parse(s),a=YF(c,r),n(a)):n(null)}):(i=XF.resolve(t.rebaseTo,r),o=o3(i,t),o?(a=jF(o,i,t.rebaseTo),n(a)):n(null))}function r3(e){var t=$F(e),n=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",r=t[3]?t[3].split(";")[1]:"utf8",i=r=="utf8"?global.unescape(t[4]):t[4],o=Buffer.from(i,r);return o.charset=n,JSON.parse(o.toString())}function i3(e,t,n){var r=oy(e,!0,t.inline),i=!QF(e);if(t.localOnly)return t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null);if(i)return t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null);if(!r)return t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,function(o,a){if(o)return t.warnings.push('Missing source map at "'+e+'" - '+o),n(null);n(a)})}function o3(e,t){var n=oy(e,!1,t.inline),r;return!Kl.existsSync(e)||!Kl.statSync(e).isFile()?(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null):n?Kl.statSync(e).size?(r=Kl.readFileSync(e,"utf-8"),JSON.parse(r)):(t.warnings.push('Cannot fetch "'+e+'" as resource is empty.'),null):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null)}function Mo(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch(n=e[r],n[0]){case Ur.AT_RULE:Ga(n,t);break;case Ur.AT_RULE_BLOCK:Mo(n[1],t),Mo(n[2],t);break;case Ur.AT_RULE_BLOCK_SCOPE:Ga(n,t);break;case Ur.NESTED_BLOCK:Mo(n[1],t),Mo(n[2],t);break;case Ur.NESTED_BLOCK_SCOPE:Ga(n,t);break;case Ur.COMMENT:Ga(n,t);break;case Ur.PROPERTY:Mo(n,t);break;case Ur.PROPERTY_BLOCK:Mo(n[1],t);break;case Ur.PROPERTY_NAME:Ga(n,t);break;case Ur.PROPERTY_VALUE:Ga(n,t);break;case Ur.RULE:Mo(n[1],t),Mo(n[2],t);break;case Ur.RULE_SCOPE:Ga(n,t)}return e}function Ga(e,t){var n=e[1],r=e[2],i=[],o,a;for(o=0,a=r.length;o<a;o++)i.push(t.originalPositionFor(r[o],n.length));e[2]=i}uy.exports=e3});var Dp=z((jz,ly)=>{var a3=Ps(),s3=/^\(/,u3=/\)$/,c3=/^@import/i,l3=/['"]\s{0,31}/,f3=/\s{0,31}['"]/,d3=/^url\(\s{0,31}/i,p3=/\s{0,31}\)/i;function m3(e){var t,n,r,i;return r=e.replace(c3,"").trim().replace(d3,"(").replace(p3,") ").replace(l3,"").replace(f3,""),i=a3(r," "),t=i[0].replace(s3,"").replace(u3,""),n=i.slice(1).join(" "),[t,n]}ly.exports=m3});var py=z((Yz,dy)=>{var Cp=Kn("fs"),h3=Kn("path"),fy=zl(),_3=Gu(),g3=Ks();function b3(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:v3(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?Op(n):t()}function v3(e){var t={},n,r,i,o,a;for(i in e)for(n=e[i],o=0,a=n.sources.length;o<a;o++)r=n.sources[o],i=n.sourceContentFor(r,!0),t[r]=i;return t}function Op(e){var t=Object.keys(e.uriToSource),n,r,i;for(i=t.length;e.index<i;e.index++)if(n=t[e.index],r=e.uriToSource[n],r)e.sourcesContent[n]=r;else return S3(n,e);return e.callback()}function S3(e,t){var n;return g3(e)?y3(e,t,function(r){return t.index++,t.sourcesContent[e]=r,Op(t)}):(n=E3(e,t),t.index++,t.sourcesContent[e]=n,Op(t))}function y3(e,t,n){var r=fy(e,!0,t.inline),i=!_3(e);if(t.localOnly)return t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null);if(i)return t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null);if(!r)return t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,function(o,a){o&&t.warnings.push('Missing original source at "'+e+'" - '+o),n(a)})}function E3(e,t){var n=fy(e,!1,t.inline),r=h3.resolve(t.rebaseTo,e);if(!Cp.existsSync(r)||!Cp.statSync(r).isFile())return t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null;if(!n)return t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null;var i=Cp.readFileSync(r,"utf8");return i.charCodeAt(0)===65279&&(i=i.substring(1)),i}dy.exports=b3});var hy=z((Qz,my)=>{var T3="/",A3=/\\/g;function R3(e){return e.replace(A3,T3)}my.exports=R3});var kp=z((Jz,_y)=>{function w3(e,t){return("@import "+e+" "+t).trim()}_y.exports=w3});var Sy=z((Zz,vy)=>{var Hu=Kn("path"),D3=Kn("url"),C3=wp(),Ip='"',Gl="'",O3="url(",k3=")",x3=/^[^\w\d]*\/\//,I3=/^["']/,P3=/["']$/,N3=/[()]/,F3=/^url\(/i,M3=/\)$/,L3=/\s/,B3=process.platform=="win32";function gy(e,t){return!t||U3(e)&&!xp(t.toBase)||xp(e)||V3(e)||q3(e)||C3(e)?e:xp(t.toBase)?D3.resolve(t.toBase,e):t.absolute?by(z3(e,t)):by(K3(e,t))}function U3(e){return Hu.isAbsolute(e)}function V3(e){return e[0]=="#"}function q3(e){return/^\w+:\w+/.test(e)}function xp(e){return/^[^:]+?:\/\//.test(e)||x3.test(e)}function z3(e,t){return Hu.resolve(Hu.join(t.fromBase||"",e)).replace(t.toBase,"")}function K3(e,t){return Hu.relative(t.toBase,Hu.join(t.fromBase||"",e))}function by(e){return B3?e.replace(/\\/g,"/"):e}function G3(e){return e.indexOf(Gl)>-1?Ip:e.indexOf(Ip)>-1||W3(e)||H3(e)?Gl:""}function W3(e){return L3.test(e)}function H3(e){return N3.test(e)}function X3(e,t,n){var r=e.replace(F3,"").replace(M3,"").trim(),i=r.replace(I3,"").replace(P3,"").trim(),o=r[0]==Gl||r[0]==Ip?r[0]:G3(i);return n?gy(i,t):O3+o+gy(i,t)+o+k3}vy.exports=X3});var Pp=z((eK,yy)=>{var $3=/^@import/i;function j3(e){return $3.test(e)}yy.exports=j3});var wy=z((tK,Ry)=>{var Y3=Dp(),Q3=kp(),Np=Sy(),Gs=Zt(),J3=Pp(),Z3=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function eM(e,t,n,r){return t?Ty(e,n,r):tM(e,n,r)}function Ty(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)switch(r=e[i],r[0]){case Gs.AT_RULE:Ay(r,t,n);break;case Gs.AT_RULE_BLOCK:Ey(r[2],t,n);break;case Gs.COMMENT:nM(r,n);break;case Gs.NESTED_BLOCK:Ty(r[2],t,n);break;case Gs.RULE:Ey(r[2],t,n);break}return e}function tM(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)switch(r=e[i],r[0]){case Gs.AT_RULE:Ay(r,t,n);break}return e}function Ay(e,t,n){if(J3(e[1])){var r=Y3(e[1]),i=Np(r[0],n),o=r[1];e[1]=Q3(i,o)}}function nM(e,t){var n=Z3.exec(e[1]);n&&n[1].indexOf("data:")===-1&&(e[1]=e[1].replace(n[1],Np(n[1],t,!0)))}function Ey(e,t,n){var r,i,o,a,s,c;for(o=0,a=e.length;o<a;o++)for(r=e[o],s=2,c=r.length;s<c;s++)i=r[s][1],t.isUrl(i)&&(r[s][1]=Np(i,n))}Ry.exports=eM});var Cy=z((nK,Dy)=>{var ce=Ar(),je=Zt(),Wl=Su(),Se={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},rM=["@charset","@import"],iM=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports","@container","@layer"],oM=/\/\* clean-css ignore:end \*\/$/,aM=/^\/\* clean-css ignore:start \*\//,sM=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],uM=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],cM=/^\[\s{0,31}\d+\s{0,31}\]$/,lM=/([^}])\}*$/,fM=/[\s(]/;function dM(e,t){var n={level:Se.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}};return Mp(e,t,n,!1)}function Mp(e,t,n,r){for(var i=[],o=i,a,s,c=[],d,p,m=[],g=n.level,b=[],h=[],w=[],l=!0,u,v,y=0,S,C,f,_,T,O,A=!1,N,P=!1,L,W,ae=!1,Z,ke=!1,Ve=!1,Be=!1,ge=!1,Qt=!1,J=n.position,De;J.index<e.length;J.index++){var V=e[J.index];if(S=g==Se.SINGLE_QUOTE||g==Se.DOUBLE_QUOTE,C=V==ce.SPACE||V==ce.TAB,f=V==ce.NEW_LINE_NIX,_=V==ce.NEW_LINE_NIX&&e[J.index-1]==ce.CARRIAGE_RETURN,T=V==ce.CARRIAGE_RETURN&&e[J.index+1]&&e[J.index+1]!=ce.NEW_LINE_NIX,O=!P&&g!=Se.COMMENT&&!S&&V==ce.ASTERISK&&e[J.index-1]==ce.FORWARD_SLASH,L=!A&&!S&&V==ce.FORWARD_SLASH&&e[J.index-1]==ce.ASTERISK,N=g==Se.COMMENT&&L,Z=!C&&!T&&(V>="A"&&V<="Z"||V>="a"&&V<="z"||V>="0"&&V<="9"||V=="-"),Ve=Ve||g!=Se.COMMENT&&!ge&&ke&&V==="-"&&h.length===1,ke=V==="-",y=Math.max(y,0),p=l?[J.line,J.column,J.source]:p,W)h.push(V),l=!1;else if(Z)h.push(V),l=!1;else if((C||f&&!_)&&(S||g==Se.COMMENT))h.push(V),l=!1;else if(!((C||f&&!_)&&l)){if(!N&&g==Se.COMMENT)h.push(V),l=!1;else if(!O&&!N&&Be)h.push(V),l=!1;else if(O&&Ve&&(g==Se.BLOCK||g==Se.RULE)&&h.length>1)h.push(V),l=!1,b.push(g),g=Se.COMMENT;else if(O&&(g==Se.BLOCK||g==Se.RULE)&&h.length>1)m.push(p),h.push(V),w.push(h.slice(0,-2)),l=!1,h=h.slice(-2),p=[J.line,J.column-1,J.source],b.push(g),g=Se.COMMENT;else if(O)b.push(g),g=Se.COMMENT,h.push(V),l=!1;else if(N&&Ve)h.push(V),g=b.pop();else if(N&&pM(h))u=h.join("").trim()+V,a=[je.COMMENT,u,[Kt(p,u,t)]],o.push(a),Be=!0,p=m.pop()||null,h=w.pop()||[],l=h.length===0;else if(N&&mM(h))u=h.join("")+V,De=u.lastIndexOf(ce.FORWARD_SLASH+ce.ASTERISK),v=u.substring(0,De),a=[je.RAW,v,[Kt(p,v,t)]],o.push(a),v=u.substring(De),p=[J.line,J.column-v.length+1,J.source],a=[je.COMMENT,v,[Kt(p,v,t)]],o.push(a),Be=!1,g=b.pop(),p=m.pop()||null,h=w.pop()||[],l=h.length===0;else if(N)u=h.join("").trim()+V,a=[je.COMMENT,u,[Kt(p,u,t)]],o.push(a),g=b.pop(),p=m.pop()||null,h=w.pop()||[],l=h.length===0;else if(L&&e[J.index+1]!=ce.ASTERISK)t.warnings.push("Unexpected '*/' at "+Wl([J.line,J.column,J.source])+"."),h=[],l=!0;else if(V==ce.SINGLE_QUOTE&&!S)b.push(g),g=Se.SINGLE_QUOTE,h.push(V),l=!1;else if(V==ce.SINGLE_QUOTE&&g==Se.SINGLE_QUOTE)g=b.pop(),h.push(V),l=!1;else if(V==ce.DOUBLE_QUOTE&&!S)b.push(g),g=Se.DOUBLE_QUOTE,h.push(V),l=!1;else if(V==ce.DOUBLE_QUOTE&&g==Se.DOUBLE_QUOTE)g=b.pop(),h.push(V),l=!1;else if(V!=ce.CLOSE_ROUND_BRACKET&&V!=ce.OPEN_ROUND_BRACKET&&g!=Se.COMMENT&&!S&&y>0)h.push(V),l=!1;else if(V==ce.OPEN_ROUND_BRACKET&&!S&&g!=Se.COMMENT&&!ge)h.push(V),l=!1,y++;else if(V==ce.CLOSE_ROUND_BRACKET&&!S&&g!=Se.COMMENT&&!ge)h.push(V),l=!1,y--;else if(V==ce.SEMICOLON&&g==Se.BLOCK&&h[0]==ce.AT)u=h.join("").trim(),i.push([je.AT_RULE,u,[Kt(p,u,t)]]),h=[],l=!0;else if(V==ce.COMMA&&g==Se.BLOCK&&s)u=h.join("").trim(),s[1].push([Fp(s[0]),u,[Kt(p,u,t,s[1].length)]]),h=[],l=!0;else if(V==ce.COMMA&&g==Se.BLOCK&&Hl(h)==je.AT_RULE)h.push(V),l=!1;else if(V==ce.COMMA&&g==Se.BLOCK)s=[Hl(h),[],[]],u=h.join("").trim(),s[1].push([Fp(s[0]),u,[Kt(p,u,t,0)]]),h=[],l=!0;else if(V==ce.OPEN_CURLY_BRACKET&&g==Se.BLOCK&&s&&s[0]==je.NESTED_BLOCK)u=h.join("").trim(),s[1].push([je.NESTED_BLOCK_SCOPE,u,[Kt(p,u,t)]]),i.push(s),b.push(g),J.column++,J.index++,h=[],l=!0,s[2]=Mp(e,t,n,!0),s=null;else if(V==ce.OPEN_CURLY_BRACKET&&g==Se.BLOCK&&Hl(h)==je.NESTED_BLOCK)u=h.join("").trim(),s=s||[je.NESTED_BLOCK,[],[]],s[1].push([je.NESTED_BLOCK_SCOPE,u,[Kt(p,u,t)]]),i.push(s),b.push(g),J.column++,J.index++,h=[],l=!0,Ve=!1,s[2]=Mp(e,t,n,!0),s=null;else if(V==ce.OPEN_CURLY_BRACKET&&g==Se.BLOCK)u=h.join("").trim(),s=s||[Hl(h),[],[]],s[1].push([Fp(s[0]),u,[Kt(p,u,t,s[1].length)]]),o=s[2],i.push(s),b.push(g),g=Se.RULE,h=[],l=!0;else if(V==ce.OPEN_CURLY_BRACKET&&g==Se.RULE&&ge)c.push(s),s=[je.PROPERTY_BLOCK,[]],d.push(s),o=s[1],b.push(g),g=Se.RULE,ge=!1;else if(V==ce.OPEN_CURLY_BRACKET&&g==Se.RULE&&hM(h))u=h.join("").trim(),c.push(s),s=[je.AT_RULE_BLOCK,[],[]],s[1].push([je.AT_RULE_BLOCK_SCOPE,u,[Kt(p,u,t)]]),o.push(s),o=s[2],b.push(g),g=Se.RULE,h=[],l=!0;else if(V==ce.COLON&&g==Se.RULE&&!ge)u=h.join("").trim(),d=[je.PROPERTY,[je.PROPERTY_NAME,u,[Kt(p,u,t)]]],o.push(d),ge=!0,h=[],l=!0;else if(V==ce.SEMICOLON&&g==Se.RULE&&d&&c.length>0&&!l&&h[0]==ce.AT)u=h.join("").trim(),s[1].push([je.AT_RULE,u,[Kt(p,u,t)]]),h=[],l=!0;else if(V==ce.SEMICOLON&&g==Se.RULE&&d&&!l)u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),d=null,ge=!1,h=[],l=!0,Ve=!1;else if(V==ce.SEMICOLON&&g==Se.RULE&&d&&l&&Ve&&!d[2])d.push([je.PROPERTY_VALUE," ",[Kt(p," ",t)]]),Ve=!1,d=null,ge=!1;else if(V==ce.SEMICOLON&&g==Se.RULE&&d&&l)d=null,ge=!1;else if(V==ce.SEMICOLON&&g==Se.RULE&&!l&&h[0]==ce.AT)u=h.join(""),o.push([je.AT_RULE,u,[Kt(p,u,t)]]),ge=!1,h=[],l=!0;else if(V==ce.SEMICOLON&&g==Se.RULE&&Qt)Qt=!1,h=[],l=!0;else if(!(V==ce.SEMICOLON&&g==Se.RULE&&l))if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&d&&ge&&!l&&c.length>0)u=h.join(""),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),d=null,s=c.pop(),o=s[2],g=b.pop(),ge=!1,h=[],l=!0;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&d&&!l&&h[0]==ce.AT&&c.length>0)u=h.join(""),s[1].push([je.AT_RULE,u,[Kt(p,u,t)]]),d=null,s=c.pop(),o=s[2],g=b.pop(),ge=!1,h=[],l=!0;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&d&&c.length>0)d=null,s=c.pop(),o=s[2],g=b.pop(),ge=!1;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&d&&!l)u=h.join(""),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),d=null,s=c.pop(),o=i,g=b.pop(),ge=!1,h=[],l=!0;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&!l&&h[0]==ce.AT)d=null,s=null,u=h.join("").trim(),o.push([je.AT_RULE,u,[Kt(p,u,t)]]),o=i,g=b.pop(),ge=!1,h=[],l=!0;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&b[b.length-1]==Se.RULE)d=null,s=c.pop(),o=s[2],g=b.pop(),ge=!1,Qt=!0,h=[],l=!0;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE&&Ve&&d&&!d[2])d.push([je.PROPERTY_VALUE," ",[Kt(p," ",t)]]),Ve=!1,d=null,s=null,o=i,g=b.pop(),ge=!1,Ve=!1;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.RULE)d=null,s=null,o=i,g=b.pop(),ge=!1,Ve=!1;else if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.BLOCK&&!r&&J.index<=e.length-1)t.warnings.push("Unexpected '}' at "+Wl([J.line,J.column,J.source])+"."),h.push(V),l=!1;else{if(V==ce.CLOSE_CURLY_BRACKET&&g==Se.BLOCK)break;V==ce.OPEN_ROUND_BRACKET&&g==Se.RULE&&ge?(h.push(V),l=!1,y++):V==ce.CLOSE_ROUND_BRACKET&&g==Se.RULE&&ge&&y==1?(h.push(V),l=!1,u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),y--,h=[],l=!0,Ve=!1):V==ce.CLOSE_ROUND_BRACKET&&g==Se.RULE&&ge?(h.push(V),l=!1,Ve=!1,y--):V==ce.FORWARD_SLASH&&e[J.index+1]!=ce.ASTERISK&&g==Se.RULE&&ge&&!l?(u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),d.push([je.PROPERTY_VALUE,V,[[J.line,J.column,J.source]]]),h=[],l=!0):V==ce.FORWARD_SLASH&&e[J.index+1]!=ce.ASTERISK&&g==Se.RULE&&ge?(d.push([je.PROPERTY_VALUE,V,[[J.line,J.column,J.source]]]),h=[],l=!0):V==ce.COMMA&&g==Se.RULE&&ge&&!l?(u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),d.push([je.PROPERTY_VALUE,V,[[J.line,J.column,J.source]]]),h=[],l=!0):V==ce.COMMA&&g==Se.RULE&&ge?(d.push([je.PROPERTY_VALUE,V,[[J.line,J.column,J.source]]]),h=[],l=!0):V==ce.CLOSE_SQUARE_BRACKET&&d&&d.length>1&&!l&&_M(h)?(h.push(V),u=h.join("").trim(),d[d.length-1][1]+=u,h=[],l=!0):(C||f&&!_)&&g==Se.RULE&&ge&&d&&!l?(u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),h=[],l=!0):_&&g==Se.RULE&&ge&&d&&h.length>1?(u=h.join("").trim(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),h=[],l=!0):_&&g==Se.RULE&&ge?(h=[],l=!0):_&&h.length==1?(h.pop(),l=h.length===0):(!l||!C&&!f&&!_&&!T)&&(h.push(V),l=!1)}}ae=W,W=!ae&&V==ce.BACK_SLASH,A=O,P=N,J.line=_||f||T?J.line+1:J.line,J.column=_||f||T?0:J.column+1}return ge&&t.warnings.push("Missing '}' at "+Wl([J.line,J.column,J.source])+"."),ge&&h.length>0&&(u=h.join("").trimRight().replace(lM,"$1").trimRight(),d.push([je.PROPERTY_VALUE,u,[Kt(p,u,t)]]),h=[]),h.length>0&&t.warnings.push("Invalid character(s) '"+h.join("")+"' at "+Wl(p)+". Ignoring."),i}function pM(e){return aM.test(e.join("")+ce.FORWARD_SLASH)}function mM(e){return oM.test(e.join("")+ce.FORWARD_SLASH)}function Kt(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function Hl(e){var t=e[0]==ce.AT||e[0]==ce.UNDERSCORE,n=e.join("").split(fM)[0];return t&&iM.indexOf(n)>-1?je.NESTED_BLOCK:t&&rM.indexOf(n)>-1?je.AT_RULE:t?je.AT_RULE_BLOCK:je.RULE}function Fp(e){if(e==je.RULE)return je.RULE_SCOPE;if(e==je.NESTED_BLOCK)return je.NESTED_BLOCK_SCOPE;if(e==je.AT_RULE_BLOCK)return je.AT_RULE_BLOCK_SCOPE}function hM(e){var t=e.join("").trim();return sM.indexOf(t)>-1||uM.indexOf(t)>-1}function _M(e){return cM.test(e.join("")+ce.CLOSE_SQUARE_BRACKET)}Dy.exports=dM});var Ly=z((rK,My)=>{var Lp=Kn("fs"),ui=Kn("path"),gM=cy(),bM=Dp(),ky=zl(),vM=py(),xy=hy(),SM=wy(),yM=Ap(),EM=Rp(),TM=kp(),AM=Cy(),Xu=Zt(),RM=Ar(),wM=Gu(),DM=Pp(),Xl=Ks(),CM="uri:unknown",OM="file://";function kM(e,t,n){return xM(e,t,function(r){return gM(r,t,function(){return vM(t,function(){return n(r)})})})}function xM(e,t,n){if(typeof e=="string")return Oy(e,t,n);if(Buffer.isBuffer(e))return Oy(e.toString(),t,n);if(Array.isArray(e))return IM(e,t,n);if(typeof e=="object")return PM(e,t,n)}function Oy(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,$u(e,t,{inline:t.options.inline},n)}function IM(e,t,n){var r=e.reduce(function(i,o){return typeof o=="string"?NM(o,i):Iy(o,t,i)},[]);return $u(r.join(""),t,{inline:["all"]},n)}function PM(e,t,n){var r=Iy(e,t,[]);return $u(r.join(""),t,{inline:["all"]},n)}function NM(e,t){return t.push(Ny(Py(e))),t}function Iy(e,t,n){var r,i,o;for(r in e)o=e[r],i=Py(r),n.push(Ny(i)),t.sourcesContent[i]=o.styles,o.sourceMap&&FM(o.sourceMap,i,t);return n}function Py(e){var t=ui.resolve(""),n,r,i;return Xl(e)?e:(n=ui.isAbsolute(e)?e:ui.resolve(e),r=ui.relative(t,n),i=xy(r),i)}function FM(e,t,n){var r=typeof e=="string"?JSON.parse(e):e,i=Xl(t)?EM(r,t):yM(r,t||CM,n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function Ny(e){return TM("url("+e+")","")+RM.SEMICOLON}function $u(e,t,n,r){var i,o={};return t.source?Xl(t.source)?(o.fromBase=t.source,o.toBase=t.source):ui.isAbsolute(t.source)?(o.fromBase=ui.dirname(t.source),o.toBase=t.options.rebaseTo):(o.fromBase=ui.dirname(ui.resolve(t.source)),o.toBase=t.options.rebaseTo):(o.fromBase=ui.resolve(""),o.toBase=t.options.rebaseTo),i=AM(e,t),i=SM(i,t.options.rebase,t.validator,o),MM(n.inline)?LM(i,t,n,r):r(i)}function MM(e){return!(e.length==1&&e[0]=="none")}function LM(e,t,n,r){var i={afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return $i(i)}function $i(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if(t=e.sourceTokens[n],t[0]==Xu.AT_RULE&&DM(t[1]))return e.sourceTokens.splice(0,n),BM(t,e);t[0]==Xu.AT_RULE||t[0]==Xu.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function BM(e,t){var n=bM(e[1]),r=n[0],i=n[1],o=e[2];return Xl(r)?UM(r,i,o,t):VM(r,i,o,t)}function UM(e,t,n,r){var i=ky(e,!0,r.inline),o=e,a=e in r.externalContext.sourcesContent,s=!wM(e);if(r.inlinedStylesheets.indexOf(e)>-1)return r.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),r.sourceTokens=r.sourceTokens.slice(1),$i(r);if(r.localOnly&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),$i(r);if(s)return r.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),$i(r);if(r.localOnly&&!a)return r.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),$i(r);if(!i&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),$i(r);if(!i)return r.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),$i(r);r.inlinedStylesheets.push(e);function c(d,p){return d?(r.errors.push('Broken @import declaration of "'+e+'" - '+d),process.nextTick(function(){r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),$i(r)})):(r.inline=r.externalContext.options.inline,r.isRemote=!0,r.externalContext.source=o,r.externalContext.sourcesContent[e]=p,r.externalContext.stats.originalSize+=p.length,$u(p,r.externalContext,r,function(m){return m=Fy(m,t,n),r.outputTokens=r.outputTokens.concat(m),r.sourceTokens=r.sourceTokens.slice(1),$i(r)}))}return a?c(null,r.externalContext.sourcesContent[e]):r.fetch(e,r.inlineRequest,r.inlineTimeout,c)}function VM(e,t,n,r){var i=e.replace(OM,""),o=ui.resolve(""),a=ui.isAbsolute(i)?ui.resolve(o,i[0]=="/"?i.substring(1):i):ui.resolve(r.rebaseTo,i),s=ui.relative(o,a),c,d=ky(i,!1,r.inline),p=xy(s),m=p in r.externalContext.sourcesContent;if(r.inlinedStylesheets.indexOf(a)>-1)r.warnings.push('Ignoring local @import of "'+i+'" as it has already been imported.');else if(d&&!m&&(!Lp.existsSync(a)||!Lp.statSync(a).isFile()))r.errors.push('Ignoring local @import of "'+i+'" as resource is missing.');else if(!d&&r.afterContent)r.warnings.push('Ignoring local @import of "'+i+'" as resource is not allowed and after other content.');else if(r.afterContent)r.warnings.push('Ignoring local @import of "'+i+'" as after other content.');else if(!d)r.warnings.push('Skipping local @import of "'+i+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1));else return c=m?r.externalContext.sourcesContent[p]:Lp.readFileSync(a,"utf-8"),c.charCodeAt(0)===65279&&(c=c.substring(1)),r.inlinedStylesheets.push(a),r.inline=r.externalContext.options.inline,r.externalContext.source=p,r.externalContext.sourcesContent[p]=c,r.externalContext.stats.originalSize+=c.length,$u(c,r.externalContext,r,function(g){return g=Fy(g,t,n),r.outputTokens=r.outputTokens.concat(g),r.sourceTokens=r.sourceTokens.slice(1),$i(r)});return r.sourceTokens=r.sourceTokens.slice(1),$i(r)}function Fy(e,t,n){return t?[[Xu.NESTED_BLOCK,[[Xu.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}My.exports=kM});var Vy=z((iK,Uy)=>{var qM=Sl().all;function zM(e,t){var n=typeof t=="string"?t:t[1],r=e.wrap;r(e,n),By(e,n),e.output.push(n)}function KM(e,t){e.column+t.length>e.format.wrapAt&&(By(e,e.format.breakWith),e.output.push(e.format.breakWith))}function By(e,t){var n=t.split(`
8
+ `);e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}function GM(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:zM,wrap:t.options.format.wrapAt?KM:function(){}};return qM(n,e),{styles:n.output.join("")}}Uy.exports=GM});var Ky=z((oK,zy)=>{var WM=yp().SourceMapGenerator,HM=Sl().all,XM=Ks(),$M=process.platform=="win32",jM=/\//g,YM="$stdin",QM="\\";function JM(e,t){var n=typeof t=="string",r=n?t:t[1],i=n?null:t[2],o=e.wrap;o(e,r),qy(e,r,i),e.output.push(r)}function ZM(e,t){e.column+t.length>e.format.wrapAt&&(qy(e,e.format.breakWith,!1),e.output.push(e.format.breakWith))}function qy(e,t,n){var r=t.split(`
9
+ `);n&&eL(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function eL(e,t){for(var n=0,r=t.length;n<r;n++)tL(e,t[n])}function tL(e,t){var n=t[0],r=t[1],i=t[2],o=i,a=o||YM;$M&&o&&!XM(o)&&(a=o.replace(jM,QM)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&i in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[i])}function nL(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new WM,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:JM,wrap:t.options.format.wrapAt?ZM:function(){}};return HM(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}}zy.exports=nL});var $y=z((aK,Xy)=>{var rL=D0(),iL=zg(),oL=Bv(),aL=jv(),sL=Qv(),uL=sS(),cL=vu().formatFrom,lL=cS(),fL=dS(),dL=mS(),Gy=On().OptimizationLevel,pL=On().optimizationLevelFrom,mL=_S(),hL=bS(),_L=SS(),gL=HS(),bL=Ly(),vL=Vy(),SL=Ky(),Bp=Xy.exports=function(t){t=t||{},this.options={batch:!!t.batch,compatibility:sL(t.compatibility),explicitRebaseTo:"rebaseTo"in t,fetch:uL(t.fetch),format:cL(t.format),inline:lL(t.inline),inlineRequest:fL(t.inlineRequest),inlineTimeout:dL(t.inlineTimeout),level:pL(t.level),plugins:mL(t.plugins),rebase:hL(t.rebase,t.rebaseTo),rebaseTo:_L(t.rebaseTo),returnPromise:!!t.returnPromise,sourceMap:!!t.sourceMap,sourceMapInlineSources:!!t.sourceMapInlineSources}};Bp.process=function(e,t){var n,r=t.to;return delete t.to,n=new Bp(Object.assign({returnPromise:!0,rebaseTo:r},t)),n.minify(e).then(function(i){return{css:i.styles}})};Bp.prototype.minify=function(e,t,n){var r=this.options;return r.returnPromise?new Promise(function(i,o){Wy(e,r,t,function(a,s){return a?o(a):i(s)})}):Wy(e,r,t,n)};function Wy(e,t,n,r){return t.batch&&Array.isArray(e)?yL(e,t,n,r):t.batch&&typeof e=="object"?Hy(e,t,n,r):Up(e,t,n,r)}function yL(e,t,n,r){var i=typeof r=="function"?r:typeof n=="function"?n:null,o=[],a={},s,c,d;function p(m,g){a=Object.assign(a,g),m!==null&&(o=o.concat(m))}for(c=0,d=e.length;c<d;c++)typeof e[c]=="object"?Hy(e[c],t,p):(s=e[c],a[s]=Up([s],t),o=o.concat(a[s].errors));return i?i(o.length>0?o:null,a):a}function Hy(e,t,n,r){var i=typeof r=="function"?r:typeof n=="function"?n:null,o=[],a={},s,c;for(s in e)c=e[s],a[s]=Up(c.styles,t,c.sourceMap),o=o.concat(a[s].errors);return i?i(o.length>0?o:null,a):a}function Up(e,t,n,r){var i=typeof n!="function"?n:null,o=typeof r=="function"?r:typeof n=="function"?n:null,a={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:gL(),localOnly:!o,options:t,source:null,sourcesContent:{},validator:aL(t.compatibility),warnings:[]},s;return i&&a.inputSourceMapTracker.track(void 0,i),t.rebase&&!t.explicitRebaseTo&&(s="You have set `rebase: true` without giving `rebaseTo` option, which, in this case, defaults to the current working directory. You are then warned this can lead to unexpected URL rebasing (aka here be dragons)! If you are OK with the clean-css output, then you can get rid of this warning by giving clean-css a `rebaseTo: process.cwd()` option.",a.warnings.push(s)),EL(a.localOnly)(function(){return bL(e,a,function(c){var d=a.options.sourceMap?SL:vL,p=TL(c,a),m=d(p,a),g=AL(m,a);return o?o(a.errors.length>0?a.errors:null,g):g})})}function EL(e){return e?function(t){return t()}:process.nextTick}function TL(e,t){var n=rL(e,t);return n=Gy.One in t.options.level?iL(e,t):e,n=Gy.Two in t.options.level?oL(e,t,!0):n,n}function AL(e,t){return e.stats=RL(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function RL(e,t){var n=Date.now(),r=n-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=r,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}});var Yy=z((sK,jy)=>{jy.exports=$y()});var Hp=z((PK,sE)=>{"use strict";sE.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}});var dE=z((NK,fE)=>{"use strict";var yi=Hp();function LL(e,t){return e.auth&&!t.removeAuth&&(e.extra.relation.maximumHost||t.output===yi.ABSOLUTE)?e.auth+"@":""}function BL(e,t){return e.hash?e.hash:""}function UL(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===yi.ABSOLUTE)?e.host.full:""}function VL(e,t){var n="",r=e.path.absolute.string,i=e.path.relative.string,o=lE(e,t);if(e.extra.relation.maximumHost||t.output===yi.ABSOLUTE||t.output===yi.ROOT_RELATIVE)n=r;else if(i.length<=r.length&&t.output===yi.SHORTEST||t.output===yi.PATH_RELATIVE){if(n=i,n===""){var a=cE(e,t)&&!!uE(e,t);(e.extra.relation.maximumPath&&!o||e.extra.relation.overridesQuery&&!o&&!a)&&(n="./")}}else n=r;return n==="/"&&!o&&t.removeRootTrailingSlash&&(!e.extra.relation.minimumPort||t.output===yi.ABSOLUTE)&&(n=""),n}function qL(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}function zL(e,t){return cE(e,t)?uE(e,t):""}function KL(e,t){return lE(e,t)?e.resource:""}function GL(e,t){var n="";return(e.extra.relation.maximumHost||t.output===yi.ABSOLUTE)&&(!e.extra.relation.minimumScheme||!t.schemeRelative||t.output===yi.ABSOLUTE?n+=e.scheme+"://":n+="//"),n}function WL(e,t){var n="";return n+=GL(e,t),n+=LL(e,t),n+=UL(e,t),n+=qL(e,t),n+=VL(e,t),n+=KL(e,t),n+=zL(e,t),n+=BL(e,t),n}function uE(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function cE(e,t){return!e.extra.relation.minimumQuery||t.output===yi.ABSOLUTE||t.output===yi.ROOT_RELATIVE}function lE(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==yi.ABSOLUTE&&t.output!==yi.ROOT_RELATIVE;return!!e.resource&&!r&&!n}fE.exports=WL});var Yl=z((FK,mE)=>{"use strict";function pE(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=pE(e[n]));return t}return e}function HL(e){return!!e&&typeof e=="object"&&e.constructor===Object}function XL(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}mE.exports={clone:pE,isPlainObject:HL,shallowMerge:XL}});var gE=z((MK,_E)=>{"use strict";var hE=Yl();function $L(e,t){if(hE.isPlainObject(e)){var n={};for(var r in t)t.hasOwnProperty(r)&&(e[r]!==void 0?n[r]=jL(e[r],t[r]):n[r]=t[r]);return n}else return t}function jL(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):hE.shallowMerge(e,t):e}_E.exports=$L});var vE=z((LK,bE)=>{"use strict";function YL(e){var t=!e.scheme&&!e.auth&&!e.host.full&&!e.port,n=t&&!e.path.absolute.string,r=n&&!e.resource,i=r&&!e.query.string.full.length,o=i&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=i,e.extra.hrefInfo.empty=o}bE.exports=YL});var yE=z((BK,SE)=>{"use strict";function QL(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;n.indexOf("www.")===0&&(r=n.substr(4)),e.host.stripped=r}}}SE.exports=QL});var AE=z((UK,TE)=>{"use strict";function JL(e,t){var n=!1;return t.directoryIndexes.every(function(r){return r===e?(n=!0,!1):!0}),n}function ZL(e,t){var n=e.path.absolute.string;if(n){var r=n.lastIndexOf("/");if(r>-1){if(++r<n.length){var i=n.substr(r);i!=="."&&i!==".."?(e.resource=i,n=n.substr(0,r)):n+="/"}e.path.absolute.string=n,e.path.absolute.array=EE(n)}else n==="."||n===".."?(n+="/",e.path.absolute.string=n,e.path.absolute.array=EE(n)):(e.resource=n,e.path.absolute.string=null);e.extra.resourceIsIndex=JL(e.resource,t)}}function EE(e){if(e!=="/"){var t=[];return e.split("/").forEach(function(n){n!==""&&t.push(n)}),t}else return[]}TE.exports=ZL});var wE=z((VK,RE)=>{"use strict";function eB(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),e.port===null&&(e.port=n),e.extra.portIsDefault=e.port===n)}RE.exports=eB});var OE=z((qK,CE)=>{"use strict";var tB=Object.prototype.hasOwnProperty;function nB(e,t){e.query.string.full=DE(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=DE(e.query.object,!0))}function DE(e,t){var n=0,r="";for(var i in e)if(i!==""&&tB.call(e,i)===!0){var o=e[i];(o!==""||!t)&&(r+=++n===1?"?":"&",i=encodeURIComponent(i),o!==""?r+=i+"="+encodeURIComponent(o).replace(/%20/g,"+"):r+=i)}return r}CE.exports=nB});var xE=z((zK,kE)=>{"use strict";var rB=Kn("url").parse;function iB(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:e.search==="?"},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function oB(e,t){var n=!0;return t.rejectedSchemes.every(function(r){return n=e.indexOf(r+":")!==0,n}),n}function aB(e,t){return oB(e,t)?iB(rB(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}kE.exports=aB});var Ql=z((KK,IE)=>{"use strict";function sB(e){return e.length>0?e.join("/")+"/":""}function uB(e){var t=[];return e.forEach(function(n){n!==".."?n!=="."&&t.push(n):t.length>0&&t.splice(t.length-1,1)}),t}IE.exports={join:sB,resolveDotSegments:uB}});var ME=z((GK,FE)=>{"use strict";var cB=vE(),lB=yE(),fB=AE(),dB=wE(),pB=OE(),mB=xE(),PE=Ql();function hB(e,t,n){if(e){var r=NE(e,t),i=PE.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+PE.join(i),r}else return n}function NE(e,t){var n=mB(e,t);return n.valid===!1||(lB(n,t),dB(n,t),fB(n,t),pB(n,t),cB(n)),n}FE.exports={from:hB,to:NE}});var BE=z((WK,LE)=>{"use strict";function _B(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,i=e.scheme===t.scheme||!e.scheme,o=i&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",s=o&&(e.host[a]===t.host[a]||r),c=s&&(e.port===t.port||r);e.extra.relation.minimumScheme=i,e.extra.relation.minimumAuth=o,e.extra.relation.minimumHost=s,e.extra.relation.minimumPort=c,e.extra.relation.maximumScheme=!i||i&&!o,e.extra.relation.maximumAuth=!i||i&&!s,e.extra.relation.maximumHost=!i||i&&!c}function gB(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,i=e.extra.hrefInfo.minimumHashOnly,o=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,s=e.extra.relation.minimumScheme,c=a&&e.path.absolute.string===t.path.absolute.string,d=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,p=c&&(d||r||i||o),m=n.removeEmptyQueries?"stripped":"full",g=e.query.string[m],b=t.query.string[m],h=p&&!!g&&g===b||(i||o)&&!e.extra.hrefInfo.separatorOnlyQuery,w=h&&e.hash===t.hash;e.extra.relation.minimumPath=c,e.extra.relation.minimumResource=p,e.extra.relation.minimumQuery=h,e.extra.relation.minimumHash=w,e.extra.relation.maximumPort=!s||s&&!c,e.extra.relation.maximumPath=!s||s&&!p,e.extra.relation.maximumResource=!s||s&&!h,e.extra.relation.maximumQuery=!s||s&&!w,e.extra.relation.maximumHash=!s||s&&!w,e.extra.relation.overridesQuery=c&&e.extra.relation.maximumResource&&!h&&!!b}LE.exports={pathOn:gB,upToPath:_B}});var zE=z((HK,qE)=>{"use strict";var UE=BE(),Xp=Yl(),VE=Ql();function bB(e,t,n){UE.upToPath(e,t,n),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=Xp.clone(t.host)),e.extra.relation.minimumPort&&SB(e,t),e.extra.relation.minimumScheme&&vB(e,t),UE.pathOn(e,t,n),e.extra.relation.minimumResource&&yB(e,t),e.extra.relation.minimumQuery&&(e.query=Xp.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}function vB(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,r="/";n?(e.extra.hrefInfo.minimumPathOnly&&e.path.absolute.string.indexOf("/")!==0&&(n=t.path.absolute.array.concat(n)),n=VE.resolveDotSegments(n),r+=VE.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=r}else e.path=Xp.clone(t.path)}function SB(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function yB(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}qE.exports=bB});var GE=z((XK,KE)=>{"use strict";var EB=Ql();function TB(e,t){var n=[],r=!0,i=-1;return t.forEach(function(o,a){r&&(e[a]!==o?r=!1:i=a),r||n.push("..")}),e.forEach(function(o,a){a>i&&n.push(o)}),n}function AB(e,t,n){if(e.extra.relation.minimumScheme){var r=TB(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=r,e.path.relative.string=EB.join(r)}}KE.exports=AB});var HE=z(($K,WE)=>{"use strict";var RB=zE(),wB=GE();function DB(e,t,n){return RB(t,e,n),wB(t,e,n),t}WE.exports=DB});var YE=z((jK,jE)=>{"use strict";var CB=Hp(),OB=dE(),XE=gE(),$E=Yl(),$p=ME(),kB=HE();function Hs(e,t){this.options=XE(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:Hs.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=$p.from(e,this.options,null)}Hs.prototype.relate=function(e,t,n){if($E.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=XE(n,this.options),e=e||n.site,e=$p.from(e,n,this.from),!e||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return t=$p.to(t,n),t.valid===!1?t.href:(t=kB(e,t,n),t=OB(t,n),t)};Hs.relate=function(e,t,n){return new Hs().relate(e,t,n)};$E.shallowMerge(Hs,CB);jE.exports=Hs});import{stdin as kc,stdout as ih}from"node:process";function oh(e){let t=new Map;for(let p of e.tools)t.set(p.name,p);let n=new Map;for(let p of e.resources??[])n.set(p.uri,p);let r=!1,i="",o={start:()=>{kc.setEncoding("utf8"),kc.on("data",p=>s(typeof p=="string"?p:p.toString("utf8"))),kc.on("end",()=>a("stdin-end")),kc.on("error",()=>a("stdin-error"))}};function a(p){if(!r){r=!0;try{ih.write(JSON.stringify({jsonrpc:"2.0",method:"notifications/message",params:{level:"info",data:`server closing: ${p}`}})+`
10
+ `)}catch{}}}function s(p){for(i+=p;;){let m=i.indexOf(`
11
+ `);if(m===-1)return;let g=i.slice(0,m).trim();if(i=i.slice(m+1),!g)continue;let b;try{b=JSON.parse(g)}catch{continue}c(b)}}async function c(p){if(r)return;let m=p.id===void 0,g=p.id??null;try{switch(p.method){case"initialize":{let w={protocolVersion:(p.params??{}).protocolVersion??"2024-11-05",serverInfo:{name:e.serverName,version:e.serverVersion},capabilities:{tools:{},resources:{}},...e.instructions?{instructions:e.instructions}:{}};if(m)return;d({jsonrpc:"2.0",id:g,result:w});return}case"notifications/initialized":{e.onInitialized?.();return}case"notifications/cancelled":return;case"logging/setLevel":{if(m)return;d({jsonrpc:"2.0",id:g,result:{}});return}case"ping":{if(m)return;d({jsonrpc:"2.0",id:g,result:{}});return}case"tools/list":{if(m)return;let b=e.tools.map(h=>({name:h.name,description:h.description,inputSchema:h.inputSchema}));d({jsonrpc:"2.0",id:g,result:{tools:b}});return}case"tools/call":{if(m)return;let b=p.params??{},h=typeof b.name=="string"?b.name:"",w=t.get(h);if(!w){d({jsonrpc:"2.0",id:g,error:{code:-32601,message:`unknown tool: ${h}`}});return}let l=await w.call(b.arguments);d({jsonrpc:"2.0",id:g,result:l});return}case"resources/list":{if(m)return;let b=(e.resources??[]).map(h=>({uri:h.uri,name:h.name,description:h.description,mimeType:h.mimeType}));d({jsonrpc:"2.0",id:g,result:{resources:b}});return}case"resources/read":{if(m)return;let b=p.params??{},h=typeof b.uri=="string"?b.uri:"",w=n.get(h);if(!w){d({jsonrpc:"2.0",id:g,error:{code:-32602,message:`unknown resource: ${h}`}});return}let l=await w.read();d({jsonrpc:"2.0",id:g,result:l});return}case"prompts/list":{if(m)return;d({jsonrpc:"2.0",id:g,result:{prompts:[]}});return}default:{if(m)return;d({jsonrpc:"2.0",id:g,error:{code:-32601,message:`method not found: ${p.method}`}})}}}catch(b){if(m)return;d({jsonrpc:"2.0",id:g,error:{code:-32603,message:b?.message??"internal error"}})}}function d(p){r||ih.write(JSON.stringify(p)+`
12
+ `)}return{server:o,closeServer:a}}import{createHash as f4}from"node:crypto";import uh from"node:os";import ps from"node:path";var sR={dev:{name:"dev",frontendUrl:"http://localhost:21073",backendUrl:"http://localhost:2451/api",authUrl:"https://auth.fewlogs.com",fileUrl:"https://file.fewlogs.com",authDomain:"beepflow.com"},live:{name:"live",frontendUrl:"https://beepflow.com",backendUrl:"https://beepflow.com/api",authUrl:"https://auth.fewlogs.com",fileUrl:"https://file.fewlogs.com",authDomain:"beepflow.com"}};function uR(e){let n=ah(e,"--env")??ah(e,"--environment")??process.env.BEEPFLOW_ENV??"live";if(n==="dev"||n==="live")return n;throw new Error(`invalid BEEPFLOW_ENV: ${n}`)}function sh(e){let t=uR(e);return sR[t]}function ah(e,t){for(let n=0;n<e.length;n+=1){let r=e[n];if(r===t){let o=e[n+1];if(!o)throw new Error(`missing value for ${t}`);return o}let i=`${t}=`;if(r&&r.startsWith(i)){let o=r.slice(i.length);if(!o)throw new Error(`missing value for ${t}`);return o}}}function Ht(){let e=process.argv.slice(2),t=sh(e),n=pu("backend url",[Wo(e,"--backend-url"),process.env.BEEPFLOW_BACKEND_URL,t.backendUrl]),r=pu("frontend url",[Wo(e,"--frontend-url"),process.env.BEEPFLOW_FRONTEND_URL,t.frontendUrl]),i=pu("auth url",[Wo(e,"--auth-url"),process.env.BEEPFLOW_AUTH_URL,t.authUrl]),o=pu("file url",[Wo(e,"--file-url"),process.env.BEEPFLOW_FILE_URL,t.fileUrl]),a=pu("auth domain",[Wo(e,"--auth-domain"),process.env.BEEPFLOW_AUTH_DOMAIN,t.authDomain]),s=Wo(e,"--token-store-path")??process.env.BEEPFLOW_TOKEN_STORE_PATH??cR(),c=Wo(e,"--replicated-state-db-path")??process.env.BEEPFLOW_REPLICATED_STATE_DB_PATH??lR();return{environmentName:t.name,frontendUrl:r.replace(/\/+$/,""),backendUrl:n.replace(/\/+$/,""),authUrl:i.replace(/\/+$/,""),fileUrl:o.replace(/\/+$/,""),authDomain:a,jwtFromEnvironment:Wo(e,"--jwt")??process.env.BEEPFLOW_JWT,tokenStorePath:s,replicatedStateDatabasePath:c}}function Wo(e,t){for(let n=0;n<e.length;n+=1){let r=e[n];if(r===t){let o=e[n+1];if(!o)throw new Error(`missing value for ${t}`);return o}let i=`${t}=`;if(r&&r.startsWith(i)){let o=r.slice(i.length);if(!o)throw new Error(`missing value for ${t}`);return o}}}function cR(){let e=process.env.APPDATA;if(e)return ps.join(e,"beepflow-mcp","backend-access-token.json");let t=process.env.XDG_CONFIG_HOME;return t?ps.join(t,"beepflow-mcp","backend-access-token.json"):ps.join(uh.homedir(),".config","beepflow-mcp","backend-access-token.json")}function lR(){let e=process.env.LOCALAPPDATA;if(e)return ps.join(e,"beepflow-mcp","replicated-state.sqlite");let t=process.env.XDG_CACHE_HOME;return t?ps.join(t,"beepflow-mcp","replicated-state.sqlite"):ps.join(uh.homedir(),".cache","beepflow-mcp","replicated-state.sqlite")}function pu(e,t){for(let n of t)if(typeof n=="string"&&n.trim())return n;throw new Error(`missing ${e}`)}import Ic from"node:fs/promises";import pR from"node:path";import fR from"node:crypto";function Oo(e){let t=e.split(".");if(t.length<2)return{accessToken:e,email:void 0,exp:void 0,provider:void 0};let n=dR(t[1]??"");if(!n)return{accessToken:e,email:void 0,exp:void 0,provider:void 0};let r;try{r=JSON.parse(n)}catch{return{accessToken:e,email:void 0,exp:void 0,provider:void 0}}let i=typeof r.email=="string"?r.email.toLowerCase():void 0,o=typeof r.exp=="number"?r.exp:void 0,a=typeof r.provider=="string"?r.provider:void 0;return{accessToken:e,email:i,exp:o,provider:a}}function ch(e){return e?e.length<=12?`${e.slice(0,4)}\u2026`:`${e.slice(0,6)}\u2026${e.slice(-4)}`:""}function xc(){return fR.randomBytes(9).toString("base64url")}function dR(e){if(!e)return;let t=e.replace(/-/g,"+").replace(/_/g,"/"),n=(4-t.length%4)%4,r=t+"=".repeat(n);try{return Buffer.from(r,"base64").toString("utf8")}catch{return}}async function fi(){let e=Ht();return e.jwtFromEnvironment?e.jwtFromEnvironment:(await fh(e.tokenStorePath))?.accessToken}async function ms(e){let t=Ht(),n=Oo(e),r={accessToken:e,email:n.email,provider:n.provider,exp:n.exp};return await mR(t.tokenStorePath,r),r}async function lh(){let e=Ht(),t=await fh(e.tokenStorePath)!==void 0;return await Ic.rm(e.tokenStorePath,{force:!0}),{backendUrl:e.backendUrl,deleted:t}}function Pc(e){return{email:e.email,provider:e.provider,exp:e.exp,accessToken:ch(e.accessToken)}}async function fh(e){try{let t=await Ic.readFile(e,"utf8"),n=JSON.parse(t);return!n||typeof n!="object"||typeof n.accessToken!="string"?void 0:n}catch{return}}async function mR(e,t){await Ic.mkdir(pR.dirname(e),{recursive:!0}),await Ic.writeFile(e,JSON.stringify(t,null,2)+`
13
+ `,"utf8")}async function dh(e){let t=Ht(),n=await fetch(`${t.authUrl}/email/request-code`,{method:"POST",headers:{"content-type":"application/json",domain:t.authDomain},body:JSON.stringify({email:e})});if(!n.ok){let r=await n.text().catch(()=>"");throw new Error(`email/request-code failed: ${n.status} ${r}`.trim())}}async function ph(e,t){let n=Ht(),r=await fetch(`${n.authUrl}/email/verify-code`,{method:"POST",headers:{"content-type":"application/json",domain:n.authDomain},body:JSON.stringify({email:e,code:t})}),i=await r.json().catch(()=>{});if(!r.ok)throw new Error(`email/verify-code failed: ${r.status}`);let o=typeof i?.access_token=="string"?i.access_token:"";if(!o)throw new Error("email/verify-code failed: missing access_token");let a=await ms(o);return{backendUrl:n.backendUrl,...Pc(a)}}import hR from"node:crypto";import{spawn as _R}from"node:child_process";import{setTimeout as gR}from"node:timers/promises";async function mh(){let e=await bR(),t=Date.now()+12e4;for(;Date.now()<t;){let n=await vR(e.requestId);if(n.status!=="pending")return{...e,...n};await gR(1500)}return{...e,status:"pending",message:"Timed out waiting for Google sign-in. Run auth_google_sign_in again to retry."}}async function bR(){let e=Ht(),t=hR.randomUUID(),n=new URL(`${e.authUrl}/google-form`);return n.searchParams.set("requestId",t),n.searchParams.set("scopes","openid email profile"),{requestId:t,url:n.toString(),browserOpened:SR(n.toString())}}async function vR(e){let t=Ht(),n=new URL(`${t.authUrl}/google-auth-token`);n.searchParams.set("id",e);let r=await fetch(n.toString(),{headers:{domain:t.authDomain}}),i=await r.json().catch(()=>{});if(r.status===400&&i?.error==="Token not found")return{status:"pending",requestId:e};if(!r.ok)return{status:"failed",requestId:e,message:`google-auth-token failed: ${r.status}`};let o=typeof i?.access_token=="string"?i.access_token:"";if(!o)return{status:"pending",requestId:e};let a=await ms(o);return{status:"authenticated",requestId:e,backendUrl:t.backendUrl,...Pc(a)}}function SR(e){let t="xdg-open",n=[e];switch(process.platform){case"darwin":t="open";break;case"win32":t="rundll32",n=["url.dll,FileProtocolHandler",e];break}try{let r=_R(t,n,{detached:!0,stdio:"ignore"});return r.on("error",()=>{}),r.unref(),!0}catch{return!1}}async function di(e){let t=Oo(e);if(t.provider!=="google"||!t.exp)return e;let n=Date.now(),r=t.exp*1e3,i=300*1e3;if(r-n>=i)return e;let o=Ht(),a=await fetch(`${o.authUrl}/google-refresh`,{method:"GET",headers:{Authorization:`Bearer ${e}`}}),s=await a.json().catch(()=>{});if(!a.ok)return e;let c=typeof s?.access_token=="string"?s.access_token:"";return c?(await ms(c),c):e}var hh={allowedConnectionTypes:["BaseEvent","BaseLookup","BaseVector","DiscordChannelWebhook","Gorgias","GoogleDrive","GoogleSheets","LMStudio","OpenRouter"],allowedBlueprintResourceTypes:["BaseEventCollection","BaseLookupCollection","BaseVectorCollection","GoogleDriveFile","GorgiasEvent","GorgiasTicket"],hasFullWorkspaceAccess:!1},yR={allowedConnectionTypes:"all",allowedBlueprintResourceTypes:"all",hasFullWorkspaceAccess:!0},ER={"javioverflow@gmail.com":yR};function Gf(e){return e?ER[e.toLowerCase()]??hh:hh}function hs(e,t){return e.allowedConnectionTypes==="all"?!0:e.allowedConnectionTypes.includes(t)}function Nc(e,t){return t==="ManualTick"||e.allowedBlueprintResourceTypes==="all"?!0:e.allowedBlueprintResourceTypes.includes(t)}async function _h(){let e=await fi();if(!e)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let t=await di(e),n=Oo(t).email;if(!n)throw new Error("current jwt does not include email");return n}async function po(){let e=await fi();if(!e)return Gf(void 0);let t=await di(e);return Gf(Oo(t).email)}async function wa(e){if(!hs(await po(),e))throw new Error(`integration type is not enabled for current user: ${e}`)}async function Fc(e){if(!Nc(await po(),e))throw new Error(`blueprint resource type is not enabled for current user: ${e}`)}async function gh(e){if(!(await po()).hasFullWorkspaceAccess)throw new Error(`full workspace access is required for resource: ${e}`)}function Mc(e,t){let n=t.split("/")[0];return n==="Base"||hs(e,n)}async function bh(e){let t=Ht(),n=await fetch(`${t.backendUrl}/users/is-member`,{method:"GET",headers:{Authorization:`Bearer ${e}`}});if(!n.ok){let i=await n.text().catch(()=>"");throw new Error(`users/is-member failed: ${n.status} ${i}`.trim())}if((await n.json().catch(()=>{}))?.isMember!==!0)throw new Error("user not member of workspace")}import{isDeepStrictEqual as JR}from"node:util";import TR from"node:crypto";import AR from"node:fs";import RR from"node:path";import{DatabaseSync as wR}from"node:sqlite";var Lc=class{database;databasePath;scope;constructor(t,n){this.databasePath=t,this.scope=n}async loadItems(t){let n=this.getDatabase().prepare("select key, value_json from replicated_items where scope = ? and resource = ?").all(this.scope,t),r={};for(let i of n)r[i.key]=JSON.parse(i.value_json);return n.length>0?r:null}async persistItem(t,n,r){this.getDatabase().prepare(`insert into replicated_items (scope, resource, key, value_json, saved_at_ms)
7
14
  values (?, ?, ?, ?, ?)
8
15
  on conflict(scope, resource, key) do update set
9
16
  value_json = excluded.value_json,
10
- saved_at_ms = excluded.saved_at_ms`).run(this.scope,e,n,JSON.stringify(r),Date.now())}async deleteResource(e){this.getDatabase().prepare("delete from replicated_items where scope = ? and resource = ?").run(this.scope,e)}async clearAll(){this.getDatabase().prepare("delete from replicated_items where scope = ?").run(this.scope)}close(){this.database?.close(),this.database=void 0}getDatabase(){return this.database?this.database:(Po.mkdirSync(Eo.dirname(this.databasePath),{recursive:!0}),this.database=new No(this.databasePath),this.database.exec(`
17
+ saved_at_ms = excluded.saved_at_ms`).run(this.scope,t,n,JSON.stringify(r),Date.now())}async deleteResource(t){this.getDatabase().prepare("delete from replicated_items where scope = ? and resource = ?").run(this.scope,t)}async clearAll(){this.getDatabase().prepare("delete from replicated_items where scope = ?").run(this.scope)}close(){this.database?.close(),this.database=void 0}getDatabase(){return this.database?this.database:(AR.mkdirSync(RR.dirname(this.databasePath),{recursive:!0}),this.database=new wR(this.databasePath),this.database.exec(`
11
18
  create table if not exists replicated_items (
12
19
  scope text not null,
13
20
  resource text not null,
@@ -16,10 +23,10 @@ import{stdin as Je,stdout as nn}from"node:process";function rn(t){let e=new Map;
16
23
  saved_at_ms integer not null,
17
24
  primary key (scope, resource, key)
18
25
  )
19
- `),this.database)}};function gn(t){let e=t??"unknown-user";return Bo.createHash("sha256").update(e).digest("hex")}function hn(t,e,n){let r=t.replace(/^http/,"ws"),o=encodeURIComponent(e),i=encodeURIComponent(n);return`${r}/base/${o}/${i}`}var He=class{websocket;sessionId=ze();backendUrl;accessToken;channelListeners=new Map;disconnectListeners=new Set;ackWaiters=new Map;intentionallyClosed=!1;constructor(e,n){this.backendUrl=e,this.accessToken=n}async connect(e){this.intentionallyClosed=!1,this.sessionId=ze();let n=hn(this.backendUrl,this.accessToken,this.sessionId),r=new WebSocket(n,"echo");this.websocket=r,await new Promise((o,i)=>{let s=setTimeout(()=>i(new Error("websocket open timeout")),e);r.onopen=()=>{clearTimeout(s),o()},r.onerror=()=>{clearTimeout(s),i(new Error("websocket open failed"))}}),r.onmessage=o=>this.processMessage(o.data),r.onclose=()=>this.processClose(),r.onerror=()=>this.processClose()}getSessionId(){return this.sessionId}send(e,n){if(!this.websocket||this.websocket.readyState!==WebSocket.OPEN)throw new Error("gateway websocket not connected");this.websocket.send(`${e};${JSON.stringify(n)}`)}sendWithAck(e,n,r=5e3){let o=ze(),i={...n,eventId:o};return new Promise(s=>{let a=setTimeout(()=>{this.ackWaiters.delete(o),s({ok:!1,reason:"timeout"})},r);this.ackWaiters.set(o,{resolve:s,timeout:a}),this.send(e,i)})}onChannel(e,n){return this.channelListeners.has(e)||this.channelListeners.set(e,new Set),this.channelListeners.get(e).add(n),()=>this.channelListeners.get(e)?.delete(n)}onDisconnected(e){return this.disconnectListeners.add(e),()=>this.disconnectListeners.delete(e)}waitForChannelEvent(e,n,r){return new Promise((o,i)=>{let s=setTimeout(()=>{a(),i(new Error(`channel event timeout: ${e}`))},r),a=this.onChannel(e,c=>{n(c)&&(clearTimeout(s),a(),o(c))})})}collectChannelEvents(e,n,r,o){return new Promise((i,s)=>{let a=[],c,d=setTimeout(()=>{h(),c&&clearTimeout(c),s(new Error(`channel event timeout: ${e}`))},r),l=()=>{clearTimeout(d),h(),i(a)},h=this.onChannel(e,y=>{n(y)&&(a.push(y),c&&clearTimeout(c),c=setTimeout(l,o))})})}close(){this.intentionallyClosed=!0,this.websocket?.close(),this.websocket=void 0;for(let e of this.ackWaiters.values())clearTimeout(e.timeout),e.resolve({ok:!1,reason:"closed"});this.ackWaiters.clear()}processMessage(e){let n=typeof e=="string"?e:"",r=n.indexOf(";");if(r===-1)return;let o=n.slice(0,r),i=n.slice(r+1),s;try{s=JSON.parse(i)}catch{return}if(o.startsWith("ack:")){this.resolveAck(o.slice(4),s);return}s=Ao(s);let a=this.channelListeners.get(o);if(a)for(let c of a)c(s)}resolveAck(e,n){let r=this.ackWaiters.get(e);r&&(this.ackWaiters.delete(e),clearTimeout(r.timeout),r.resolve(n.value??{ok:!1}))}processClose(){if(!this.intentionallyClosed)for(let e of this.disconnectListeners)e()}};function Ao(t){if(t.resource!=="connections")return t;switch(t.action){case"snapshot":return{...t,value:Do(t.value)};case"delta":return{...t,value:Oo(t.value)};default:return t}}function Do(t){if(!xt(t))return t;let e={};for(let n in t)e[n]=bn(t[n]);return e}function Oo(t){return xt(t)?{...t,pre:yn(t.pre),post:yn(t.post)}:t}function yn(t){return t===null?null:bn(t)}function bn(t){if(!xt(t))return t;let e={...t};return delete e.config,e}function xt(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var vt="beepflow://resource-schemas/",I={type:"number",description:"Nanoseconds since Unix epoch. Omit updatedAt on creates and manual edits unless preserving an existing value; replicated state updates it after accepted writes."},u={type:"string"},re={type:"number"},wn={type:"integer"},N={type:"boolean"};var Rn={type:"object",additionalProperties:u},Bt={type:"object",additionalProperties:N},Ze={type:"object",additionalProperties:{type:"object",additionalProperties:N,properties:{list:N,detail:N,create:N,edit:N,delete:N,authorize:N}}},me=["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"],kn=["ManualTick","AerospikeSet","ApacheKafkaTopic","MQTTTopic","KaggleFile","RabbitMQQueue","RabbitMQStream","ShopifyWebhook","QdrantCollection","BaseVectorCollection","BaseEventCollection","BaseLookupCollection","GorgiasEvent","GorgiasTicket","GoogleDriveFile","GmailMessage","GmailThread","GmailEvent"],ge={anyOf:[N,{type:"null"}]},Co=["Use resource_query first when editing existing items; upsert sends whole item state, not a JSON patch. Preserve unchanged fields.","Omit updatedAt on creates and manual edits unless preserving an existing value; replicated state updates it after accepted writes."];function x(t,e,n){let r=`${vt}${t}`;return{resource:t,uri:r,sourceType:e,notes:Co,itemSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",title:`Beepflow ${t} item`,type:"object",additionalProperties:!1,required:n.required,properties:n.properties,...n.defs?{$defs:n.defs}:{}}}}var Pt={$ref:"#/$defs/operatorType"},_o={type:"object",additionalProperties:!1,required:["value"],properties:{value:{description:"Raw option value written to node input literal when selected."},label:{...u,description:"Optional label shown in operator input dropdowns."}}},Mo={type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:me,description:'Blueprint value type name. Use "list of X" for lists, never "list".'},options:{anyOf:[{type:"array",items:_o},{type:"null"}],description:"Allowed literal values for dropdown-style widgets."},isArray:{type:"boolean",description:"Whether this pin accepts multiple values."},allowedTypes:{anyOf:[{type:"array",items:Pt},{type:"null"}],description:"Allowed concrete types for wildcard pins."},linkType:{...u,description:"Type-linking group used to propagate wildcard types across pins."},widgetType:{...u,description:'Frontend input widget id. Supports built-in widgets, integration selectors, and "<IntegrationType>-connection" connection dropdowns.'},defaultValue:{description:"Default literal value used when node input omits a value."},defaultValueForArrayElement:{description:"Default literal value for newly added array input elements."}}},$o={type:"object",additionalProperties:!1,required:["name","doc","type"],properties:{name:{...u,description:"Output pin name."},doc:{...u,description:"Operator output documentation shown to users."},type:Pt}},Fo={type:"object",additionalProperties:!1,required:["name","doc","type"],properties:{name:{...u,description:"Input pin name; node inputs are keyed by this value."},doc:{...u,description:"Operator input documentation shown to users."},type:Pt,isLiteral:{...N,description:"Whether this input must be edited as literal value instead of upstream connection."}}},Tn=x("blueprint-operators","frontend/src/tabs/blueprint/types.ts:Operator",{required:["id","type","name","doc","categoryPath","inputs"],properties:{id:{...u,description:"Stable registered operator id referenced by blueprint nodes."},type:{...u,description:"Operator kind, usually function, variable, or localVariable."},name:{...u,description:"Display name used in operator search and node labels."},aliases:{type:"array",items:u,description:"Additional search terms for this operator."},doc:{...u,description:"Operator documentation shown to users."},categoryPath:{type:"array",items:u,description:"Menu category path segments."},inputs:{type:"array",items:Fo,description:"Input pins in display order."},output:{anyOf:[$o,{type:"null"}],description:"Output pin definition, or null for side-effect-only operators."},isDeprecated:{...N,description:"Whether operator is deprecated and hidden from default search."},hidden:{...N,description:"Whether operator is hidden from menus and search."},canMock:{...N,description:"Whether test mode can mock this operator."},updatedAt:I},defs:{operatorType:Mo}});var Wo={type:"object",additionalProperties:!1,properties:{x:{...re,description:"Optional node world x coordinate in blueprint editor. For new nodes, never specify style.x; omit it so the frontend can place nodes after measuring dimensions."},y:{...re,description:"Optional node world y coordinate in blueprint editor. For new nodes, never specify style.y; omit it so the frontend can place nodes after measuring dimensions."},title:{...u,description:"Optional display title shown on node."},comment:{...u,description:"Optional user-authored node comment."}}},qo={type:"object",additionalProperties:!0,description:"Blueprint view node. For new nodes, never specify style.x or style.y; omit coordinates so the frontend can place nodes after measuring dimensions. Known visualization blocks are intentionally accepted as additional properties.",required:["id"],properties:{id:{...u,description:"Node id; must match key in blueprint view nodes record."},style:Wo}},Sn=x("blueprint-views","frontend/src/tabs/blueprint/types.ts:BlueprintView",{required:["id","nodes"],properties:{id:{...u,description:"Blueprint tab id; must match tabs and blueprints resource id."},updatedAt:I,nodes:{type:"object",additionalProperties:qo,description:"Editor view state keyed by node id."}}});var Ye={type:"string",description:"Integration resource type processed by this blueprint, such as ApacheKafkaTopic or QdrantCollection. Call integration_blueprint_contexts_list first; use only resource types returned by that tool. The returned executionKind determines trigger choice: managed resources use executor, finite resources use manual/cron/loop/blueprint/webhook based on user intent."},et={type:"object",additionalProperties:!0,description:"Integration-specific config for context.type. Start from contextTemplate.config returned by integration_blueprint_contexts_list, fill every configFields item where required=true, and preserve optional defaults such as consumerGroupId, clientId, parser, offsetResetStrategy, orderBy, or webhook topic maps when provided."},tt={type:"object",additionalProperties:!1,required:["enabled"],properties:{enabled:{type:"boolean",description:"Must be true. Backend ignores this trigger branch when enabled is false."}}},Et={...tt.properties.enabled,enum:[!0]},jo=["auto","application/json","text/plain","text/html","application/xml","application/x-www-form-urlencoded","multipart/form-data","application/octet-stream"],Uo={type:"object",additionalProperties:!1,required:["count"],description:"Run immediately when explore runtime starts or restarts. Use for finite resource sampling, one-shot imports, and ad hoc reads.",properties:{count:{type:"integer",minimum:1,description:"Number of executions to run back-to-back. Frontend default is 1; backend coerces values below 1 to 1."}}},Lo={type:"object",additionalProperties:!1,required:["expression"],description:"Run on a seconds-field cron schedule while explore runtime is active. Use for scheduled finite-resource refreshes.",properties:{expression:{type:"string",description:"Cron expression with six fields including seconds, parsed by robfig/cron. Example: 0 */5 * * * * runs every five minutes."},timezone:{type:"string",description:"Optional IANA timezone name such as UTC or America/New_York. Backend uses UTC when omitted or empty."}}},Jo={type:"object",additionalProperties:!1,required:["delayMs"],description:"Run immediately, then wait delayMs before repeating while explore runtime is active. Use only for deliberate fixed-delay polling.",properties:{delayMs:{type:"integer",minimum:1,description:"Delay between executions in milliseconds. Must be positive to avoid a hot loop."}}},In={...tt,description:"Wait while active until another blueprint or Trigger Self operator invokes this blueprint. Trigger argument is available through Get Trigger Argument."},Nt={type:"object",additionalProperties:!1,required:["enabled"],description:"Wait while active for generic GET/POST /:tabId/trigger HTTP calls. Request method, URL, parsed body, headers, and timestamp become trigger argument. Webhook URL is `${status.backendUrl}/${encodeURIComponent(blueprint.id)}/trigger` and runs only while blueprint is active in explore mode.",properties:{enabled:tt.properties.enabled,timeoutMs:{type:"integer",minimum:1,description:"Maximum synchronous webhook execution time in milliseconds. Backend uses 30000 when omitted or below 1."},contentType:{type:"string",enum:jo,description:"Request body parser. Omit or use auto to infer from incoming Content-Type, then fall back to JSON sniffing, UTF-8 text, then binary. Not for integration webhook resources such as ShopifyWebhook or GorgiasEvent; those use executor."}}},xn={...tt,description:"Use for managed integration resources where runtime owns stream, event, webhook, or poll lifecycle, such as ApacheKafkaTopic, RabbitMQStream, ShopifyWebhook, GorgiasEvent, GmailMessage, GmailThread, GmailEvent, BaseEventCollection, and MQTTTopic."},Xe={type:"object",additionalProperties:!1,minProperties:1,maxProperties:1,description:"Exactly one trigger branch. For executionKind=managed from integration_blueprint_contexts_list, use executor. For executionKind=finite, choose manual for ad hoc/sample/start-once runs, cron for scheduled refresh, loop for fixed-delay polling, blueprint for invocation by another blueprint, or webhook for generic GET/POST /:tabId/trigger HTTP calls.",properties:{manual:Uo,cron:Lo,loop:Jo,blueprint:In,webhook:Nt,executor:xn},oneOf:[{required:["manual"]},{required:["cron"]},{required:["loop"]},{required:["blueprint"]},{required:["webhook"]},{required:["executor"]}]},vn={...Xe,properties:{...Xe.properties,blueprint:{...In,properties:{enabled:Et}},webhook:{...Nt,properties:{...Nt.properties,enabled:Et}},executor:{...xn,properties:{enabled:Et}}}};var Vo={type:"object",additionalProperties:!1,required:["literal"],properties:{literal:{description:"Literal JSON value for this input element; null is valid when connected upstream."},nodeId:{...u,description:"Upstream node id when this value is connected to another node output."},operatorInputId:{...u,description:"Upstream output pin name used by this connection."},nodeInputIndex:{...u,description:'CRDT list index of upstream output value. Use "0.5" for any connected node output.'}}},zo={type:"object",additionalProperties:!1,required:["values"],properties:{isArray:{...ge,description:"Whether input accepts multiple values for one operator input."},values:{type:"object",additionalProperties:Vo,description:"Input values keyed by CRDT list index strings."},type:{type:"string",enum:me,description:"Resolved input type override."},forceZipping:{...ge,description:"Force list zipping behavior for multiple upstream values."}}},Go={type:"object",additionalProperties:!1,required:["id","operatorId","inputs"],properties:{id:{...u,description:"Stable node id; must match key in blueprint nodes record."},operatorId:{...u,description:"Id of registered blueprint operator this node executes."},inputs:{type:"object",additionalProperties:zo,description:"Node inputs keyed by operator input name."},mockNever:{...ge,description:"Disable mocking for this node while testing."},skipBehavior:{type:"string",enum:["skip","null"],description:"Behavior when upstream value is skipped."},disabled:{...ge,description:"Whether this node and downstream dependent nodes are disabled."},outputType:{type:"string",enum:me,description:"Resolved output type for wildcard operators."}}},Ko={type:"object",additionalProperties:!1,required:["type","trigger"],properties:{type:Ye,trigger:vn,config:et}},Bn=x("blueprints","frontend/src/tabs/blueprint/types.ts:Blueprint",{required:["id","mode","nodes","context"],properties:{id:{...u,description:"Blueprint tab id; must match tabs resource id."},updatedAt:I,mode:{type:"string",enum:["test","explore"],description:'Execution mode; result id is blueprint id plus "-test" or "-explore".'},nodes:{type:"object",additionalProperties:Go,description:"Blueprint nodes keyed by node id."},context:Ko,testRecordsAmount:{...wn,description:"Target number of test records to keep for test mode."},recomputeOnChange:{type:"string",enum:["always","manual"],description:"Whether edits automatically restart execution."},mockNever:{...N,description:"Global flag to disable node mocking while testing."},desiredState:{type:"string",enum:["active","inactive"],description:"Requested runtime state for test or explore mode."}}});var Qo=["Aerospike","ApacheKafka","MQTT","Kaggle","FacebookAds","RabbitMQ","Shopify","YouTube","Webshare","Playwright","AWS","Qdrant","OpenAI","BaseVector","BaseEvent","BaseLookup","Gorgias","LMStudio","OpenRouter","VoyageAI","GoogleDrive","GoogleSheets","Gmail","DiscordChannelWebhook"],Pn=x("connections","frontend/src/integrations/types.ts:Connection",{required:["id","label","type","spaceId"],properties:{id:u,updatedAt:I,label:u,type:{type:"string",enum:Qo},spaceId:u}});var En=x("roles","frontend/src/auth/roles/types.ts:Role",{required:["id","label","authorizations"],properties:{id:u,updatedAt:I,label:u,authorizations:Ze}});var Nn=x("schemas","frontend/src/integrations/types.ts:Schema",{required:["id","type","connectionId","path","schema"],properties:{id:u,updatedAt:I,type:{type:"string",enum:kn},connectionId:u,path:Rn,schema:{type:"object",additionalProperties:{type:"string",enum:me}},keySerdeType:{type:"string"},valueSerdeType:{type:"string"}}});var An=x("space-join-requests","frontend/src/spaces/space-join-requests/types.ts:SpaceJoinRequest",{required:["id","createdAt","requestedBy","kind","status","spaceId","userId"],properties:{id:u,createdAt:{type:"number",description:"Nanoseconds since Unix epoch."},updatedAt:I,requestedBy:u,kind:{type:"string",enum:["invite","request"]},status:{type:"string",enum:["pending","granted","denied"]},spaceId:u,userId:u}});var Dn=x("spaces","frontend/src/spaces/types.ts:Space",{required:["id","label"],properties:{id:u,updatedAt:I,label:u,thumbnailUrl:u,description:u,isUserSpace:ge}});var On=x("tabs","frontend/src/tabs/types.ts:Tab",{required:["id","name","order","type","parent","spaceId"],properties:{id:{...u,description:"Stable tab id. Blueprint tabs normally have matching blueprints and blueprint-views records keyed by this id."},updatedAt:I,name:u,order:re,type:{type:"string",enum:["blueprint","folder"],description:"Navigation item kind; blueprint tabs normally have matching blueprints and blueprint-views records."},parent:u,spaceId:u}});var Cn=x("user-locations","frontend/src/workspace/user-location/types.ts:UserLocation",{required:["id"],properties:{id:u,updatedAt:I,blueprint:{type:"object",additionalProperties:!1,required:["id"],properties:{id:u,worldPosition:{type:"object",additionalProperties:!1,required:["x","y"],properties:{x:re,y:re}}}}}});var _n=x("users","frontend/src/auth/users/types.ts:User",{required:["id","displayName","roleIds","authorizations","spaces"],properties:{id:u,updatedAt:I,displayName:u,avatarUrl:u,roleIds:Bt,authorizations:Ze,spaces:Bt}});var nt=[_n,En,Dn,On,Pn,Nn,Bn,Sn,Tn,Cn,An];function rt(t){return nt.find(e=>e.resource===t)}var At=[U("users","Workspace users and authorizations.",!0),U("roles","Workspace roles and resource authorizations.",!0),U("spaces","Workspace spaces.",!0),U("tabs","Tabs and folders visible to authorized user; blueprint tabs normally share an id with blueprints and blueprint-views records.",!0),U("connections","Read-only integration connections without secret-bearing config; config is redacted and cannot be read through MCP.",!1),U("schemas","Integration schema metadata.",!0),U("blueprints","Blueprint definitions keyed by matching blueprint tab id.",!0),U("blueprint-views","Blueprint editor view state keyed by matching blueprint tab id.",!0),U("blueprint-operators","Registered blueprint operator definitions.",!1),U("user-locations","Live user location records.",!0),U("space-join-requests","Space invitation and join requests.",!0)],Ho=["tabs","blueprints","blueprint-views"],Dt=new Set(Ho),he=At.filter(t=>!Dt.has(t.name)),Ne=he.map(t=>t.name),Mn=At.map(t=>t.name);function Zo(t){return At.find(e=>e.name===t)}function $n(t){return he.find(e=>e.name===t)}function Fn(t){if(Zo(t))return t;throw new Error(`unsupported resource: ${t}`)}function Ot(t){if(Dt.has(t))throw new Error(`dedicated resource ${t}: use tab and blueprint intent tools instead of generic resource_* tools`);if($n(t))return t;throw new Error(`unsupported resource: ${t}`)}function Ct(t){let e=$n(t);if(Dt.has(t))throw new Error(`dedicated resource ${t}: use tab and blueprint intent tools instead of generic resource_* tools`);if(!e)throw new Error(`unsupported resource: ${t}`);if(!e.writable)throw new Error(`resource is read-only: ${t}`);return e.name}function U(t,e,n){return{name:t,description:e,writable:n,schemaUri:`${vt}${t}`}}function z(){return Date.now()*1e6}function Mt(t,e){if(t===null&&e===null)return{pre:null,post:null};if(t===null&&e!==null)return{pre:null,post:e};if(t!==null&&e===null)return{pre:t,post:null};if(typeof t!="object"||typeof e!="object")return t!==e?{pre:t,post:e}:{pre:null,post:null};if(Array.isArray(t)||Array.isArray(e))return{pre:null,post:null};let{pre:n,post:r}=Wn(t,e);return n===null&&r===null?{pre:null,post:null}:{pre:n,post:r}}function Wn(t,e){let n={},r={},o=!1,i=new Set([...V(t),...V(e)]);for(let s of i){if(s==="updatedAt")continue;let a=t[s],c=e[s];if(Array.isArray(a)||Array.isArray(c))continue;let d=oe(a),l=oe(c);if(!(s in e))d||(n[s]=a,r[s]=null,o=!0);else if(!(s in t))l||(n[s]=null,r[s]=c,o=!0);else{if(d&&l)continue;if(d&&!l)n[s]=null,r[s]=c,o=!0;else if(!d&&l)n[s]=a,r[s]=null,o=!0;else{let{pre:h,post:y}=Xo(a,c);(h!==void 0||y!==void 0)&&(h!==void 0&&(n[s]=_t(h)),y!==void 0&&(r[s]=_t(y)),o=!0)}}}return o?V(n).length===0&&V(r).length===0?{pre:null,post:null}:V(n).length===0?{pre:null,post:r}:V(r).length===0?{pre:n,post:null}:{pre:n,post:r}:{pre:null,post:null}}function Xo(t,e){if(Yo(t,e))return{pre:void 0,post:void 0};let n=oe(t),r=oe(e);if(n&&r)return{pre:void 0,post:void 0};if(n)return{pre:null,post:e};if(r)return{pre:t,post:null};if(Array.isArray(t)||Array.isArray(e))return{pre:void 0,post:void 0};if(typeof t!=typeof e)return{pre:t,post:e};if(typeof t=="object"&&t!==null&&typeof e=="object"&&e!==null){let{pre:o,post:i}=Wn(t,e);return o===null&&i===null?{pre:void 0,post:void 0}:{pre:o===null?void 0:o,post:i===null?void 0:i}}return{pre:t,post:e}}function oe(t){return t==null?!0:typeof t=="object"&&t!==null?Array.isArray(t)?t.length===0:V(t).length===0:!1}function Yo(t,e){return oe(t)&&oe(e)?!0:$t(t,e)}function $t(t,e){if(t===e)return!0;if(t==null||e==null||typeof t!="object"||typeof e!="object")return!1;let n=V(t),r=V(e);if(n.length!==r.length)return!1;for(let o of n)if(!(o in e)||!$t(t[o],e[o]))return!1;return!0}function ot(t,e){return e.pre===null?t===null:t===null||typeof t!="object"||Array.isArray(t)?!1:qn(t,e.pre)}function qn(t,e){for(let n in e)if(n!=="updatedAt"&&!ei(t[n],e[n]))return!1;return!0}function ei(t,e){return e===null||ti(e)?oe(t):t===void 0?!1:typeof e=="object"&&e!==null&&!Array.isArray(e)&&typeof t=="object"&&t!==null&&!Array.isArray(t)?qn(t,e):$t(t,e)}function ti(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&V(t).length===0}function _t(t){if(t==null)return null;if(typeof t=="object"&&t!==null){if(Array.isArray(t)&&t.length===0)return null;if(!Array.isArray(t)){let e={},n=!1;for(let r in t)e[r]=_t(t[r]),e[r]!==void 0&&(n=!0);return n?e:null}}return t}function Ft(t,e){let n=Wt(t,e);return n!==null&&typeof n=="object"&&!Array.isArray(n)&&(n.updatedAt=e.updatedAt),n}function Wt(t,e){return e.post===null?null:t===null?e.post:typeof t!="object"||Array.isArray(t)?e.post:jn(t,e.post)}function jn(t,e){let n={};for(let r in t)if(r in e){let o=e[r];if(o===null)continue;typeof o=="object"&&!Array.isArray(o)&&typeof t[r]=="object"&&!Array.isArray(t[r])&&t[r]!==null?n[r]=jn(t[r],o):n[r]=o}else n[r]=t[r];for(let r in e)!(r in t)&&e[r]!==null&&(n[r]=e[r]);return n}function V(t){let e=[];for(let n in t)e.push(n);return e}var Un="replicated-state",it=class{ackedResources={};dirtyResources={};unauthorizedKeys={};loadingResources={};loadingPromises=new Map;loadedResources=new Set;registeredResources=new Set;resourceChangeListeners=new Set;snapshotWaiters=new Map;storage;socketSession;logger;inflightItems=new Map;constructor(e,n,r){this.storage=e,this.socketSession=n,this.logger=r}onResourceChange(e){return this.resourceChangeListeners.add(e),()=>this.resourceChangeListeners.delete(e)}registerResource(e){this.registeredResources.add(e),this.initializeResource(e)}isResourceRegistered(e){return this.registeredResources.has(e)}getRegisteredResources(){return Array.from(this.registeredResources)}setDirtyItems(e,n){this.registerResource(e),this.dirtyResources[e]=C(n)}setDirtyItem(e,n,r){if(this.registerResource(e),r===void 0){delete this.dirtyResources[e][n];return}this.dirtyResources[e][n]=C(r)}clearSessionState(){this.ackedResources={},this.loadingResources={},this.loadingPromises.clear(),this.loadedResources.clear(),this.inflightItems.clear();for(let e of this.registeredResources)this.dirtyResources[e]={},this.unauthorizedKeys[e]={},this.loadingResources[e]=!0,this.emitResourceChange(e)}async loadRegisteredResourcesFromStorage(){await Promise.all(Array.from(this.registeredResources,e=>this.loadResourceFromStorage(e)))}async hydrate(e,n){this.registerResource(e),await this.loadResourceFromStorage(e),this.logger.info(`Calculating lastUpdatedAtSeen from ${Jn(this.ackedResources[e])} items`);let r=this.prepareSnapshotQuery(e,n);this.logger.info(`\u{1F4F8} ${e} requested with query:`,r),this.socketSession.send(Un,{resource:e,action:"snapshot",value:r})}hydrateAll(e){return this.hydrate(e,{all:!0})}async waitForSnapshot(e,n){await new Promise((r,o)=>{let i,s=()=>{clearTimeout(i),r()};i=setTimeout(()=>{this.snapshotWaiters.get(e)?.delete(s),o(new Error(`snapshot timeout for ${e}`))},n),this.snapshotWaiters.has(e)||this.snapshotWaiters.set(e,new Set),this.snapshotWaiters.get(e).add(s)})}processSocketEvent(e){switch(e.action){case"snapshot":this.applySnapshot(e.resource,e.value??{});break;case"delta":this.applyRemoteDelta(e);break}}async upsertItem(e,n){this.registerResource(e);let r=this.getAckedValue(e,n.id),o=Mt(r,n);return o.pre===null&&o.post===null?!0:this.sendDelta(e,n.id,o,n)}async deleteItem(e,n){this.registerResource(e);let r=this.getAckedValue(e,n),o=Mt(r,null);return o.pre===null&&o.post===null?!0:this.sendDelta(e,n,o,null)}isItemInflight(e,n){return this.inflightItems.get(e)?.has(n)===!0}async sendDelta(e,n,r,o){this.registerResource(e),this.inflightItems.has(e)||this.inflightItems.set(e,new Set);let i=this.inflightItems.get(e);if(i.has(n))return!1;let s=this.getDirtyValue(e,n);ot(s,r)&&(arguments.length>=4?this.setDirtyValue(e,n,C(o)):this.setDirtyValue(e,n,Wt(s,C(r))),this.emitResourceChange(e)),i.add(n);let a;try{a=await this.socketSession.sendWithAck(Un,{resource:e,action:"delta",key:n,value:r})}catch(c){a={ok:!1,reason:c instanceof Error?c.message:"error"}}return i.delete(n),a.ok?!0:(this.revertDirtyToAckedValue(e,n),this.emitResourceChange(e),this.logger.error(`!ack[${e}] Reverting to acked state for ${e}:${n}`,a.reason),!1)}getAckedValue(e,n){return this.initializeResource(e),this.ackedResources[e][n]??null}getDirtyValue(e,n){return this.initializeResource(e),this.dirtyResources[e][n]??null}getVisibleItems(e){this.initializeResource(e);let n={};for(let r in this.dirtyResources[e]){let o=this.dirtyResources[e][r];o!=null&&(n[r]=o)}return n}getRawItems(e){return this.initializeResource(e),C(this.dirtyResources[e])}getAckedItems(e){return this.initializeResource(e),C(this.ackedResources[e])}getUnauthorizedKeys(e){return this.initializeResource(e),C(this.unauthorizedKeys[e])}isResourceLoading(e){return this.initializeResource(e),this.loadingResources[e]}initializeResource(e){this.ackedResources[e]===void 0&&(this.ackedResources[e]={}),this.dirtyResources[e]===void 0&&(this.dirtyResources[e]={}),this.unauthorizedKeys[e]===void 0&&(this.unauthorizedKeys[e]={}),this.loadingResources[e]===void 0&&(this.loadingResources[e]=!0)}prepareSnapshotQuery(e,n){this.initializeResource(e);let r=C(n);if(r.lastUpdatedAtSeen!==void 0)return r;let o=this.buildLastUpdatedAtSeen(e,r);return Ln(o)||(r.lastUpdatedAtSeen=o),r}async loadResourceFromStorage(e){if(this.initializeResource(e),this.loadedResources.has(e))return;if(this.loadingPromises.has(e))return this.loadingPromises.get(e);let n=this.loadResourceItemsFromStorage(e);this.loadingPromises.set(e,n);try{await n}finally{this.loadingPromises.delete(e),this.loadedResources.add(e)}}async loadResourceItemsFromStorage(e){let n=!1,r=0;try{let o=await this.storage.loadItems(e);if(o&&Ln(this.ackedResources[e])){n=!0;for(let i in o)this.applyCachedItem(e,i,o[i])&&(r+=1)}}catch(o){this.logger.warn(`Failed to load cached ${e}: ${String(o)}`)}finally{this.loadingResources[e]=!1,this.emitResourceChange(e),n?this.logger.info(`\u{1F4C2} ${r}x ${e} from cache`):this.logger.info(`\u{1F4C2} no cached data for ${e}`)}}applyCachedItem(e,n,r){return r===null?(this.ackedResources[e][n]=null,this.dirtyResources[e][n]=null,!0):r==="unauthorized"?(this.unauthorizedKeys[e][n]=!0,!1):(this.ackedResources[e][n]=C(r),this.dirtyResources[e][n]=C(r),!0)}applySnapshot(e,n){this.initializeResource(e);for(let r in n){let o=n[r];o===null?(this.ackedResources[e][r]=null,this.dirtyResources[e][r]=null,delete this.unauthorizedKeys[e][r]):o==="unauthorized"?(delete this.ackedResources[e][r],delete this.dirtyResources[e][r],this.unauthorizedKeys[e][r]=!0):(this.ackedResources[e][r]=C(o),this.dirtyResources[e][r]=C(o),delete this.unauthorizedKeys[e][r]),this.storage.persistItem(e,r,o).catch(i=>{this.logger.warn(`Failed to persist ${e}:${r}: ${String(i)}`)})}this.loadingResources[e]=!1,this.emitResourceChange(e),this.logger.info(`\u{1F4F8} ${Jn(n)}x ${e} `),this.resolveSnapshotWaiters(e)}applyRemoteDelta(e){let n=e.resource,r=e.key;if(!r)return;this.initializeResource(n);let o=e.value,i={pre:o.pre,post:o.post},s=this.getAckedValue(n,r);if(!ot(s,i))this.logger.error(`\u{1D6AB}S precondition invalid on last acked for ${n}:${r}`,{pre:i.pre,post:i.post,current:s});else{let c=Ft(s,C(o));this.ackedResources[n][r]=c,this.storage.persistItem(n,r,c).catch(d=>{this.logger.warn(`Failed to persist ${n}:${r}: ${String(d)}`)}),this.logger.info(qt(`\u{1D6AB}S[${n}] acked`,i))}let a=this.getDirtyValue(n,r);e.by!==this.socketSession.getSessionId()?ot(a,i)?i.post===null?(this.dirtyResources[n][r]=null,this.logger.info(qt(`\u{1D6AB}S[${n}] dirty`,i))):(this.dirtyResources[n][r]=Ft(a,C(o)),this.logger.info(qt(`\u{1D6AB}S[${n}] dirty`,i))):(this.logger.warn(`Skip delta on dirty for ${n}:${r}`,{pre:i.pre,post:i.post,current:s}),this.revertDirtyToAckedValue(n,r)):i.post!=null&&a!=null&&typeof a=="object"&&(a.updatedAt=o.updatedAt,this.dirtyResources[n][r]=a,this.logger.info(`\u{1D6AB}S[${n}] dirty updatedAt for ${r}`)),this.emitResourceChange(n)}buildLastUpdatedAtSeen(e,n){let r=this.ackedResources[e],o={};if(n.all){for(let i in r)this.copyItemUpdatedAt(r[i],i,o);return o}if(n.keys&&n.keys.length>0)for(let i of n.keys)this.copyItemUpdatedAt(r[i],i,o);return o}copyItemUpdatedAt(e,n,r){e&&typeof e=="object"&&typeof e.updatedAt=="number"&&(r[n]=e.updatedAt)}setDirtyValue(e,n,r){if(r===null){this.dirtyResources[e][n]=null;return}this.dirtyResources[e][n]=r}revertDirtyToAckedValue(e,n){let r=this.ackedResources[e][n];if(r===void 0){delete this.dirtyResources[e][n];return}if(r===null){this.dirtyResources[e][n]=null;return}this.dirtyResources[e][n]=C(r)}emitResourceChange(e){let n={resource:e,acked:this.getAckedItems(e),dirty:this.getRawItems(e),unauthorized:this.getUnauthorizedKeys(e),loading:this.loadingResources[e]};for(let r of this.resourceChangeListeners)r(n)}resolveSnapshotWaiters(e){let n=this.snapshotWaiters.get(e);if(n){this.snapshotWaiters.delete(e);for(let r of n)r()}}};function C(t){if(t===void 0)return t;if(typeof structuredClone=="function")try{return structuredClone(t)}catch{}try{return JSON.parse(JSON.stringify(t))}catch{return t}}function Ln(t){for(let e in t)return!1;return!0}function Jn(t){let e=0;for(let n in t)e+=1;return e}function qt(t,e){return`${t}
20
- delta.pre: ${JSON.stringify(e.pre)}
21
- delta.post: ${JSON.stringify(e.post)}`}var st=15e3,ri=2e3,Lt=class{replicatedState;recordStorage;gatewaySocketSession;startPromise;reconnectTimer;registeredResources=new Set(Mn);closed=!1;start(){return this.startPromise?this.startPromise:(this.closed=!1,this.startPromise=this.connectAndHydrate().catch(e=>{throw this.startPromise=void 0,e}),this.startPromise)}async hydrateResource(e,n={all:!0}){this.registerResource(e),await this.start(),await this.hydrateConnectedResource(e,n)}async readResourceItems(e,n={all:!0}){return this.registerResource(e),await this.start(),this.filterVisibleItems(e,n)}async readResourceItem(e,n){this.registerResource(e),await this.start();let r=this.replicatedState?.getVisibleItems(e)[n]??null;return Vn(e,r)}async upsertResourceItem(e,n){if(this.registerResource(e),await this.start(),!this.replicatedState)throw new Error("replicated state not initialized");return this.replicatedState.upsertItem(e,n)}async deleteResourceItem(e,n){if(this.registerResource(e),await this.start(),!this.replicatedState)throw new Error("replicated state not initialized");return this.replicatedState.deleteItem(e,n)}waitForChannelEvent(e,n,r=st){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");return this.gatewaySocketSession.waitForChannelEvent(e,o=>n(o),r)}collectChannelEvents(e,n,r=st,o=250){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");return this.gatewaySocketSession.collectChannelEvents(e,i=>n(i),r,o)}sendChannelEvent(e,n){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");this.gatewaySocketSession.send(e,n)}close(){this.closed=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.startPromise=void 0,this.gatewaySocketSession?.close(),this.recordStorage?.close(),this.gatewaySocketSession=void 0,this.recordStorage=void 0,this.replicatedState=void 0}registerResource(e){Fn(e),this.registeredResources.add(e),this.replicatedState?.registerResource(e)}async connectAndHydrate(){let e=await X();if(!e)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let n=await Y(e);await mn(n);let r=k(),o=ne(n),i=gn(o.email);this.gatewaySocketSession?.close(),this.recordStorage?.close(),this.recordStorage=new Qe(r.replicatedStateDatabasePath,i),this.gatewaySocketSession=new He(r.backendUrl,n),this.replicatedState=new it(this.recordStorage,this.gatewaySocketSession,ai),this.gatewaySocketSession.onChannel("replicated-state",s=>this.replicatedState?.processSocketEvent(s)),this.gatewaySocketSession.onDisconnected(()=>this.scheduleReconnect());for(let s of this.registeredResources)this.replicatedState.registerResource(s);await this.gatewaySocketSession.connect(st),await this.replicatedState.loadRegisteredResourcesFromStorage(),await this.hydrateRegisteredResources()}async hydrateRegisteredResources(){await Promise.all(Array.from(this.registeredResources,e=>this.hydrateConnectedResource(e,{all:!0})))}async hydrateConnectedResource(e,n){if(!this.replicatedState)throw new Error("replicated state not initialized");let r=this.replicatedState.waitForSnapshot(e,st);await this.replicatedState.hydrate(e,n),await r}filterVisibleItems(e,n){let r=this.replicatedState?.getVisibleItems(e)??{},o={};for(let i in r)oi(i,r[i],n)&&(o[i]=Vn(e,r[i]));return o}scheduleReconnect(){this.closed||this.reconnectTimer||(this.startPromise=void 0,this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.start().catch(()=>this.scheduleReconnect())},ri))}};function oi(t,e,n){return ii(t,e,n.lastUpdatedAtSeen)?!!(n.all||n.keys?.includes(t)||si(e,n.fieldEqualTo)):!1}function Vn(t,e){if(t!=="connections"||!e||typeof e!="object"||Array.isArray(e))return e;let n={...e};return delete n.config,n}function ii(t,e,n){let r=n?.[t];if(r===void 0||!e||typeof e!="object")return!0;let o=e.updatedAt;return typeof o!="number"||o>r}function si(t,e){if(!e||!t||typeof t!="object")return!1;let n=t,r=!1;for(let o in e)if(r=!0,!ni(n[o],e[o]))return!1;return r}var ai={info(t,e){jt("info",t,e)},warn(t,e){jt("warn",t,e)},error(t,e){jt("error",t,e)}};function jt(t,e,n){let r=n===void 0?"":` ${JSON.stringify(n)}`;process.stderr.write(`[replicated-state:${t}] ${e}${r}
22
- `)}var Ut;function Re(){return Ut||(Ut=new Lt),Ut}import{isDeepStrictEqual as ci}from"node:util";function E(t,e){let n=rt(t);if(!n)throw new Error(`missing schema for resource: ${t}`);let r={failures:[],rootSchema:n.itemSchema};if(ke(n.itemSchema,e,"$",r),r.failures.length===0)return;let o=r.failures.slice(0,5).map(i=>`${i.path} ${i.message}`).join("; ");throw new Error(`item does not match ${t} schema: ${o}`)}function ke(t,e,n,r){if(t===!0)return;if(t===!1)return G(r,n,"is not allowed");if(!wi(t))return;let o=t.$ref;if(typeof o=="string"){ke(yi(o,r.rootSchema),e,n,r);return}pi(t,e,n,r)&&(di(t,e,n,r),ui(t,e,n,r),li(t,e,n,r),mi(t,e,n,r))}function pi(t,e,n,r){if(!Array.isArray(t.anyOf))return!0;for(let o of t.anyOf){let i={failures:[],rootSchema:r.rootSchema};if(ke(o,e,n,i),i.failures.length===0)return!1}return G(r,n,"does not match any allowed schema"),!1}function di(t,e,n,r){let o=t.enum;if(Array.isArray(o)){for(let i of o)if(ci(e,i))return;G(r,n,`must be one of ${o.map(String).join(", ")}`)}}function ui(t,e,n,r){let o=t.type;if(typeof o=="string"&&!zn(e,o)){G(r,n,`must be ${o}`);return}if(Array.isArray(o)){for(let i of o)if(typeof i=="string"&&zn(e,i))return;G(r,n,`must be ${o.map(String).join(" or ")}`)}}function li(t,e,n,r){if(t.type!=="object"||!Ae(e))return;let o=Ae(t.properties)?t.properties:{};fi(t,e,n,r);for(let i of hi(t))(!(i in e)||e[i]===void 0)&&G(r,`${n}.${i}`,"is required");for(let i in e){if(e[i]===void 0){G(r,`${n}.${i}`,"must not be undefined");continue}if(i in o){ke(o[i],e[i],`${n}.${i}`,r);continue}gi(t,e[i],`${n}.${i}`,r)}}function fi(t,e,n,r){let o=0;for(let a in e)Object.prototype.hasOwnProperty.call(e,a)&&o++;let i=t.minProperties;typeof i=="number"&&o<i&&G(r,n,`must have at least ${i} properties`);let s=t.maxProperties;typeof s=="number"&&o>s&&G(r,n,`must have at most ${s} properties`)}function mi(t,e,n,r){if(t.type!=="array"||!Array.isArray(e))return;let o=t.items;if(o!==void 0)for(let i=0;i<e.length;i++)ke(o,e[i],`${n}[${i}]`,r)}function gi(t,e,n,r){let o=t.additionalProperties;if(o===!1){G(r,n,"is not allowed");return}o===void 0||o===!0||ke(o,e,n,r)}function hi(t){return Array.isArray(t.required)?t.required.filter(e=>typeof e=="string"):[]}function yi(t,e){if(!t.startsWith("#/"))return!1;let n=e,r=t.slice(2).split("/").map(bi);for(let o of r){if(!Ae(n)||!(o in n))return!1;n=n[o]}return n}function bi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function zn(t,e){switch(e){case"array":return Array.isArray(t);case"boolean":return typeof t=="boolean";case"integer":return Number.isInteger(t);case"null":return t===null;case"number":return typeof t=="number"&&Number.isFinite(t);case"object":return Ae(t);case"string":return typeof t=="string";default:return!0}}function wi(t){return Ae(t)}function Ae(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function G(t,e,n){t.failures.push({path:e,message:n})}import Jt from"node:fs/promises";import Ri from"node:os";import Gn from"node:path";var ki=15e3;async function at(t){let e=await Qn({method:"GET",path:t});if(!e.ok)throw await Hn(t,e);return await e.json()}async function Kn(t){let e=await Qn(t),n={status:e.status,statusText:e.statusText,headers:Bi(e.headers)};if(e.status>=300&&e.status<400)return{...n,location:e.headers.get("location")};if(!e.ok)throw await Hn(t.path,e);return t.responseMode==="binary"?await Ai(e,t,n):(e.headers.get("content-type")??"").includes("application/json")?{...n,body:await e.json().catch(()=>null)}:{...n,body:await e.text().catch(()=>"")}}async function Qn(t){let e=await Si(),n=xi(t.path,t.query),r=new Headers({Authorization:`Bearer ${e}`}),o=t.timeoutMs??ki;Ii(r,t.headers);let i={method:t.method,headers:r,redirect:"manual",signal:AbortSignal.timeout(o)};t.requestMode==="multipart"?i.body=await Pi(t):t.requestMode==="form"?(i.body=Ni(t.body),r.set("Content-Type","application/x-www-form-urlencoded")):t.body!==void 0&&t.method!=="GET"&&t.method!=="HEAD"&&(r.set("Content-Type","application/json"),i.body=JSON.stringify(t.body));try{return await fetch(n,i)}catch(s){throw Ti(s)?new Error(`backend endpoint timed out after ${o}ms: ${t.path}`):s}}function Ti(t){return t instanceof DOMException&&(t.name==="TimeoutError"||t.name==="AbortError")}async function Si(){let t=await X();if(!t)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");return await Y(t)}function Ii(t,e){if(e)for(let n in e){let r=e[n];r!=null&&t.set(n,String(r))}}function xi(t,e){if(!t.startsWith("/"))throw new Error(`backend endpoint path must start with /: ${t}`);let n=k(),r=new URL(`${n.backendUrl}${t}`);return vi(r,e),r.toString()}function vi(t,e){if(e)for(let n in e){let r=e[n];if(r!=null){if(Array.isArray(r)){for(let o of r)t.searchParams.append(n,String(o));continue}t.searchParams.set(n,String(r))}}}function Bi(t){let e={};return t.forEach((n,r)=>{e[r]=n}),e}async function Pi(t){let e=new FormData,n=t.body;if(n&&typeof n=="object"&&!Array.isArray(n))for(let o in n){let i=n[o];i!=null&&e.set(o,String(i))}let r=t.files??{};for(let o in r)e.set(o,await Ei(r[o]),r[o].fileName??o);return e}async function Ei(t){if(t.filePath)return new Blob([await Jt.readFile(t.filePath)],{type:t.contentType});if(t.base64)return new Blob([Buffer.from(t.base64,"base64")],{type:t.contentType});throw new Error("multipart file input must include filePath or base64")}function Ni(t){let e=new URLSearchParams;if(!t||typeof t!="object"||Array.isArray(t))return e;for(let n in t){let r=t[n];r!=null&&e.set(n,String(r))}return e}async function Ai(t,e,n){let r=Buffer.from(await t.arrayBuffer()),o=e.outputFilePath??Di(t);return await Jt.mkdir(Gn.dirname(o),{recursive:!0}),await Jt.writeFile(o,r),{...n,filePath:o,sizeBytes:r.byteLength,contentType:t.headers.get("content-type")}}function Di(t){let e=t.headers.get("content-disposition")??"",r=/filename="?([^";]+)"?/i.exec(e)?.[1]?.replace(/[^A-Za-z0-9._-]/g,"_")||`beepflow-download-${Date.now()}.bin`;return Gn.join(Ri.tmpdir(),"beepflow-mcp-downloads",r)}async function Hn(t,e){let n=await e.text().catch(()=>"");return new Error(`${t} failed: ${e.status} ${n}`.trim())}async function Vt(t){return _i(await zt(t))}async function Xn(){return await at("/integrations")}async function Yn(t,e){return await at(`/integrations/blueprint-contexts${Oi(t,e)}`)}async function zt(t){return Ci(await at(`/integrations/${encodeURIComponent(t)}/openapi`))}function Oi(t,e){let n=new URLSearchParams;t&&n.set("integrationType",t),e&&n.set("resourceType",e);let r=n.toString();return r?`?${r}`:""}async function er(t){let n=(await Vt(t.integrationType)).find(o=>o.operationId===t.operationId);if(!n)throw new Error(`unsupported integration endpoint: ${t.operationId}`);Ui(n,t.confirm);let r=Li(n,t.payload);if(n.requestMode==="none"&&r.body!==void 0)throw new Error(`integration endpoint ${n.operationId} has requestBody=null; remove body-only fields from payload`);return await Kn({method:n.method,path:Ki(n,r.path),query:r.query,headers:r.headers,body:r.body,requestMode:n.requestMode,responseMode:n.responseMode,files:r.files,outputFilePath:t.outputFilePath})}function Ci(t){let e=De(t,"paths");for(let n in e){let r=e[n];if(T(r))for(let o in r){let i=r[o];T(i)&&(i.payloadSchema=tr(i))}}return t}function _i(t){let e=De(t,"paths"),n=[];for(let r in e){let o=e[r];if(T(o))for(let i in o){let s=o[i];T(s)&&n.push(Mi(i.toUpperCase(),r,s))}}return n}function Mi(t,e,n){let r=De(n,"x-beepflow");return{operationId:ye(n,"operationId"),integrationType:ye(r,"integrationType"),resourceType:Hi(r,"resourceType"),method:t,path:e,originalPath:ye(r,"originalPath"),summary:ye(n,"summary"),access:ye(r,"access"),sideEffect:ye(r,"sideEffect"),mcpExposure:ye(r,"mcpExposure"),requestMode:or(n),responseMode:qi(n),pathParameters:Qi(e),parameters:rr(n),payloadSchema:tr(n),requestBody:_(n,"requestBody"),responses:De(n,"responses"),runtimeUse:"mcp-only",externalAppUse:"forbidden",externalAppAlternative:"Create/use a blueprint with webhook trigger and call /api/:tabId/trigger."}}function tr(t){let e=or(t),n=Wi(t,e),r={type:"object",additionalProperties:!1,properties:{}},o=r.properties,i=[];for(let s of rr(t))!T(s)||typeof s.name!="string"||!T(s.schema)||(o[s.name]=s.schema,s.required===!0&&i.push(s.name));return $i(r,o,i,n,e),i.length&&(r.required=i),r}function $i(t,e,n,r,o){if(!r)return;let i=_(r,"properties");if(!i){t.additionalProperties=r.additionalProperties??!0;return}for(let a in i)e[a]=Fi(i[a],o);r.additionalProperties!==void 0&&r.additionalProperties!==!1&&(t.additionalProperties=r.additionalProperties);let s=r.required;if(Array.isArray(s))for(let a of s)typeof a=="string"&&n.push(a)}function Fi(t,e){return e!=="multipart"||!T(t)||t.format!=="binary"?t:{type:"object",additionalProperties:!1,description:"Multipart file input. Provide filePath or base64 content.",properties:{filePath:{type:"string",description:"Local file path to read and upload."},base64:{type:"string",description:"Base64-encoded file content."},fileName:{type:"string",description:"File name to send for base64 content."},contentType:{type:"string",description:"MIME type for uploaded content."}}}}function Wi(t,e){let n=_(t,"requestBody");if(!n)return null;let r=_(n,"content");if(!r)return null;let o=nr(e),i=_(r,o);return i?_(i,"schema"):null}function nr(t){switch(t){case"multipart":return"multipart/form-data";case"form":return"application/x-www-form-urlencoded";default:return"application/json"}}function rr(t){let e=t.parameters;if(e==null)return[];if(!Array.isArray(e))throw new Error("invalid integration OpenAPI schema: parameters must be array");return e}function or(t){let e=_(t,"requestBody");if(!e)return"none";let n=_(e,"content");return n?T(n["multipart/form-data"])?"multipart":T(n["application/x-www-form-urlencoded"])?"form":(T(n["application/json"]),"json"):"none"}function qi(t){let e=De(t,"responses");for(let o in e)if(o.startsWith("3")&&T(e[o]))return"redirect";let n=ji(e);if(!n)return"empty";let r=_(n,"content");return r?T(r["application/octet-stream"])?"binary":T(r["text/plain"])?"text":(T(r["application/json"]),"json"):"empty"}function ji(t){if(T(t[200]))return t[200];for(let e in t)if(e.startsWith("2")&&T(t[e]))return t[e];return null}function Ui(t,e){if(!(t.mcpExposure==="safe"&&t.sideEffect!=="destructive")&&e!==!0)throw new Error(`integration endpoint requires confirm=true: ${t.operationId}`)}function Li(t,e){let n={path:{},query:{},headers:{}},r=e??{},o=Gi(t);for(let i of t.parameters){if(!T(i)||typeof i.name!="string"||typeof i.in!="string")continue;let s=r[i.name];s!==void 0&&(i.in==="path"&&(n.path[i.name]=s),i.in==="query"&&(n.query[i.name]=s),i.in==="header"&&(n.headers[i.name]=s))}if(t.requestMode!=="none")Ji(t,r,o,n);else for(let i in r)o.has(i)||(n.body={[i]:r[i]});return n}function Ji(t,e,n,r){let o=zi(t),i=o?_(o,"properties"):null,s={},a={};if(i){for(let c in i)Vi(t,c,e[c],s,a);if(o?.additionalProperties!==void 0&&o.additionalProperties!==!1)for(let c in e)!n.has(c)&&i[c]===void 0&&(s[c]=e[c])}else if(o?.additionalProperties!==!1)for(let c in e)n.has(c)||(s[c]=e[c]);Zn(s)&&(r.body=s),Zn(a)&&(r.files=a)}function Vi(t,e,n,r,o){if(n!==void 0){if(t.requestMode==="multipart"&&T(n)&&(typeof n.filePath=="string"||typeof n.base64=="string")){o[e]=n;return}r[e]=n}}function zi(t){if(!t.requestBody)return null;let e=_(t.requestBody,"content"),n=e?_(e,nr(t.requestMode)):null;return n?_(n,"schema"):null}function Gi(t){let e=new Set;for(let n of t.parameters)T(n)&&typeof n.name=="string"&&e.add(n.name);return e}function Zn(t){for(let e in t)if(t[e]!==void 0)return!0;return!1}function Ki(t,e){let n=t.path;for(let r of t.pathParameters){let o=e?.[r];if(typeof o!="string"&&typeof o!="number")throw new Error(`integration endpoint path parameter required: ${r}`);n=n.replace(`{${r}}`,encodeURIComponent(String(o)))}return n}function Qi(t){let e=[];for(let n of t.matchAll(/\{([^}]+)\}/g))n[1]&&e.push(n[1]);return e}function De(t,e){if(!T(t)||!T(t[e]))throw new Error(`invalid integration OpenAPI schema: ${e} must be object`);return t[e]}function _(t,e){if(!T(t)||t[e]===void 0||t[e]===null)return null;if(!T(t[e]))throw new Error(`invalid integration OpenAPI schema: ${e} must be object`);return t[e]}function ye(t,e){if(typeof t[e]!="string")throw new Error(`invalid integration OpenAPI schema: ${e} must be string`);return t[e]}function Hi(t,e){if(t[e]===void 0||t[e]===null)return null;if(typeof t[e]!="string")throw new Error(`invalid integration OpenAPI schema: ${e} must be string`);return t[e]}function T(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}var ir="For Beepflow tasks, call status first and follow the instructions field returned in the status response. Treat client-saved tool outputs as historical logs; verify resource ids with live MCP queries.",Oe=`
26
+ `),this.database)}};function vh(e){let t=e??"unknown-user";return TR.createHash("sha256").update(t).digest("hex")}function Sh(e,t,n){let r=e.replace(/^http/,"ws"),i=encodeURIComponent(t),o=encodeURIComponent(n);return`${r}/base/${i}/${o}`}var Bc=class{websocket;sessionId=xc();backendUrl;accessToken;channelListeners=new Map;disconnectListeners=new Set;ackWaiters=new Map;intentionallyClosed=!1;constructor(t,n){this.backendUrl=t,this.accessToken=n}async connect(t){this.intentionallyClosed=!1,this.sessionId=xc();let n=Sh(this.backendUrl,this.accessToken,this.sessionId),r=new WebSocket(n,"echo");this.websocket=r,await new Promise((i,o)=>{let a=setTimeout(()=>o(new Error("websocket open timeout")),t);r.onopen=()=>{clearTimeout(a),i()},r.onerror=()=>{clearTimeout(a),o(new Error("websocket open failed"))}}),r.onmessage=i=>this.processMessage(i.data),r.onclose=()=>this.processClose(),r.onerror=()=>this.processClose()}getSessionId(){return this.sessionId}send(t,n){if(!this.websocket||this.websocket.readyState!==WebSocket.OPEN)throw new Error("gateway websocket not connected");this.websocket.send(`${t};${JSON.stringify(n)}`)}sendWithAck(t,n,r=5e3){let i=xc(),o={...n,eventId:i};return new Promise(a=>{let s=setTimeout(()=>{this.ackWaiters.delete(i),a({ok:!1,reason:"timeout"})},r);this.ackWaiters.set(i,{resolve:a,timeout:s}),this.send(t,o)})}onChannel(t,n){return this.channelListeners.has(t)||this.channelListeners.set(t,new Set),this.channelListeners.get(t).add(n),()=>this.channelListeners.get(t)?.delete(n)}onDisconnected(t){return this.disconnectListeners.add(t),()=>this.disconnectListeners.delete(t)}waitForChannelEvent(t,n,r){return new Promise((i,o)=>{let a=setTimeout(()=>{s(),o(new Error(`channel event timeout: ${t}`))},r),s=this.onChannel(t,c=>{n(c)&&(clearTimeout(a),s(),i(c))})})}collectChannelEvents(t,n,r,i){return new Promise((o,a)=>{let s=[],c,d=setTimeout(()=>{m(),c&&clearTimeout(c),a(new Error(`channel event timeout: ${t}`))},r),p=()=>{clearTimeout(d),m(),o(s)},m=this.onChannel(t,g=>{n(g)&&(s.push(g),c&&clearTimeout(c),c=setTimeout(p,i))})})}close(){this.intentionallyClosed=!0,this.websocket?.close(),this.websocket=void 0;for(let t of this.ackWaiters.values())clearTimeout(t.timeout),t.resolve({ok:!1,reason:"closed"});this.ackWaiters.clear()}processMessage(t){let n=typeof t=="string"?t:"",r=n.indexOf(";");if(r===-1)return;let i=n.slice(0,r),o=n.slice(r+1),a;try{a=JSON.parse(o)}catch{return}if(i.startsWith("ack:")){this.resolveAck(i.slice(4),a);return}a=DR(a);let s=this.channelListeners.get(i);if(s)for(let c of s)c(a)}resolveAck(t,n){let r=this.ackWaiters.get(t);r&&(this.ackWaiters.delete(t),clearTimeout(r.timeout),r.resolve(n.value??{ok:!1}))}processClose(){if(!this.intentionallyClosed)for(let t of this.disconnectListeners)t()}};function DR(e){if(e.resource!=="connections")return e;switch(e.action){case"snapshot":return{...e,value:CR(e.value)};case"delta":return{...e,value:OR(e.value)};default:return e}}function CR(e){if(!Wf(e))return e;let t={};for(let n in e)t[n]=Eh(e[n]);return t}function OR(e){return Wf(e)?{...e,pre:yh(e.pre),post:yh(e.post)}:e}function yh(e){return e===null?null:Eh(e)}function Eh(e){if(!Wf(e))return e;let t={...e};return delete t.config,t}function Wf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Hf="beepflow://resource-schemas/",nn={type:"number",description:"Nanoseconds since Unix epoch. Omit updatedAt on creates and manual edits unless preserving an existing value; replicated state updates it after accepted writes."},_e={type:"string"},Ho={type:"number"},Th={type:"integer"},Pr={type:"boolean"};var Ah={type:"object",additionalProperties:_e},Xf={type:"object",additionalProperties:Pr},Uc={type:"object",additionalProperties:{type:"object",additionalProperties:Pr,properties:{list:Pr,detail:Pr,create:Pr,edit:Pr,delete:Pr,authorize:Pr}}},Da=["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"],Rh=["ManualTick","AerospikeSet","ApacheKafkaTopic","MQTTTopic","KaggleFile","RabbitMQQueue","RabbitMQStream","ShopifyWebhook","QdrantCollection","BaseVectorCollection","BaseEventCollection","BaseLookupCollection","GorgiasEvent","GorgiasTicket","GoogleDriveFile","GmailMessage","GmailThread","GmailEvent"],Ca={anyOf:[Pr,{type:"null"}]},kR=["Use resource_query first when editing existing items; upsert sends whole item state, not a JSON patch. Preserve unchanged fields.","Omit updatedAt on creates and manual edits unless preserving an existing value; replicated state updates it after accepted writes."];function rn(e,t,n){let r=`${Hf}${e}`;return{resource:e,uri:r,sourceType:t,notes:kR,itemSchema:{$schema:"https://json-schema.org/draft/2020-12/schema",title:`Beepflow ${e} item`,type:"object",additionalProperties:!1,required:n.required,properties:n.properties,...n.defs?{$defs:n.defs}:{}}}}var $f={$ref:"#/$defs/operatorType"},xR={type:"object",additionalProperties:!1,required:["value"],properties:{value:{description:"Raw option value written to node input literal when selected."},label:{..._e,description:"Optional label shown in operator input dropdowns."}}},IR={type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:Da,description:'Blueprint value type name. Use "list of X" for lists, never "list".'},options:{anyOf:[{type:"array",items:xR},{type:"null"}],description:"Allowed literal values for dropdown-style widgets."},isArray:{type:"boolean",description:"Whether this pin accepts multiple values."},allowedTypes:{anyOf:[{type:"array",items:$f},{type:"null"}],description:"Allowed concrete types for wildcard pins."},linkType:{..._e,description:"Type-linking group used to propagate wildcard types across pins."},widgetType:{..._e,description:'Frontend input widget id. Supports built-in widgets, integration selectors, and "<IntegrationType>-connection" connection dropdowns.'},defaultValue:{description:"Default literal value used when node input omits a value."},defaultValueForArrayElement:{description:"Default literal value for newly added array input elements."}}},PR={type:"object",additionalProperties:!1,required:["name","doc","type"],properties:{name:{..._e,description:"Output pin name."},doc:{..._e,description:"Operator output documentation shown to users."},type:$f}},NR={type:"object",additionalProperties:!1,required:["name","doc","type"],properties:{name:{..._e,description:"Input pin name; node inputs are keyed by this value."},doc:{..._e,description:"Operator input documentation shown to users."},type:$f,isLiteral:{...Pr,description:"Whether this input must be edited as literal value instead of upstream connection."}}},wh=rn("blueprint-operators","frontend/src/tabs/blueprint/types.ts:Operator",{required:["id","type","name","doc","categoryPath","inputs"],properties:{id:{..._e,description:"Stable registered operator id referenced by blueprint nodes."},type:{..._e,description:"Operator kind, usually function, variable, or localVariable."},name:{..._e,description:"Display name used in operator search and node labels."},aliases:{type:"array",items:_e,description:"Additional search terms for this operator."},doc:{..._e,description:"Operator documentation shown to users."},categoryPath:{type:"array",items:_e,description:"Menu category path segments."},inputs:{type:"array",items:NR,description:"Input pins in display order."},output:{anyOf:[PR,{type:"null"}],description:"Output pin definition, or null for side-effect-only operators."},isDeprecated:{...Pr,description:"Whether operator is deprecated and hidden from default search."},hidden:{...Pr,description:"Whether operator is hidden from menus and search."},canMock:{...Pr,description:"Whether test mode can mock this operator."},updatedAt:nn},defs:{operatorType:IR}});var FR={type:"object",additionalProperties:!1,properties:{x:{...Ho,description:"Optional node world x coordinate in blueprint editor. For new nodes, never specify style.x; omit it so the frontend can place nodes after measuring dimensions."},y:{...Ho,description:"Optional node world y coordinate in blueprint editor. For new nodes, never specify style.y; omit it so the frontend can place nodes after measuring dimensions."},title:{..._e,description:"Optional display title shown on node."},comment:{..._e,description:"Optional user-authored node comment."}}},MR={type:"object",additionalProperties:!0,description:"Blueprint view node. For new nodes, never specify style.x or style.y; omit coordinates so the frontend can place nodes after measuring dimensions. Known visualization blocks are intentionally accepted as additional properties.",required:["id"],properties:{id:{..._e,description:"Node id; must match key in blueprint view nodes record."},style:FR}},Dh=rn("blueprint-views","frontend/src/tabs/blueprint/types.ts:BlueprintView",{required:["id","nodes"],properties:{id:{..._e,description:"Blueprint tab id; must match tabs and blueprints resource id."},updatedAt:nn,nodes:{type:"object",additionalProperties:MR,description:"Editor view state keyed by node id."}}});var qc={type:"string",description:"Integration resource type processed by this blueprint, such as ApacheKafkaTopic or QdrantCollection. Call integration_blueprint_contexts_list first; use only resource types returned by that tool. The returned executionKind determines trigger choice: managed resources use executor, finite resources use manual/cron/loop/blueprint/webhook based on user intent."},zc={type:"object",additionalProperties:!0,description:"Integration-specific config for context.type. Start from contextTemplate.config returned by integration_blueprint_contexts_list, fill every configFields item where required=true, and preserve optional defaults such as consumerGroupId, clientId, parser, offsetResetStrategy, orderBy, or webhook topic maps when provided."},Kc={type:"object",additionalProperties:!1,required:["enabled"],properties:{enabled:{type:"boolean",description:"Must be true. Backend ignores this trigger branch when enabled is false."}}},jf={...Kc.properties.enabled,enum:[!0]},LR=["auto","application/json","text/plain","text/html","application/xml","application/x-www-form-urlencoded","multipart/form-data","application/octet-stream"],BR={type:"object",additionalProperties:!1,required:["count"],description:"Run immediately when explore runtime starts or restarts. Use for finite resource sampling, one-shot imports, and ad hoc reads.",properties:{count:{type:"integer",minimum:1,description:"Number of executions to run back-to-back. Frontend default is 1; backend coerces values below 1 to 1."}}},UR={type:"object",additionalProperties:!1,required:["expression"],description:"Run on a seconds-field cron schedule while explore runtime is active. Use for scheduled finite-resource refreshes.",properties:{expression:{type:"string",description:"Cron expression with six fields including seconds, parsed by robfig/cron. Example: 0 */5 * * * * runs every five minutes."},timezone:{type:"string",description:"Optional IANA timezone name such as UTC or America/New_York. Backend uses UTC when omitted or empty."}}},VR={type:"object",additionalProperties:!1,required:["delayMs"],description:"Run immediately, then wait delayMs before repeating while explore runtime is active. Use only for deliberate fixed-delay polling.",properties:{delayMs:{type:"integer",minimum:1,description:"Delay between executions in milliseconds. Must be positive to avoid a hot loop."}}},Ch={...Kc,description:"Wait while active until another blueprint or Trigger Self operator invokes this blueprint. Trigger argument is available through Get Trigger Argument."},Yf={type:"object",additionalProperties:!1,required:["enabled"],description:"Wait while active for generic GET/POST /:tabId/trigger HTTP calls. Request method, URL, parsed body, headers, and timestamp become trigger argument. Webhook URL is `${status.backendUrl}/${encodeURIComponent(blueprint.id)}/trigger` and runs only while blueprint is active in explore mode.",properties:{enabled:Kc.properties.enabled,timeoutMs:{type:"integer",minimum:1,description:"Maximum synchronous webhook execution time in milliseconds. Backend uses 30000 when omitted or below 1."},contentType:{type:"string",enum:LR,description:"Request body parser. Omit or use auto to infer from incoming Content-Type, then fall back to JSON sniffing, UTF-8 text, then binary. Not for integration webhook resources such as ShopifyWebhook or GorgiasEvent; those use executor."}}},Oh={...Kc,description:"Use for managed integration resources where runtime owns stream, event, webhook, or poll lifecycle, such as ApacheKafkaTopic, RabbitMQStream, ShopifyWebhook, GorgiasEvent, GmailMessage, GmailThread, GmailEvent, BaseEventCollection, and MQTTTopic."},Vc={type:"object",additionalProperties:!1,minProperties:1,maxProperties:1,description:"Exactly one trigger branch. For executionKind=managed from integration_blueprint_contexts_list, use executor. For executionKind=finite, choose manual for ad hoc/sample/start-once runs, cron for scheduled refresh, loop for fixed-delay polling, blueprint for invocation by another blueprint, or webhook for generic GET/POST /:tabId/trigger HTTP calls.",properties:{manual:BR,cron:UR,loop:VR,blueprint:Ch,webhook:Yf,executor:Oh},oneOf:[{required:["manual"]},{required:["cron"]},{required:["loop"]},{required:["blueprint"]},{required:["webhook"]},{required:["executor"]}]},kh={...Vc,properties:{...Vc.properties,blueprint:{...Ch,properties:{enabled:jf}},webhook:{...Yf,properties:{...Yf.properties,enabled:jf}},executor:{...Oh,properties:{enabled:jf}}}};var qR={type:"object",additionalProperties:!1,required:["literal"],properties:{literal:{description:"Literal JSON value for this input element; null is valid when connected upstream."},nodeId:{..._e,description:"Upstream node id when this value is connected to another node output."},operatorInputId:{..._e,description:"Upstream output pin name used by this connection."},nodeInputIndex:{..._e,description:'CRDT list index of upstream output value. Use "0.5" for any connected node output.'}}},zR={type:"object",additionalProperties:!1,required:["values"],properties:{isArray:{...Ca,description:"Whether input accepts multiple values for one operator input."},values:{type:"object",additionalProperties:qR,description:"Input values keyed by CRDT list index strings."},type:{type:"string",enum:Da,description:"Resolved input type override."},forceZipping:{...Ca,description:"Force list zipping behavior for multiple upstream values."}}},KR={type:"object",additionalProperties:!1,required:["id","operatorId","inputs"],properties:{id:{..._e,description:"Stable node id; must match key in blueprint nodes record."},operatorId:{..._e,description:"Id of registered blueprint operator this node executes."},inputs:{type:"object",additionalProperties:zR,description:"Node inputs keyed by operator input name."},mockNever:{...Ca,description:"Disable mocking for this node while testing."},skipBehavior:{type:"string",enum:["skip","null"],description:"Behavior when upstream value is skipped."},disabled:{...Ca,description:"Whether this node and downstream dependent nodes are disabled."},outputType:{type:"string",enum:Da,description:"Resolved output type for wildcard operators."}}},GR={type:"object",additionalProperties:!1,required:["type","trigger"],properties:{type:qc,trigger:kh,config:zc}},xh=rn("blueprints","frontend/src/tabs/blueprint/types.ts:Blueprint",{required:["id","mode","nodes","context"],properties:{id:{..._e,description:"Blueprint tab id; must match tabs resource id."},updatedAt:nn,mode:{type:"string",enum:["test","explore"],description:'Execution mode; result id is blueprint id plus "-test" or "-explore".'},nodes:{type:"object",additionalProperties:KR,description:"Blueprint nodes keyed by node id."},context:GR,testRecordsAmount:{...Th,description:"Target number of test records to keep for test mode."},recomputeOnChange:{type:"string",enum:["always","manual"],description:"Whether edits automatically restart execution."},mockNever:{...Pr,description:"Global flag to disable node mocking while testing."},desiredState:{type:"string",enum:["active","inactive"],description:"Requested runtime state for test or explore mode."}}});var WR=["Aerospike","ApacheKafka","MQTT","Kaggle","FacebookAds","RabbitMQ","Shopify","YouTube","Webshare","Playwright","AWS","Qdrant","OpenAI","BaseVector","BaseEvent","BaseLookup","Gorgias","LMStudio","OpenRouter","VoyageAI","GoogleDrive","GoogleSheets","Gmail","DiscordChannelWebhook"],Ih=rn("connections","frontend/src/integrations/types.ts:Connection",{required:["id","label","type","spaceId"],properties:{id:_e,updatedAt:nn,label:_e,type:{type:"string",enum:WR},spaceId:_e}});var Ph=rn("roles","frontend/src/auth/roles/types.ts:Role",{required:["id","label","authorizations"],properties:{id:_e,updatedAt:nn,label:_e,authorizations:Uc}});var Nh=rn("pages","frontend/src/tabs/types.ts:Page",{required:["id","sourceUrl","distUrl"],properties:{id:{..._e,description:"Page tab id; must match tabs resource id."},updatedAt:nn,sourceUrl:{..._e,description:"File-service URL for raw source HTML."},distUrl:{..._e,description:"File-service URL for optimized HTML rendered in a sandbox iframe."}}});var Fh=rn("schemas","frontend/src/integrations/types.ts:Schema",{required:["id","type","connectionId","path","schema"],properties:{id:_e,updatedAt:nn,type:{type:"string",enum:Rh},connectionId:_e,path:Ah,schema:{type:"object",additionalProperties:{type:"string",enum:Da}},keySerdeType:{type:"string"},valueSerdeType:{type:"string"}}});var Mh=rn("space-join-requests","frontend/src/spaces/space-join-requests/types.ts:SpaceJoinRequest",{required:["id","createdAt","requestedBy","kind","status","spaceId","userId"],properties:{id:_e,createdAt:{type:"number",description:"Nanoseconds since Unix epoch."},updatedAt:nn,requestedBy:_e,kind:{type:"string",enum:["invite","request"]},status:{type:"string",enum:["pending","granted","denied"]},spaceId:_e,userId:_e}});var Lh=rn("spaces","frontend/src/spaces/types.ts:Space",{required:["id","label"],properties:{id:_e,updatedAt:nn,label:_e,thumbnailUrl:_e,description:_e,isUserSpace:Ca}});var Bh=rn("tabs","frontend/src/tabs/types.ts:Tab",{required:["id","name","order","type","parent","spaceId"],properties:{id:{..._e,description:"Stable tab id. Blueprint and page tabs normally have matching records keyed by this id."},updatedAt:nn,name:_e,order:Ho,type:{type:"string",enum:["blueprint","folder","page"],description:"Navigation item kind; blueprint and page tabs normally have matching records."},parent:_e,spaceId:_e}});var Uh=rn("user-locations","frontend/src/workspace/user-location/types.ts:UserLocation",{required:["id"],properties:{id:_e,updatedAt:nn,tab:{type:"object",additionalProperties:!1,required:["id"],properties:{id:_e}},blueprint:{type:"object",additionalProperties:!1,required:["id"],properties:{id:_e,worldPosition:{type:"object",additionalProperties:!1,required:["x","y"],properties:{x:Ho,y:Ho}}}}}});var Vh=rn("users","frontend/src/auth/users/types.ts:User",{required:["id","displayName","roleIds","authorizations","spaces"],properties:{id:_e,updatedAt:nn,displayName:_e,avatarUrl:_e,roleIds:Xf,authorizations:Uc,spaces:Xf}});var Gc=[Vh,Ph,Lh,Bh,Nh,Ih,Fh,xh,Dh,wh,Uh,Mh];function Wc(e){return Gc.find(t=>t.resource===e)}var Qf=[xi("users","Workspace users and authorizations.",!0),xi("roles","Workspace roles and resource authorizations.",!0),xi("spaces","Workspace spaces.",!0),xi("tabs","Tabs and folders visible to authorized user; blueprint and page tabs normally share ids with matching records.",!0),xi("pages","Untrusted single-page HTML source and optimized file URLs keyed by matching page tab id.",!0),xi("connections","Read-only integration connections without secret-bearing config; config is redacted and cannot be read through MCP.",!1),xi("schemas","Integration schema metadata.",!0),xi("blueprints","Blueprint definitions keyed by matching blueprint tab id.",!0),xi("blueprint-views","Blueprint editor view state keyed by matching blueprint tab id.",!0),xi("blueprint-operators","Registered blueprint operator definitions.",!1),xi("user-locations","Live user location records.",!0),xi("space-join-requests","Space invitation and join requests.",!0)],HR=["tabs","pages","blueprints","blueprint-views"],Jf=new Set(HR),Oa=Qf.filter(e=>!Jf.has(e.name)),mu=Oa.map(e=>e.name),qh=Qf.map(e=>e.name);function XR(e){return Qf.find(t=>t.name===e)}function zh(e){return Oa.find(t=>t.name===e)}function Kh(e){if(XR(e))return e;throw new Error(`unsupported resource: ${e}`)}function Zf(e){if(Jf.has(e))throw new Error(`dedicated resource ${e}: use tab and blueprint intent tools instead of generic resource_* tools`);if(zh(e))return e;throw new Error(`unsupported resource: ${e}`)}function ed(e){let t=zh(e);if(Jf.has(e))throw new Error(`dedicated resource ${e}: use tab and blueprint intent tools instead of generic resource_* tools`);if(!t)throw new Error(`unsupported resource: ${e}`);if(!t.writable)throw new Error(`resource is read-only: ${e}`);return t.name}function xi(e,t,n){return{name:e,description:t,writable:n,schemaUri:`${Hf}${e}`}}function Nr(){return Date.now()*1e6}function nd(e,t){if(e===null&&t===null)return{pre:null,post:null};if(e===null&&t!==null)return{pre:null,post:t};if(e!==null&&t===null)return{pre:e,post:null};if(typeof e!="object"||typeof t!="object")return e!==t?{pre:e,post:t}:{pre:null,post:null};if(Array.isArray(e)||Array.isArray(t))return{pre:null,post:null};let{pre:n,post:r}=Gh(e,t);return n===null&&r===null?{pre:null,post:null}:{pre:n,post:r}}function Gh(e,t){let n={},r={},i=!1,o=new Set([...mo(e),...mo(t)]);for(let a of o){if(a==="updatedAt")continue;let s=e[a],c=t[a];if(Array.isArray(s)||Array.isArray(c))continue;let d=Xo(s),p=Xo(c);if(!(a in t))d||(n[a]=s,r[a]=null,i=!0);else if(!(a in e))p||(n[a]=null,r[a]=c,i=!0);else{if(d&&p)continue;if(d&&!p)n[a]=null,r[a]=c,i=!0;else if(!d&&p)n[a]=s,r[a]=null,i=!0;else{let{pre:m,post:g}=$R(s,c);(m!==void 0||g!==void 0)&&(m!==void 0&&(n[a]=td(m)),g!==void 0&&(r[a]=td(g)),i=!0)}}}return i?mo(n).length===0&&mo(r).length===0?{pre:null,post:null}:mo(n).length===0?{pre:null,post:r}:mo(r).length===0?{pre:n,post:null}:{pre:n,post:r}:{pre:null,post:null}}function $R(e,t){if(jR(e,t))return{pre:void 0,post:void 0};let n=Xo(e),r=Xo(t);if(n&&r)return{pre:void 0,post:void 0};if(n)return{pre:null,post:t};if(r)return{pre:e,post:null};if(Array.isArray(e)||Array.isArray(t))return{pre:void 0,post:void 0};if(typeof e!=typeof t)return{pre:e,post:t};if(typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null){let{pre:i,post:o}=Gh(e,t);return i===null&&o===null?{pre:void 0,post:void 0}:{pre:i===null?void 0:i,post:o===null?void 0:o}}return{pre:e,post:t}}function Xo(e){return e==null?!0:typeof e=="object"&&e!==null?Array.isArray(e)?e.length===0:mo(e).length===0:!1}function jR(e,t){return Xo(e)&&Xo(t)?!0:rd(e,t)}function rd(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!="object"||typeof t!="object")return!1;let n=mo(e),r=mo(t);if(n.length!==r.length)return!1;for(let i of n)if(!(i in t)||!rd(e[i],t[i]))return!1;return!0}function Hc(e,t){return t.pre===null?e===null:e===null||typeof e!="object"||Array.isArray(e)?!1:Wh(e,t.pre)}function Wh(e,t){for(let n in t)if(n!=="updatedAt"&&!YR(e[n],t[n]))return!1;return!0}function YR(e,t){return t===null||QR(t)?Xo(e):e===void 0?!1:typeof t=="object"&&t!==null&&!Array.isArray(t)&&typeof e=="object"&&e!==null&&!Array.isArray(e)?Wh(e,t):rd(e,t)}function QR(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&mo(e).length===0}function td(e){if(e==null)return null;if(typeof e=="object"&&e!==null){if(Array.isArray(e)&&e.length===0)return null;if(!Array.isArray(e)){let t={},n=!1;for(let r in e)t[r]=td(e[r]),t[r]!==void 0&&(n=!0);return n?t:null}}return e}function id(e,t){let n=od(e,t);return n!==null&&typeof n=="object"&&!Array.isArray(n)&&(n.updatedAt=t.updatedAt),n}function od(e,t){return t.post===null?null:e===null?t.post:typeof e!="object"||Array.isArray(e)?t.post:Hh(e,t.post)}function Hh(e,t){let n={};for(let r in e)if(r in t){let i=t[r];if(i===null)continue;typeof i=="object"&&!Array.isArray(i)&&typeof e[r]=="object"&&!Array.isArray(e[r])&&e[r]!==null?n[r]=Hh(e[r],i):n[r]=i}else n[r]=e[r];for(let r in t)!(r in e)&&t[r]!==null&&(n[r]=t[r]);return n}function mo(e){let t=[];for(let n in e)t.push(n);return t}var Xh="replicated-state",Xc=class{ackedResources={};dirtyResources={};unauthorizedKeys={};loadingResources={};loadingPromises=new Map;loadedResources=new Set;registeredResources=new Set;resourceChangeListeners=new Set;snapshotWaiters=new Map;storage;socketSession;logger;inflightItems=new Map;constructor(t,n,r){this.storage=t,this.socketSession=n,this.logger=r}onResourceChange(t){return this.resourceChangeListeners.add(t),()=>this.resourceChangeListeners.delete(t)}registerResource(t){this.registeredResources.add(t),this.initializeResource(t)}isResourceRegistered(t){return this.registeredResources.has(t)}getRegisteredResources(){return Array.from(this.registeredResources)}setDirtyItems(t,n){this.registerResource(t),this.dirtyResources[t]=Yr(n)}setDirtyItem(t,n,r){if(this.registerResource(t),r===void 0){delete this.dirtyResources[t][n];return}this.dirtyResources[t][n]=Yr(r)}clearSessionState(){this.ackedResources={},this.loadingResources={},this.loadingPromises.clear(),this.loadedResources.clear(),this.inflightItems.clear();for(let t of this.registeredResources)this.dirtyResources[t]={},this.unauthorizedKeys[t]={},this.loadingResources[t]=!0,this.emitResourceChange(t)}async loadRegisteredResourcesFromStorage(){await Promise.all(Array.from(this.registeredResources,t=>this.loadResourceFromStorage(t)))}async hydrate(t,n){this.registerResource(t),await this.loadResourceFromStorage(t),this.logger.info(`Calculating lastUpdatedAtSeen from ${jh(this.ackedResources[t])} items`);let r=this.prepareSnapshotQuery(t,n);this.logger.info(`\u{1F4F8} ${t} requested with query:`,r),this.socketSession.send(Xh,{resource:t,action:"snapshot",value:r})}hydrateAll(t){return this.hydrate(t,{all:!0})}async waitForSnapshot(t,n){await new Promise((r,i)=>{let o,a=()=>{clearTimeout(o),r()};o=setTimeout(()=>{this.snapshotWaiters.get(t)?.delete(a),i(new Error(`snapshot timeout for ${t}`))},n),this.snapshotWaiters.has(t)||this.snapshotWaiters.set(t,new Set),this.snapshotWaiters.get(t).add(a)})}processSocketEvent(t){switch(t.action){case"snapshot":this.applySnapshot(t.resource,t.value??{});break;case"delta":this.applyRemoteDelta(t);break}}async upsertItem(t,n){this.registerResource(t);let r=this.getAckedValue(t,n.id),i=nd(r,n);return i.pre===null&&i.post===null?!0:this.sendDelta(t,n.id,i,n)}async deleteItem(t,n){this.registerResource(t);let r=this.getAckedValue(t,n),i=nd(r,null);return i.pre===null&&i.post===null?!0:this.sendDelta(t,n,i,null)}isItemInflight(t,n){return this.inflightItems.get(t)?.has(n)===!0}async sendDelta(t,n,r,i){this.registerResource(t),this.inflightItems.has(t)||this.inflightItems.set(t,new Set);let o=this.inflightItems.get(t);if(o.has(n))return!1;let a=this.getDirtyValue(t,n);Hc(a,r)&&(arguments.length>=4?this.setDirtyValue(t,n,Yr(i)):this.setDirtyValue(t,n,od(a,Yr(r))),this.emitResourceChange(t)),o.add(n);let s;try{s=await this.socketSession.sendWithAck(Xh,{resource:t,action:"delta",key:n,value:r})}catch(c){s={ok:!1,reason:c instanceof Error?c.message:"error"}}return o.delete(n),s.ok?!0:(this.revertDirtyToAckedValue(t,n),this.emitResourceChange(t),this.logger.error(`!ack[${t}] Reverting to acked state for ${t}:${n}`,s.reason),!1)}getAckedValue(t,n){return this.initializeResource(t),this.ackedResources[t][n]??null}getDirtyValue(t,n){return this.initializeResource(t),this.dirtyResources[t][n]??null}getVisibleItems(t){this.initializeResource(t);let n={};for(let r in this.dirtyResources[t]){let i=this.dirtyResources[t][r];i!=null&&(n[r]=i)}return n}getRawItems(t){return this.initializeResource(t),Yr(this.dirtyResources[t])}getAckedItems(t){return this.initializeResource(t),Yr(this.ackedResources[t])}getUnauthorizedKeys(t){return this.initializeResource(t),Yr(this.unauthorizedKeys[t])}isResourceLoading(t){return this.initializeResource(t),this.loadingResources[t]}initializeResource(t){this.ackedResources[t]===void 0&&(this.ackedResources[t]={}),this.dirtyResources[t]===void 0&&(this.dirtyResources[t]={}),this.unauthorizedKeys[t]===void 0&&(this.unauthorizedKeys[t]={}),this.loadingResources[t]===void 0&&(this.loadingResources[t]=!0)}prepareSnapshotQuery(t,n){this.initializeResource(t);let r=Yr(n);if(r.lastUpdatedAtSeen!==void 0)return r;let i=this.buildLastUpdatedAtSeen(t,r);return $h(i)||(r.lastUpdatedAtSeen=i),r}async loadResourceFromStorage(t){if(this.initializeResource(t),this.loadedResources.has(t))return;if(this.loadingPromises.has(t))return this.loadingPromises.get(t);let n=this.loadResourceItemsFromStorage(t);this.loadingPromises.set(t,n);try{await n}finally{this.loadingPromises.delete(t),this.loadedResources.add(t)}}async loadResourceItemsFromStorage(t){let n=!1,r=0;try{let i=await this.storage.loadItems(t);if(i&&$h(this.ackedResources[t])){n=!0;for(let o in i)this.applyCachedItem(t,o,i[o])&&(r+=1)}}catch(i){this.logger.warn(`Failed to load cached ${t}: ${String(i)}`)}finally{this.loadingResources[t]=!1,this.emitResourceChange(t),n?this.logger.info(`\u{1F4C2} ${r}x ${t} from cache`):this.logger.info(`\u{1F4C2} no cached data for ${t}`)}}applyCachedItem(t,n,r){return r===null?(this.ackedResources[t][n]=null,this.dirtyResources[t][n]=null,!0):r==="unauthorized"?(this.unauthorizedKeys[t][n]=!0,!1):(this.ackedResources[t][n]=Yr(r),this.dirtyResources[t][n]=Yr(r),!0)}applySnapshot(t,n){this.initializeResource(t);for(let r in n){let i=n[r];i===null?(this.ackedResources[t][r]=null,this.dirtyResources[t][r]=null,delete this.unauthorizedKeys[t][r]):i==="unauthorized"?(delete this.ackedResources[t][r],delete this.dirtyResources[t][r],this.unauthorizedKeys[t][r]=!0):(this.ackedResources[t][r]=Yr(i),this.dirtyResources[t][r]=Yr(i),delete this.unauthorizedKeys[t][r]),this.storage.persistItem(t,r,i).catch(o=>{this.logger.warn(`Failed to persist ${t}:${r}: ${String(o)}`)})}this.loadingResources[t]=!1,this.emitResourceChange(t),this.logger.info(`\u{1F4F8} ${jh(n)}x ${t} `),this.resolveSnapshotWaiters(t)}applyRemoteDelta(t){let n=t.resource,r=t.key;if(!r)return;this.initializeResource(n);let i=t.value,o={pre:i.pre,post:i.post},a=this.getAckedValue(n,r);if(!Hc(a,o))this.logger.error(`\u{1D6AB}S precondition invalid on last acked for ${n}:${r}`,{pre:o.pre,post:o.post,current:a});else{let c=id(a,Yr(i));this.ackedResources[n][r]=c,this.storage.persistItem(n,r,c).catch(d=>{this.logger.warn(`Failed to persist ${n}:${r}: ${String(d)}`)}),this.logger.info(ad(`\u{1D6AB}S[${n}] acked`,o))}let s=this.getDirtyValue(n,r);t.by!==this.socketSession.getSessionId()?Hc(s,o)?o.post===null?(this.dirtyResources[n][r]=null,this.logger.info(ad(`\u{1D6AB}S[${n}] dirty`,o))):(this.dirtyResources[n][r]=id(s,Yr(i)),this.logger.info(ad(`\u{1D6AB}S[${n}] dirty`,o))):(this.logger.warn(`Skip delta on dirty for ${n}:${r}`,{pre:o.pre,post:o.post,current:a}),this.revertDirtyToAckedValue(n,r)):o.post!=null&&s!=null&&typeof s=="object"&&(s.updatedAt=i.updatedAt,this.dirtyResources[n][r]=s,this.logger.info(`\u{1D6AB}S[${n}] dirty updatedAt for ${r}`)),this.emitResourceChange(n)}buildLastUpdatedAtSeen(t,n){let r=this.ackedResources[t],i={};if(n.all){for(let o in r)this.copyItemUpdatedAt(r[o],o,i);return i}if(n.keys&&n.keys.length>0)for(let o of n.keys)this.copyItemUpdatedAt(r[o],o,i);return i}copyItemUpdatedAt(t,n,r){t&&typeof t=="object"&&typeof t.updatedAt=="number"&&(r[n]=t.updatedAt)}setDirtyValue(t,n,r){if(r===null){this.dirtyResources[t][n]=null;return}this.dirtyResources[t][n]=r}revertDirtyToAckedValue(t,n){let r=this.ackedResources[t][n];if(r===void 0){delete this.dirtyResources[t][n];return}if(r===null){this.dirtyResources[t][n]=null;return}this.dirtyResources[t][n]=Yr(r)}emitResourceChange(t){let n={resource:t,acked:this.getAckedItems(t),dirty:this.getRawItems(t),unauthorized:this.getUnauthorizedKeys(t),loading:this.loadingResources[t]};for(let r of this.resourceChangeListeners)r(n)}resolveSnapshotWaiters(t){let n=this.snapshotWaiters.get(t);if(n){this.snapshotWaiters.delete(t);for(let r of n)r()}}};function Yr(e){if(e===void 0)return e;if(typeof structuredClone=="function")try{return structuredClone(e)}catch{}try{return JSON.parse(JSON.stringify(e))}catch{return e}}function $h(e){for(let t in e)return!1;return!0}function jh(e){let t=0;for(let n in e)t+=1;return t}function ad(e,t){return`${e}
27
+ delta.pre: ${JSON.stringify(t.pre)}
28
+ delta.post: ${JSON.stringify(t.post)}`}var $c=15e3,ZR=2e3,cd=class{replicatedState;recordStorage;gatewaySocketSession;startPromise;reconnectTimer;registeredResources=new Set(qh);closed=!1;start(){return this.startPromise?this.startPromise:(this.closed=!1,this.startPromise=this.connectAndHydrate().catch(t=>{throw this.startPromise=void 0,t}),this.startPromise)}async hydrateResource(t,n={all:!0}){this.registerResource(t),await this.start(),await this.hydrateConnectedResource(t,n)}async readResourceItems(t,n={all:!0}){return this.registerResource(t),await this.start(),this.filterVisibleItems(t,n)}async readResourceItem(t,n){this.registerResource(t),await this.start();let r=this.replicatedState?.getVisibleItems(t)[n]??null;return Yh(t,r)}async upsertResourceItem(t,n){if(this.registerResource(t),await this.start(),!this.replicatedState)throw new Error("replicated state not initialized");return this.replicatedState.upsertItem(t,n)}async deleteResourceItem(t,n){if(this.registerResource(t),await this.start(),!this.replicatedState)throw new Error("replicated state not initialized");return this.replicatedState.deleteItem(t,n)}waitForChannelEvent(t,n,r=$c){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");return this.gatewaySocketSession.waitForChannelEvent(t,i=>n(i),r)}collectChannelEvents(t,n,r=$c,i=250){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");return this.gatewaySocketSession.collectChannelEvents(t,o=>n(o),r,i)}sendChannelEvent(t,n){if(!this.gatewaySocketSession)throw new Error("gateway websocket not connected");this.gatewaySocketSession.send(t,n)}close(){this.closed=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.startPromise=void 0,this.gatewaySocketSession?.close(),this.recordStorage?.close(),this.gatewaySocketSession=void 0,this.recordStorage=void 0,this.replicatedState=void 0}registerResource(t){Kh(t),this.registeredResources.add(t),this.replicatedState?.registerResource(t)}async connectAndHydrate(){let t=await fi();if(!t)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let n=await di(t);await bh(n);let r=Ht(),i=Oo(n),o=vh(i.email);this.gatewaySocketSession?.close(),this.recordStorage?.close(),this.recordStorage=new Lc(r.replicatedStateDatabasePath,o),this.gatewaySocketSession=new Bc(r.backendUrl,n),this.replicatedState=new Xc(this.recordStorage,this.gatewaySocketSession,rw),this.gatewaySocketSession.onChannel("replicated-state",a=>this.replicatedState?.processSocketEvent(a)),this.gatewaySocketSession.onDisconnected(()=>this.scheduleReconnect());for(let a of this.registeredResources)this.replicatedState.registerResource(a);await this.gatewaySocketSession.connect($c),await this.replicatedState.loadRegisteredResourcesFromStorage(),await this.hydrateRegisteredResources()}async hydrateRegisteredResources(){await Promise.all(Array.from(this.registeredResources,t=>this.hydrateConnectedResource(t,{all:!0})))}async hydrateConnectedResource(t,n){if(!this.replicatedState)throw new Error("replicated state not initialized");let r=this.replicatedState.waitForSnapshot(t,$c);await this.replicatedState.hydrate(t,n),await r}filterVisibleItems(t,n){let r=this.replicatedState?.getVisibleItems(t)??{},i={};for(let o in r)ew(o,r[o],n)&&(i[o]=Yh(t,r[o]));return i}scheduleReconnect(){this.closed||this.reconnectTimer||(this.startPromise=void 0,this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.start().catch(()=>this.scheduleReconnect())},ZR))}};function ew(e,t,n){return tw(e,t,n.lastUpdatedAtSeen)?!!(n.all||n.keys?.includes(e)||nw(t,n.fieldEqualTo)):!1}function Yh(e,t){if(e!=="connections"||!t||typeof t!="object"||Array.isArray(t))return t;let n={...t};return delete n.config,n}function tw(e,t,n){let r=n?.[e];if(r===void 0||!t||typeof t!="object")return!0;let i=t.updatedAt;return typeof i!="number"||i>r}function nw(e,t){if(!t||!e||typeof e!="object")return!1;let n=e,r=!1;for(let i in t)if(r=!0,!JR(n[i],t[i]))return!1;return r}var rw={info(e,t){sd("info",e,t)},warn(e,t){sd("warn",e,t)},error(e,t){sd("error",e,t)}};function sd(e,t,n){let r=n===void 0?"":` ${JSON.stringify(n)}`;process.stderr.write(`[replicated-state:${e}] ${t}${r}
29
+ `)}var ud;function _s(){return ud||(ud=new cd),ud}import{isDeepStrictEqual as iw}from"node:util";function dn(e,t){let n=Wc(e);if(!n)throw new Error(`missing schema for resource: ${e}`);let r={failures:[],rootSchema:n.itemSchema};if(gs(n.itemSchema,t,"$",r),r.failures.length===0)return;let i=r.failures.slice(0,5).map(o=>`${o.path} ${o.message}`).join("; ");throw new Error(`item does not match ${e} schema: ${i}`)}function gs(e,t,n,r){if(e===!0)return;if(e===!1)return ho(r,n,"is not allowed");if(!hw(e))return;let i=e.$ref;if(typeof i=="string"){gs(pw(i,r.rootSchema),t,n,r);return}ow(e,t,n,r)&&(aw(e,t,n,r),sw(e,t,n,r),uw(e,t,n,r),lw(e,t,n,r))}function ow(e,t,n,r){if(!Array.isArray(e.anyOf))return!0;for(let i of e.anyOf){let o={failures:[],rootSchema:r.rootSchema};if(gs(i,t,n,o),o.failures.length===0)return!1}return ho(r,n,"does not match any allowed schema"),!1}function aw(e,t,n,r){let i=e.enum;if(Array.isArray(i)){for(let o of i)if(iw(t,o))return;ho(r,n,`must be one of ${i.map(String).join(", ")}`)}}function sw(e,t,n,r){let i=e.type;if(typeof i=="string"&&!Qh(t,i)){ho(r,n,`must be ${i}`);return}if(Array.isArray(i)){for(let o of i)if(typeof o=="string"&&Qh(t,o))return;ho(r,n,`must be ${i.map(String).join(" or ")}`)}}function uw(e,t,n,r){if(e.type!=="object"||!hu(t))return;let i=hu(e.properties)?e.properties:{};cw(e,t,n,r);for(let o of dw(e))(!(o in t)||t[o]===void 0)&&ho(r,`${n}.${o}`,"is required");for(let o in t){if(t[o]===void 0){ho(r,`${n}.${o}`,"must not be undefined");continue}if(o in i){gs(i[o],t[o],`${n}.${o}`,r);continue}fw(e,t[o],`${n}.${o}`,r)}}function cw(e,t,n,r){let i=0;for(let s in t)Object.prototype.hasOwnProperty.call(t,s)&&i++;let o=e.minProperties;typeof o=="number"&&i<o&&ho(r,n,`must have at least ${o} properties`);let a=e.maxProperties;typeof a=="number"&&i>a&&ho(r,n,`must have at most ${a} properties`)}function lw(e,t,n,r){if(e.type!=="array"||!Array.isArray(t))return;let i=e.items;if(i!==void 0)for(let o=0;o<t.length;o++)gs(i,t[o],`${n}[${o}]`,r)}function fw(e,t,n,r){let i=e.additionalProperties;if(i===!1){ho(r,n,"is not allowed");return}i===void 0||i===!0||gs(i,t,n,r)}function dw(e){return Array.isArray(e.required)?e.required.filter(t=>typeof t=="string"):[]}function pw(e,t){if(!e.startsWith("#/"))return!1;let n=t,r=e.slice(2).split("/").map(mw);for(let i of r){if(!hu(n)||!(i in n))return!1;n=n[i]}return n}function mw(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Qh(e,t){switch(t){case"array":return Array.isArray(e);case"boolean":return typeof e=="boolean";case"integer":return Number.isInteger(e);case"null":return e===null;case"number":return typeof e=="number"&&Number.isFinite(e);case"object":return hu(e);case"string":return typeof e=="string";default:return!0}}function hw(e){return hu(e)}function hu(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ho(e,t,n){e.failures.push({path:t,message:n})}import ld from"node:fs/promises";import _w from"node:os";import Jh from"node:path";var gw=15e3;async function jc(e){let t=await e0({method:"GET",path:e});if(!t.ok)throw await t0(e,t);return await t.json()}async function Zh(e){let t=await e0(e),n={status:t.status,statusText:t.statusText,headers:Tw(t.headers)};if(t.status>=300&&t.status<400)return{...n,location:t.headers.get("location")};if(!t.ok)throw await t0(e.path,t);return e.responseMode==="binary"?await Dw(t,e,n):(t.headers.get("content-type")??"").includes("application/json")?{...n,body:await t.json().catch(()=>null)}:{...n,body:await t.text().catch(()=>"")}}async function e0(e){let t=await vw(),n=yw(e.path,e.query),r=new Headers({Authorization:`Bearer ${t}`}),i=e.timeoutMs??gw;Sw(r,e.headers);let o={method:e.method,headers:r,redirect:"manual",signal:AbortSignal.timeout(i)};e.requestMode==="multipart"?o.body=await Aw(e):e.requestMode==="form"?(o.body=ww(e.body),r.set("Content-Type","application/x-www-form-urlencoded")):e.body!==void 0&&e.method!=="GET"&&e.method!=="HEAD"&&(r.set("Content-Type","application/json"),o.body=JSON.stringify(e.body));try{return await fetch(n,o)}catch(a){throw bw(a)?new Error(`backend endpoint timed out after ${i}ms: ${e.path}`):a}}function bw(e){return e instanceof DOMException&&(e.name==="TimeoutError"||e.name==="AbortError")}async function vw(){let e=await fi();if(!e)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");return await di(e)}function Sw(e,t){if(t)for(let n in t){let r=t[n];r!=null&&e.set(n,String(r))}}function yw(e,t){if(!e.startsWith("/"))throw new Error(`backend endpoint path must start with /: ${e}`);let n=Ht(),r=new URL(`${n.backendUrl}${e}`);return Ew(r,t),r.toString()}function Ew(e,t){if(t)for(let n in t){let r=t[n];if(r!=null){if(Array.isArray(r)){for(let i of r)e.searchParams.append(n,String(i));continue}e.searchParams.set(n,String(r))}}}function Tw(e){let t={};return e.forEach((n,r)=>{t[r]=n}),t}async function Aw(e){let t=new FormData,n=e.body;if(n&&typeof n=="object"&&!Array.isArray(n))for(let i in n){let o=n[i];o!=null&&t.set(i,String(o))}let r=e.files??{};for(let i in r)t.set(i,await Rw(r[i]),r[i].fileName??i);return t}async function Rw(e){if(e.filePath)return new Blob([await ld.readFile(e.filePath)],{type:e.contentType});if(e.base64)return new Blob([Buffer.from(e.base64,"base64")],{type:e.contentType});throw new Error("multipart file input must include filePath or base64")}function ww(e){let t=new URLSearchParams;if(!e||typeof e!="object"||Array.isArray(e))return t;for(let n in e){let r=e[n];r!=null&&t.set(n,String(r))}return t}async function Dw(e,t,n){let r=Buffer.from(await e.arrayBuffer()),i=t.outputFilePath??Cw(e);return await ld.mkdir(Jh.dirname(i),{recursive:!0}),await ld.writeFile(i,r),{...n,filePath:i,sizeBytes:r.byteLength,contentType:e.headers.get("content-type")}}function Cw(e){let t=e.headers.get("content-disposition")??"",r=/filename="?([^";]+)"?/i.exec(t)?.[1]?.replace(/[^A-Za-z0-9._-]/g,"_")||`beepflow-download-${Date.now()}.bin`;return Jh.join(_w.tmpdir(),"beepflow-mcp-downloads",r)}async function t0(e,t){let n=await t.text().catch(()=>"");return new Error(`${e} failed: ${t.status} ${n}`.trim())}async function fd(e){return xw(await dd(e))}async function r0(){return await jc("/integrations")}async function i0(e,t){return await jc(`/integrations/blueprint-contexts${Ow(e,t)}`)}async function dd(e){return kw(await jc(`/integrations/${encodeURIComponent(e)}/openapi`))}function Ow(e,t){let n=new URLSearchParams;e&&n.set("integrationType",e),t&&n.set("resourceType",t);let r=n.toString();return r?`?${r}`:""}async function o0(e){let n=(await fd(e.integrationType)).find(i=>i.operationId===e.operationId);if(!n)throw new Error(`unsupported integration endpoint: ${e.operationId}`);Bw(n,e.confirm);let r=Uw(n,e.payload);if(n.requestMode==="none"&&r.body!==void 0)throw new Error(`integration endpoint ${n.operationId} has requestBody=null; remove body-only fields from payload`);return await Zh({method:n.method,path:Gw(n,r.path),query:r.query,headers:r.headers,body:r.body,requestMode:n.requestMode,responseMode:n.responseMode,files:r.files,outputFilePath:e.outputFilePath})}function kw(e){let t=_u(e,"paths");for(let n in t){let r=t[n];if(pn(r))for(let i in r){let o=r[i];pn(o)&&(o.payloadSchema=a0(o))}}return e}function xw(e){let t=_u(e,"paths"),n=[];for(let r in t){let i=t[r];if(pn(i))for(let o in i){let a=i[o];pn(a)&&n.push(Iw(o.toUpperCase(),r,a))}}return n}function Iw(e,t,n){let r=_u(n,"x-beepflow");return{operationId:ka(n,"operationId"),integrationType:ka(r,"integrationType"),resourceType:Hw(r,"resourceType"),method:e,path:t,originalPath:ka(r,"originalPath"),summary:ka(n,"summary"),access:ka(r,"access"),sideEffect:ka(r,"sideEffect"),mcpExposure:ka(r,"mcpExposure"),requestMode:c0(n),responseMode:Mw(n),pathParameters:Ww(t),parameters:u0(n),payloadSchema:a0(n),requestBody:pi(n,"requestBody"),responses:_u(n,"responses"),runtimeUse:"mcp-only",externalAppUse:"forbidden",externalAppAlternative:"Create/use a blueprint with webhook trigger and call /api/:tabId/trigger."}}function a0(e){let t=c0(e),n=Fw(e,t),r={type:"object",additionalProperties:!1,properties:{}},i=r.properties,o=[];for(let a of u0(e))!pn(a)||typeof a.name!="string"||!pn(a.schema)||(i[a.name]=a.schema,a.required===!0&&o.push(a.name));return Pw(r,i,o,n,t),o.length&&(r.required=o),r}function Pw(e,t,n,r,i){if(!r)return;let o=pi(r,"properties");if(!o){e.additionalProperties=r.additionalProperties??!0;return}for(let s in o)t[s]=Nw(o[s],i);r.additionalProperties!==void 0&&r.additionalProperties!==!1&&(e.additionalProperties=r.additionalProperties);let a=r.required;if(Array.isArray(a))for(let s of a)typeof s=="string"&&n.push(s)}function Nw(e,t){return t!=="multipart"||!pn(e)||e.format!=="binary"?e:{type:"object",additionalProperties:!1,description:"Multipart file input. Provide filePath or base64 content.",properties:{filePath:{type:"string",description:"Local file path to read and upload."},base64:{type:"string",description:"Base64-encoded file content."},fileName:{type:"string",description:"File name to send for base64 content."},contentType:{type:"string",description:"MIME type for uploaded content."}}}}function Fw(e,t){let n=pi(e,"requestBody");if(!n)return null;let r=pi(n,"content");if(!r)return null;let i=s0(t),o=pi(r,i);return o?pi(o,"schema"):null}function s0(e){switch(e){case"multipart":return"multipart/form-data";case"form":return"application/x-www-form-urlencoded";default:return"application/json"}}function u0(e){let t=e.parameters;if(t==null)return[];if(!Array.isArray(t))throw new Error("invalid integration OpenAPI schema: parameters must be array");return t}function c0(e){let t=pi(e,"requestBody");if(!t)return"none";let n=pi(t,"content");return n?pn(n["multipart/form-data"])?"multipart":pn(n["application/x-www-form-urlencoded"])?"form":(pn(n["application/json"]),"json"):"none"}function Mw(e){let t=_u(e,"responses");for(let i in t)if(i.startsWith("3")&&pn(t[i]))return"redirect";let n=Lw(t);if(!n)return"empty";let r=pi(n,"content");return r?pn(r["application/octet-stream"])?"binary":pn(r["text/plain"])?"text":(pn(r["application/json"]),"json"):"empty"}function Lw(e){if(pn(e[200]))return e[200];for(let t in e)if(t.startsWith("2")&&pn(e[t]))return e[t];return null}function Bw(e,t){if(!(e.mcpExposure==="safe"&&e.sideEffect!=="destructive")&&t!==!0)throw new Error(`integration endpoint requires confirm=true: ${e.operationId}`)}function Uw(e,t){let n={path:{},query:{},headers:{}},r=t??{},i=Kw(e);for(let o of e.parameters){if(!pn(o)||typeof o.name!="string"||typeof o.in!="string")continue;let a=r[o.name];a!==void 0&&(o.in==="path"&&(n.path[o.name]=a),o.in==="query"&&(n.query[o.name]=a),o.in==="header"&&(n.headers[o.name]=a))}if(e.requestMode!=="none")Vw(e,r,i,n);else for(let o in r)i.has(o)||(n.body={[o]:r[o]});return n}function Vw(e,t,n,r){let i=zw(e),o=i?pi(i,"properties"):null,a={},s={};if(o){for(let c in o)qw(e,c,t[c],a,s);if(i?.additionalProperties!==void 0&&i.additionalProperties!==!1)for(let c in t)!n.has(c)&&o[c]===void 0&&(a[c]=t[c])}else if(i?.additionalProperties!==!1)for(let c in t)n.has(c)||(a[c]=t[c]);n0(a)&&(r.body=a),n0(s)&&(r.files=s)}function qw(e,t,n,r,i){if(n!==void 0){if(e.requestMode==="multipart"&&pn(n)&&(typeof n.filePath=="string"||typeof n.base64=="string")){i[t]=n;return}r[t]=n}}function zw(e){if(!e.requestBody)return null;let t=pi(e.requestBody,"content"),n=t?pi(t,s0(e.requestMode)):null;return n?pi(n,"schema"):null}function Kw(e){let t=new Set;for(let n of e.parameters)pn(n)&&typeof n.name=="string"&&t.add(n.name);return t}function n0(e){for(let t in e)if(e[t]!==void 0)return!0;return!1}function Gw(e,t){let n=e.path;for(let r of e.pathParameters){let i=t?.[r];if(typeof i!="string"&&typeof i!="number")throw new Error(`integration endpoint path parameter required: ${r}`);n=n.replace(`{${r}}`,encodeURIComponent(String(i)))}return n}function Ww(e){let t=[];for(let n of e.matchAll(/\{([^}]+)\}/g))n[1]&&t.push(n[1]);return t}function _u(e,t){if(!pn(e)||!pn(e[t]))throw new Error(`invalid integration OpenAPI schema: ${t} must be object`);return e[t]}function pi(e,t){if(!pn(e)||e[t]===void 0||e[t]===null)return null;if(!pn(e[t]))throw new Error(`invalid integration OpenAPI schema: ${t} must be object`);return e[t]}function ka(e,t){if(typeof e[t]!="string")throw new Error(`invalid integration OpenAPI schema: ${t} must be string`);return e[t]}function Hw(e,t){if(e[t]===void 0||e[t]===null)return null;if(typeof e[t]!="string")throw new Error(`invalid integration OpenAPI schema: ${t} must be string`);return e[t]}function pn(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}var l0="For Beepflow tasks, call status first and follow the instructions field returned in the status response. Treat client-saved tool outputs as historical logs; verify resource ids with live MCP queries.",bs=`
23
30
  Use Beepflow MCP to inspect authenticated workspace resources, blueprint context, live results, integration OpenAPI endpoints, and auth.
24
31
 
25
32
  Global:
@@ -41,8 +48,63 @@ Blueprint flow:
41
48
  - If downstream input needs operator output shape, do not guess nested fields. Use test mode, wire smallest runnable partial graph, let it recompute or activate it, then call results_read on blueprintId-test. Discover shapes from public.testResults[].values[nodeId] and publicByNode[nodeId]. Iterate after shapes are observed.
42
49
  - For live diagnostics, call results_read on blueprintId-explore.
43
50
 
51
+ Blueprint zipping:
52
+ - Auto zipping runs a node once per list element when a scalar operator input receives a resolved input type list of X. Direct pin connect alone does not set resolved type; pass inputTypeOverrides in blueprint_operator_node_add or call blueprint_node_type_set on existing nodes.
53
+ - Use blueprint_node_input_zipping_set enabled=true to force zipping when a list input should run element-by-element. Use enabled=false to clear forceZipping instead of storing false.
54
+ - Cache operators Base/function/cache/* never zip. Multiple zipped inputs must have equal lengths.
55
+
44
56
  Safety:
45
57
  - Ask before destructive actions unless user intent is explicit.
46
58
  - Pass confirm=true only after explicit confirmation or unmistakable user intent.
47
59
  - When uncertain, inspect schemas and resources first.
48
- `.trim();function p(t,e){let n=A(t)[e];if(typeof n!="string"||!n.trim())throw new Error(`invalid tool arguments: ${e} must be non-empty string`);return n}function b(t,e){let n=A(t)[e];if(n!=null){if(typeof n!="string")throw new Error(`invalid tool arguments: ${e} must be string`);return n}}function ie(t,e){let n=A(t)[e];if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${e} must be boolean`);return n}function ct(t,e){let n=A(t)[e];if(n!=null){if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${e} must be boolean`);return n}}function pt(t,e){let n=A(t)[e];if(!ae(n))throw new Error(`invalid tool arguments: ${e} must be object`);return n}function dt(t,e){if(t===void 0)return;let n=A(t)[e];if(n!=null){if(!ae(n))throw new Error(`invalid tool arguments: ${e} must be object`);return n}}function se(t,e){let n=sr(t,e);if(!n)throw new Error(`invalid tool arguments: ${e} must be string array`);return n}function sr(t,e){let n=A(t)[e];if(n!=null){if(!Array.isArray(n)||n.some(r=>typeof r!="string"))throw new Error(`invalid tool arguments: ${e} must be string array`);return n}}function ar(t,e){let n=Gt(t,e);if(n===void 0)throw new Error(`invalid tool arguments: ${e} must be positive integer`);return n}function Gt(t,e){let n=A(t)[e];if(n!=null){if(typeof n!="number"||!Number.isInteger(n)||n<=0)throw new Error(`invalid tool arguments: ${e} must be positive integer`);return n}}function cr(t,e){let n=A(t)[e];if(n!=null){if(typeof n!="number"||!Number.isFinite(n))throw new Error(`invalid tool arguments: ${e} must be number`);return n}}function F(t,e,n){let r=p(t,e);if(!n.includes(r))throw new Error(`invalid tool arguments: ${e} must be one of ${n.join(", ")}`);return r}function Te(t,e,n){let r=b(t,e);if(r!==void 0){if(!n.includes(r))throw new Error(`invalid tool arguments: ${e} must be one of ${n.join(", ")}`);return r}}function ut(t){if(t!==void 0)return sr(t,"ids")}function A(t){if(!t||typeof t!="object"||Array.isArray(t))throw new Error("invalid tool arguments: expected object");return t}function ae(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}var Zi={type:"object",additionalProperties:!0},lt={type:"object",additionalProperties:!1,required:["type","trigger"],properties:{type:Ye,trigger:Xe,config:et}};var Se=["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"];function ft(t){return{type:"object",additionalProperties:!1,properties:{ids:ee(t),fieldEqualTo:{...Zi,description:"Return items whose top-level fields equal these exact values."}}}}function m(t,e=["id"]){return{type:"object",additionalProperties:!1,required:e,properties:{id:{type:"string",description:"Tab/blueprint id."},...t}}}function K(t,e){return m({nodeId:{type:"string",description:"Blueprint node id."},inputName:{type:"string",description:"Operator input name."},...t},e)}function Ie(t,e){return m(t,e)}function ee(t){return{type:"array",items:{type:"string"},description:t}}function M(){return{type:"string",description:"CRDT list index. Defaults to 0.5 where supported."}}function f(t){return{content:[{type:"text",text:JSON.stringify(t,null,2)}]}}function mt(t,e){let n={};return t&&(n.keys=t),e&&(n.fieldEqualTo=e),!t&&!e&&(n.all=!0),n}async function W(t,e,n){return t.readResourceItems("tabs",mt(e,n))}async function pr(t,e){let n=await t.readResourceItem("tabs",e);if(!n)throw new Error(`tab not found: ${e}`);return n}function dr(t){return{name:"tabs_query",description:"Query visible tabs and folders. Use ids for exact tabs or fieldEqualTo for exact top-level field matches; with no filters, returns all visible tabs.",inputSchema:ft("Tab ids to read."),call:async e=>f(await W(t,ut(e),dt(e,"fieldEqualTo")))}}var Xi=(t=6)=>{let n="abcdefghijklmnopqrstuvwxyz",o=`1234567890${n}${n.toUpperCase()}`.split(""),i=new Uint8Array(t);return crypto.getRandomValues(i),i.reduce((s,a)=>`${s}${o[a&61]}`,"")},Q=Xi;function ht(t,e){if(e.insertAfterTabId){let o=t[e.insertAfterTabId];return o?Ce(t,o):.5}let n=gt(t).find(o=>o.parent===e.parent);return n?(n.order??1)*.5:(gt(t)[0]?.order??1)*.5}function Ce(t,e){let n=gt(t),r=n.findIndex(i=>i.id===e.id),o=r>=0?n[r+1]:void 0;return e.order*.5+(o?.order??1)*.5}function ur(t,e){let n=gt(t).filter(o=>o.parent===e.parent),r=n.findIndex(o=>o.id===e.id);return((n[r-1]?.order??0)+e.order)*.5}function lr(t,e){let n=0;for(let r in t){let o=t[r];o.parent===e&&o.order>n&&(n=o.order)}return n*.5+.5}function gt(t){let e=[];for(let n in t)e.push(t[n]);return e.sort((n,r)=>n.order-r.order)}function yt(t,e){if(e)return e;for(let n in t)return t[n].parent;throw new Error("parent is required when no existing tab can provide a default parent")}function xe(t,e){if(e.startsWith("spaces:"))return e.split(":")[1]??"";if(e.startsWith("tabs:")){let n=e.split(":")[1],r=n?t[n]?.spaceId:void 0;if(r)return r}throw new Error(`could not find spaceId for parent: ${e}`)}function _e(t,e){let n=t[e];if(!n)throw new Error(`tab not found: ${e}`);return n}async function ve(t,e){return E("tabs",e),t.upsertResourceItem("tabs",e)}function fr(t){return{name:"folder_tab_create",description:"Create a folder tab under a parent such as spaces:<spaceId> or tabs:<folderId>. Computes frontend-compatible order and parent space.",inputSchema:{type:"object",additionalProperties:!1,properties:{parent:{type:"string",description:"Parent id, normally spaces:<spaceId> or tabs:<folderId>. Optional only when an existing tab can provide a default parent."},name:{type:"string",description:"Folder name. Defaults to Untitled folder."},insertAfterTabId:{type:"string",description:"Optional tab id after which to insert in global frontend tab order."}}},call:async e=>f(await Yi(t,{parent:b(e,"parent"),name:b(e,"name"),insertAfterTabId:b(e,"insertAfterTabId")}))}}async function Yi(t,e){let n=await W(t),r=yt(n,e.parent),o=xe(n,r),i={id:Q(),updatedAt:z(),name:e.name??"Untitled folder",order:ht(n,{parent:r,insertAfterTabId:e.insertAfterTabId}),type:"folder",parent:r,spaceId:o};return await ve(t,i),i}function mr(t){return{name:"tab_rename",description:"Rename an existing tab or folder by preserving all other tab fields and upserting only the full updated tab record.",inputSchema:m({name:{type:"string",description:"New non-empty tab name."}},["id","name"]),call:async e=>{let n=p(e,"id"),r=await pr(t,n);return r.name=p(e,"name"),await ve(t,r),f(r)}}}function gr(t){return{name:"tab_move",description:"Move or reorder a tab. Supports explicit order, insertBeforeTabId, insertAfterTabId, or appending to a parent while updating parent spaceId like frontend drag/drop.",inputSchema:m({parent:{type:"string",description:"New parent id, normally spaces:<spaceId> or tabs:<folderId>."},order:{type:"number",description:"Explicit order value. Overrides insert and append order computation."},insertBeforeTabId:{type:"string",description:"Move before this sibling tab."},insertAfterTabId:{type:"string",description:"Move after this tab using frontend global ordering."}}),call:async e=>{let n=p(e,"id"),r=await W(t),o=r[n];if(!o)throw new Error(`tab not found: ${n}`);let i=es(r,o,e);return o.parent=i.parent,o.spaceId=i.spaceId,o.order=i.order,await ve(t,o),f(o)}}}function es(t,e,n){let r=cr(n,"order"),o=b(n,"insertBeforeTabId"),i=b(n,"insertAfterTabId"),s=o?_e(t,o):i?_e(t,i):void 0,a=b(n,"parent")??s?.parent??e.parent,c=s?.spaceId??xe(t,a),d=r??(o?ur(t,_e(t,o)):i?Ce(t,_e(t,i)):lr(t,a));return{parent:a,spaceId:c,order:d}}function hr(t){return{name:"tab_delete",description:"Delete a tab tree recursively. Folder tabs delete children; blueprint tabs delete matching blueprints and blueprint-views before deleting the tab.",inputSchema:m({},["id"]),call:async e=>f(await ts(t,p(e,"id")))}}async function ts(t,e){let n=await W(t),r=n[e];if(!r)throw new Error(`tab not found: ${e}`);let o=[],i=[],s=[];return await yr(t,n,r,o,i,s),{deletedTabs:o,deletedBlueprints:i,deletedBlueprintViews:s}}async function yr(t,e,n,r,o,i){let s=`tabs:${n.id}`;for(let a in e){let c=e[a];c.parent===s&&await yr(t,e,c,r,o,i)}n.type==="blueprint"?(await Promise.all([t.deleteResourceItem("blueprints",n.id),t.deleteResourceItem("blueprint-views",n.id),t.deleteResourceItem("tabs",n.id)]),o.push(n.id),i.push(n.id)):await t.deleteResourceItem("tabs",n.id),r.push(n.id)}async function br(t,e,n){return t.readResourceItems("blueprints",mt(e,n))}function wr(t){return{name:"blueprints_query",description:"Query visible blueprint definitions. Use ids for exact blueprints or fieldEqualTo for exact top-level field matches; with no filters, returns all visible blueprints.",inputSchema:ft("Blueprint ids to read."),call:async e=>f(await br(t,ut(e),dt(e,"fieldEqualTo")))}}function Kt(t){if(!t)throw new Error("blueprint context trigger is required");let e=0;for(let n of["manual","cron","loop","blueprint","webhook","executor"])t[n]!==void 0&&e++;if(e!==1)throw new Error("blueprint context trigger must contain exactly one branch")}function bt(t){let e=t.type,n=t.trigger;if(typeof e!="string"||!e.trim())throw new Error("context.type must be non-empty string");if(!ae(n))throw new Error("context.trigger must be object");Kt(n);let r={type:e,trigger:n};return ae(t.config)&&(r.config=t.config),r}function Rr(t){return{name:"blueprint_tab_create",description:"Create a blueprint tab plus matching blueprint and blueprint-view records with one shared id. Requires context with exactly one trigger branch. After create, tell user blueprint URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`. For external app integrations, use a blueprint with webhook trigger and tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(tab.id)}/trigger`.",inputSchema:{type:"object",additionalProperties:!1,required:["context"],properties:{context:{...lt,description:"Blueprint context with type, trigger, and optional config. Trigger must have exactly one branch."},parent:{type:"string",description:"Parent id, normally spaces:<spaceId> or tabs:<folderId>. Optional only when existing tabs can provide a default."},name:{type:"string",description:"Tab name. Defaults to Untitled."},mode:{type:"string",enum:["test","explore"],description:"Initial mode. Defaults to test."},testRecordsAmount:{type:"integer",minimum:1,description:"Initial number of test records. Defaults to 1."},insertAfterTabId:{type:"string",description:"Optional tab id after which to insert."}}},call:async e=>f(await ns(t,{context:bt(pt(e,"context")),parent:b(e,"parent"),name:b(e,"name"),mode:Te(e,"mode",["test","explore"]),testRecordsAmount:Gt(e,"testRecordsAmount"),insertAfterTabId:b(e,"insertAfterTabId")}))}}async function ns(t,e){let n=await W(t),r=Q(),o=yt(n,e.parent),i=xe(n,o),s={id:r,updatedAt:z(),name:e.name??"Untitled",order:ht(n,{parent:o,insertAfterTabId:e.insertAfterTabId}),type:"blueprint",parent:o,spaceId:i},a={id:r,updatedAt:z(),mode:e.mode??"test",nodes:{},context:e.context,testRecordsAmount:e.testRecordsAmount??1,desiredState:"inactive"},c={id:r,updatedAt:z(),nodes:{}};return Kt(a.context.trigger),E("tabs",s),E("blueprints",a),E("blueprint-views",c),await Promise.all([t.upsertResourceItem("tabs",s),t.upsertResourceItem("blueprints",a),t.upsertResourceItem("blueprint-views",c)]),{tab:s,blueprint:a,blueprintView:c}}async function g(t,e){let[n,r,o]=await Promise.all([t.readResourceItem("tabs",e),t.readResourceItem("blueprints",e),t.readResourceItem("blueprint-views",e)]);if(!n)throw new Error(`tab not found: ${e}`);if(n.type!=="blueprint")throw new Error(`tab is not a blueprint: ${e}`);if(!r)throw new Error(`blueprint not found: ${e}`);if(!o)throw new Error(`blueprint view not found: ${e}`);return rs(r),os(o),{tab:n,blueprint:r,blueprintView:o}}function rs(t){t.nodes??={}}function os(t){t.nodes??={}}function kr(t){return{name:"blueprint_tab_duplicate",description:"Duplicate a blueprint tab by cloning tab, blueprint, and blueprint-view with a new shared id. Only top-level ids are remapped; node ids are preserved like frontend tab duplicate. After duplicate, tell user blueprint URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`.",inputSchema:m({name:{type:"string",description:"Optional duplicated tab name. Defaults to source name plus *."}}),call:async e=>f(await is(t,p(e,"id"),b(e,"name")))}}async function is(t,e,n){let r=await W(t),o=await g(t,e),i=Q(),s=structuredClone(o.tab);s.id=i,s.updatedAt=z(),s.name=n??`${o.tab.name}*`,s.order=Ce(r,o.tab);let a=structuredClone(o.blueprint);a.id=i,a.updatedAt=z(),a.mode=a.mode??"test";let c=structuredClone(o.blueprintView);return c.id=i,c.updatedAt=z(),E("tabs",s),E("blueprints",a),E("blueprint-views",c),await Promise.all([t.upsertResourceItem("tabs",s),t.upsertResourceItem("blueprints",a),t.upsertResourceItem("blueprint-views",c)]),{tab:s,blueprint:a,blueprintView:c}}async function B(t,e){return Qt(e),E("blueprints",e),t.upsertResourceItem("blueprints",e)}function Qt(t){for(let e in t.nodes){let n=t.nodes[e];for(let r in n.inputs){let o=n.inputs[r];for(let i in o.values)ss(o.values[i])}}}function ss(t){(!Object.prototype.hasOwnProperty.call(t,"literal")||t.literal===void 0)&&(t.literal=null)}function Tr(t){return{name:"blueprint_context_update",description:"Replace blueprint context as one unit, including type, config, and exactly one trigger branch. When integrating external apps, set webhook trigger and tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(blueprint.id)}/trigger`.",inputSchema:m({context:{...lt,description:"Full replacement context with type, trigger, and optional config. Trigger must have exactly one branch."}},["id","context"]),call:async e=>{let{blueprint:n}=await g(t,p(e,"id"));return n.context=bt(pt(e,"context")),await B(t,n),f(n)}}}async function ce(t,e,n){let r=await X();if(!r)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let o=await Y(r),i=k(),s=await fetch(`${i.backendUrl}/blueprints/${t}/modes/${e}/${n}`,{method:"POST",headers:{Authorization:`Bearer ${o}`,"Content-Type":"application/json"}});if(!s.ok){let a=await s.text().catch(()=>"");throw new Error(`blueprint runtime action failed: ${s.status} ${a}`.trim())}return{ok:!0,status:s.status,blueprintId:t,mode:e,action:n}}function pe(t,e,n,r,o){return{name:e,description:n,inputSchema:m({mode:{type:"string",enum:["test","explore"],description:r?"Target mode.":"Mode to use. Defaults to current blueprint mode."}},r?["id","mode"]:["id"]),call:async i=>{let s=p(i,"id"),c=Te(i,"mode",["test","explore"])??(await g(t,s)).blueprint.mode;return f(await o(s,c))}}}function Sr(t){return pe(t,"blueprint_mode_set","Switch blueprint mode through backend runtime endpoint to preserve side effects.",!0,async(e,n)=>ce(e,n,"switch-mode"))}function Ir(t){return{name:"blueprint_test_records_set",description:"Set blueprint testRecordsAmount for test mode data generation. Uses replicated blueprint upsert; value must be at least 1.",inputSchema:m({amount:{type:"integer",minimum:1,description:"Number of test records."}},["id","amount"]),call:async e=>{let{blueprint:n}=await g(t,p(e,"id"));return n.testRecordsAmount=ar(e,"amount"),await B(t,n),f(n)}}}function xr(t){return pe(t,"blueprint_test_records_shuffle","Regenerate test records through backend /modes/test/shuffle-records endpoint.",!1,async e=>ce(e,"test","shuffle-records"))}function vr(t){return pe(t,"blueprint_runtime_start","Start blueprint runtime for supplied mode or current blueprint mode through backend endpoint. When starting webhook trigger blueprint, tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(id)}/trigger`. Webhook runs only while blueprint is active in explore mode. External apps integrate by calling this blueprint webhook endpoint.",!1,async(e,n)=>ce(e,n,"start"))}function Br(t){return pe(t,"blueprint_runtime_stop","Stop blueprint runtime for supplied mode or current blueprint mode through backend endpoint.",!1,async(e,n)=>ce(e,n,"stop"))}function Pr(t){return{name:"blueprint_recompute_on_change_set",description:"Set recomputeOnChange to always or manual. Frontend treats undefined as always; this tool stores explicit value for clarity.",inputSchema:m({value:{type:"string",enum:["always","manual"],description:"Recompute behavior."}},["id","value"]),call:async e=>{let{blueprint:n}=await g(t,p(e,"id"));return n.recomputeOnChange=F(e,"value",["always","manual"]),await B(t,n),f(n)}}}function Er(t){return{name:"blueprint_mock_never_set",description:"Set or clear blueprint-level mockNever. enabled=true stores true; enabled=false clears the optional field like frontend toggle.",inputSchema:m({enabled:{type:"boolean",description:"Whether to disable mocking for all nodes."}},["id","enabled"]),call:async e=>{let{blueprint:n}=await g(t,p(e,"id"));return ie(e,"enabled")?n.mockNever=!0:delete n.mockNever,await B(t,n),f(n)}}}async function H(t,e){let n=await t.readResourceItems("blueprint-operators"),r={};for(let o in e.nodes){let i=n[e.nodes[o].operatorId];i&&(r[i.id]=i)}return{...n,...r}}function Ht(t){if(Object.keys(t).length===0)return;let e=null,n=null;for(let r in t)isNaN(parseFloat(r))||(n===null||parseFloat(r)<n)&&(e=r,n=parseFloat(r));return n!==null?t[e]:void 0}function Nr(t){let e=Object.keys(t).filter(i=>!isNaN(parseFloat(i))).sort((i,s)=>parseFloat(i)-parseFloat(s));if(e.length===0)return"0.5";let n=e[e.length-1],r=parseFloat(n);return((r+(Math.floor(r)+1))/2).toPrecision(15).replace(/0+$/,"").replace(/\.$/,"")}function de(t,e){let n=Nr(t);return t[n]=e,n}var Ar=new Set(["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"]);function w(t,e){let n=t.nodes[e];if(!n)throw new Error(`blueprint node not found: ${e}`);return n}function $(t,e){let n=t.inputs[e];if(!n)throw new Error(`node input not found: ${t.id}.${e}`);return n.values??={},n}function wt(t,e,n,r){let i=$(w(t,e),n).values[r];if(!i)throw new Error(`input value not found: ${e}.${n}[${r}]`);return i}function Me(t,e){let n=t[e];if(!n)throw new Error(`blueprint operator not found: ${e}`);return n}function Be(t,e){let n=t.inputs.find(r=>r.name===e);if(!n)throw new Error(`operator input not found: ${t.id}.${e}`);return n}function Rt(t,e){let n=t.output;if(!n||n.name!==e)throw new Error(`operator output not found: ${t.id}.${e}`);return n}function q(t){delete t.nodeId,delete t.operatorInputId,delete t.nodeInputIndex}function Dr(t,e){t.nodeId=e.nodeId,t.operatorInputId=e.operatorInputId,t.nodeInputIndex=e.nodeInputIndex}function Pe(t,e,n,r,o){let i=w(t,n.nodeId),s=w(t,r.nodeId),a=Me(e,i.operatorId),c=Me(e,s.operatorId);Rt(a,n.pinName);let d=Be(c,r.pinName),l=$(s,r.pinName),h=n.index??"0.5",y=as(l,d,r.index,o),S=l.values[y];return S.nodeId=i.id,S.operatorInputId=n.pinName,S.nodeInputIndex=h,y}function Or(t,e){let n=w(t,e.nodeId),r=e.index??"0.5";if(e.pinPosition==="input"){let o=wt(t,n.id,e.pinName,r);q(o);return}for(let o in t.nodes)for(let i in t.nodes[o].inputs)for(let s in t.nodes[o].inputs[i].values){let a=t.nodes[o].inputs[i].values[s];a.nodeId===n.id&&a.operatorInputId===e.pinName&&a.nodeInputIndex===r&&q(a)}}function as(t,e,n,r){if(r)return n?(t.values[n]??={literal:null},n):de(t.values,{literal:null});if(n){if(!(n in t.values))throw new Error(`input value not found: ${e.name}[${n}]`);return n}return e.type.isArray?de(t.values,{literal:null}):"0.5"in t.values?"0.5":(t.values["0.5"]={literal:null},"0.5")}function Cr(t){return{name:"blueprint_pins_connect",description:"Connect one output pin to one input pin by writing pointer fields on target input value. Validates nodes and pin names; can create target array element. For newly created operator nodes, prefer passing inputConnections to blueprint_operator_node_add instead of calling this after creation, so layout sees graph edges before assigning coordinates.",inputSchema:m({sourceNodeId:{type:"string"},sourceOutputName:{type:"string"},sourceIndex:M(),targetNodeId:{type:"string"},targetInputName:{type:"string"},targetIndex:M(),createTargetArrayElement:{type:"boolean",description:"Append target input value before connecting."}},["id","sourceNodeId","sourceOutputName","targetNodeId","targetInputName"]),call:async e=>{let n=await g(t,p(e,"id")),r=Pe(n.blueprint,await H(t,n.blueprint),{nodeId:p(e,"sourceNodeId"),pinName:p(e,"sourceOutputName"),index:b(e,"sourceIndex")},{nodeId:p(e,"targetNodeId"),pinName:p(e,"targetInputName"),index:b(e,"targetIndex")},ct(e,"createTargetArrayElement")??!1);return await B(t,n.blueprint),f({targetIndex:r,blueprint:n.blueprint})}}}function D(t,e,n,r,o){return{name:t,description:e,inputSchema:n,call:async i=>{let{blueprint:s}=await g(r,p(i,"id"));return o(s,i),await B(r,s),f(s)}}}function _r(t){return D("blueprint_pin_unlink","Unlink an input pin value or all downstream links from an output pin.",m({nodeId:{type:"string"},pinName:{type:"string"},pinPosition:{type:"string",enum:["input","output"]},index:M()},["id","nodeId","pinName","pinPosition"]),t,(e,n)=>Or(e,{nodeId:p(n,"nodeId"),pinName:p(n,"pinName"),pinPosition:F(n,"pinPosition",["input","output"]),index:b(n,"index")}))}async function te(t,e){let n=await t.readResourceItem("blueprint-operators",e);if(!n)throw new Error(`blueprint operator not found: ${e}`);if(!Array.isArray(n.inputs))throw new Error(`blueprint operator has invalid inputs: ${e}`);return n}async function Z(t,e,n){Qt(e),E("blueprints",e),E("blueprint-views",n);let[r,o]=await Promise.all([t.upsertResourceItem("blueprints",e),t.upsertResourceItem("blueprint-views",n)]);return{blueprintOk:r,blueprintViewOk:o}}function cs(t,e=Q()){let n={id:e,operatorId:t.id,inputs:{}};for(let r of t.inputs)r.type.isArray?n.inputs[r.name]={isArray:!0,values:{}}:n.inputs[r.name]={values:{"0.5":{literal:null}}};return n}function Ee(t,e,n){let r=cs(n);return t.nodes[r.id]=r,e.nodes[r.id]={id:r.id},r}function Mr(t){return{name:"blueprint_node_input_literal_set",description:"Set a node input literal at a CRDT value index. Defaults index to 0.5. With disconnect=true, clears upstream pointer fields first. For newly created operator nodes, prefer inputLiterals on blueprint_operator_node_add instead of setting literals afterward.",inputSchema:K({literal:{description:"JSON literal value to set."},index:M(),disconnect:{type:"boolean",description:"Clear upstream connection fields when true."}},["id","nodeId","inputName","literal"]),call:async e=>{let{blueprint:n}=await g(t,p(e,"id")),r=Zt(n,p(e,"nodeId"),p(e,"inputName"),b(e,"index")??"0.5",A(e).literal,ct(e,"disconnect")??!1);return await B(t,n),f({value:r,blueprint:n})}}}function Zt(t,e,n,r,o,i){let s=wt(t,e,n,r);return s.literal=o,i&&q(s),s}function $r(t){return{name:"blueprint_operator_node_add",description:"Add an operator node using frontend default input creation. Leaves view position unset so frontend can place it after measuring dimensions. When creating connected or configured nodes, set inputConnections and inputLiterals in this same call. Prefer this over blueprint_pins_connect and blueprint_node_input_literal_set immediately after creation because frontend uses connections present at first render to place missing-position nodes correctly.",inputSchema:Ie({operatorId:{type:"string",description:"Registered blueprint operator id."},inputConnections:{type:"array",description:"Input connections to apply before first write. Use for all known input links when creating a node; prefer this over blueprint_pins_connect after creation because frontend layout uses these connections before assigning coordinates.",items:{type:"object",additionalProperties:!1,required:["inputName","sourceNodeId","sourceOutputName","sourceIndex"],properties:{inputName:{type:"string",description:"Input pin name on the new node."},sourceNodeId:{type:"string",description:"Existing source node id."},sourceOutputName:{type:"string",description:"Source output pin name."},sourceIndex:{type:"string",description:"Source output CRDT index."},targetIndex:{type:"string",description:"Target input CRDT index. Defaults to 0.5 for scalar inputs."},createTargetArrayElement:{type:"boolean",description:"Append target input value before connecting."}}}},inputLiterals:{type:"array",description:"Input literals to apply before first write. Use for all known literal inputs when creating a node; prefer this over blueprint_node_input_literal_set immediately after creation. Same behavior as blueprint_node_input_literal_set.",items:{type:"object",additionalProperties:!1,required:["inputName","literal"],properties:{inputName:{type:"string",description:"Input pin name on the new node."},literal:{description:"JSON literal value to set."},index:{type:"string",description:"Target input CRDT index. Defaults to 0.5."},disconnect:{type:"boolean",description:"Clear upstream connection fields when true."}}}}},["id","operatorId"]),call:async e=>{let n=await g(t,p(e,"id")),r=await te(t,p(e,"operatorId")),o=Ee(n.blueprint,n.blueprintView,r);ps(n.blueprint,o.id,ls(e));let i=us(e);return i.length>0&&ds(n.blueprint,await H(t,n.blueprint),o.id,i),await Z(t,n.blueprint,n.blueprintView),f({node:o,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function ps(t,e,n){for(let r of n){let o=t.nodes[e].inputs[r.inputName];o?.isArray&&r.index&&(o.values[r.index]??={literal:null});let i=o?.isArray?r.index??de(o.values,{literal:null}):r.index??"0.5";Zt(t,e,r.inputName,i,r.literal,r.disconnect??!1)}}function ds(t,e,n,r){for(let o of r){let i=e[t.nodes[n].operatorId].inputs.find(s=>s.name===o.inputName);Pe(t,e,{nodeId:o.sourceNodeId,pinName:o.sourceOutputName,index:o.sourceIndex},{nodeId:n,pinName:o.inputName,index:o.targetIndex},o.createTargetArrayElement??!!i?.type.isArray)}}function us(t){let e=A(t).inputConnections;if(e==null)return[];if(!Array.isArray(e))throw new Error("invalid tool arguments: inputConnections must be array");let n=[];for(let r=0;r<e.length;r++){let o=e[r];if(!ae(o))throw new Error(`invalid tool arguments: inputConnections[${r}] must be object`);let i=o.inputName,s=o.sourceNodeId,a=o.sourceOutputName,c=o.sourceIndex,d=o.targetIndex,l=o.createTargetArrayElement;if(typeof i!="string"||!i.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].inputName must be non-empty string`);if(typeof s!="string"||!s.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceNodeId must be non-empty string`);if(typeof a!="string"||!a.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceOutputName must be non-empty string`);if(typeof c!="string"||!c.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceIndex must be non-empty string`);if(d!==void 0&&typeof d!="string")throw new Error(`invalid tool arguments: inputConnections[${r}].targetIndex must be string`);if(l!==void 0&&typeof l!="boolean")throw new Error(`invalid tool arguments: inputConnections[${r}].createTargetArrayElement must be boolean`);n.push({inputName:i,sourceNodeId:s,sourceOutputName:a,sourceIndex:c,targetIndex:d,createTargetArrayElement:l})}return n}function ls(t){let e=A(t).inputLiterals;if(e==null)return[];if(!Array.isArray(e))throw new Error("invalid tool arguments: inputLiterals must be array");let n=[];for(let r=0;r<e.length;r++){let o=e[r];if(!ae(o))throw new Error(`invalid tool arguments: inputLiterals[${r}] must be object`);let i=o.inputName,s=o.literal,a=o.index,c=o.disconnect;if(typeof i!="string"||!i.trim())throw new Error(`invalid tool arguments: inputLiterals[${r}].inputName must be non-empty string`);if(!("literal"in o))throw new Error(`invalid tool arguments: inputLiterals[${r}].literal is required`);if(a!==void 0&&typeof a!="string")throw new Error(`invalid tool arguments: inputLiterals[${r}].index must be string`);if(c!==void 0&&typeof c!="boolean")throw new Error(`invalid tool arguments: inputLiterals[${r}].disconnect must be boolean`);n.push({inputName:i,literal:s,index:a,disconnect:c})}return n}function Fr(t){return{name:"blueprint_context_field_node_add",description:"Add a context field getter node using Base/function/blueprint/field-wildcard, setting outputType and Path literal. Apache Kafka context config is initialized from field connection/path when unset.",inputSchema:Ie({connectionId:{type:"string",description:"Context field connection id."},path:{type:"string",description:"Context field path such as topic or collection."},field:{type:"string",description:"Field name to store in Path literal."},type:{type:"string",enum:Se,description:"Field output type."}},["id","connectionId","path","field","type"]),call:async e=>{let n=await g(t,p(e,"id")),r=await te(t,"Base/function/blueprint/field-wildcard"),o=Ee(n.blueprint,n.blueprintView,r);return o.outputType=F(e,"type",Se),o.inputs.Path.values["0.5"]={literal:p(e,"field")},fs(n.blueprint.context,p(e,"connectionId"),p(e,"path")),await Z(t,n.blueprint,n.blueprintView),f({node:o,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function fs(t,e,n){t.type==="ApacheKafkaTopic"&&(t.config??={},t.config.topicName===void 0&&(t.config.connectionId=e,t.config.topicName=n))}function Wr(t){return{name:"blueprint_node_result_field_node_add",description:"Add a map/get node for a field inferred from an upstream node result. Sets Path literal and optionally connects source output to Target input.",inputSchema:Ie({path:{type:"string",description:"Result field path to store in Path literal."},sourceNodeId:{type:"string",description:"Optional upstream source node id to connect into Target."},sourceOutputName:{type:"string",description:"Optional upstream output name. Defaults to source operator output."}},["id","path"]),call:async e=>{let n=await g(t,p(e,"id")),r=await te(t,"Base/function/map/get"),o=Ee(n.blueprint,n.blueprintView,r);o.inputs.Path.values["0.5"]={literal:p(e,"path")};let i=b(e,"sourceNodeId");return i&&Pe(n.blueprint,await H(t,n.blueprint),{nodeId:i,pinName:b(e,"sourceOutputName")??await ms(t,n.blueprint,i)},{nodeId:o.id,pinName:"Target",index:"0.5"},!1),await Z(t,n.blueprint,n.blueprintView),f({node:o,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}async function ms(t,e,n){let r=e.nodes[n];if(!r)throw new Error(`source node not found: ${n}`);let o=await te(t,r.operatorId);if(!o.output?.name)throw new Error(`source node operator has no output: ${r.operatorId}`);return o.output.name}function qr(t){return{name:"blueprint_node_array_input_add",description:"Append an element to an array input using frontend CRDT list index generation. Returns new index.",inputSchema:K({literal:{description:"Optional initial literal value. Defaults to null."}},["id","nodeId","inputName"]),call:async e=>{let n=await g(t,p(e,"id")),r=n.blueprint.nodes[p(e,"nodeId")];if(!r)throw new Error("node not found");let o=await te(t,r.operatorId),i=A(e),s=Object.prototype.hasOwnProperty.call(i,"literal")?i.literal:null,a=gs(n.blueprint,o,r.id,p(e,"inputName"),s);return await B(t,n.blueprint),f({index:a,blueprint:n.blueprint})}}}function gs(t,e,n,r,o){let i=w(t,n);if(!Be(e,r).type.isArray)throw new Error(`operator input is not an array: ${r}`);let a=$(i,r);return de(a.values,{literal:o===void 0?null:o})}function jr(t){return D("blueprint_node_array_input_remove","Remove one CRDT-indexed value from a node array input.",K({index:M()},["id","nodeId","inputName","index"]),t,(e,n)=>hs(e,p(n,"nodeId"),p(n,"inputName"),p(n,"index")))}function hs(t,e,n,r){let o=$(w(t,e),n);if(!(r in o.values))throw new Error(`input value not found: ${e}.${n}[${r}]`);delete o.values[r]}function Ur(t){return D("blueprint_node_array_input_move","Move array input values by swapping two CRDT entries. Provide indexA/indexB or index plus direction up/down.",K({indexA:M(),indexB:M(),index:M(),direction:{type:"string",enum:["up","down"],description:"Adjacent move direction when indexA/indexB are omitted."}},["id","nodeId","inputName"]),t,(e,n)=>{let r=p(n,"inputName"),o=e.nodes[p(n,"nodeId")];if(!o)throw new Error("node not found");let i=b(n,"indexA")??p(n,"index"),s=b(n,"indexB")??bs(o.inputs[r]?.values??{},i,F(n,"direction",["up","down"]));ys(e,o.id,r,i,s)})}function ys(t,e,n,r,o){let i=$(w(t,e),n);if(!(r in i.values))throw new Error(`input value not found: ${e}.${n}[${r}]`);if(!(o in i.values))throw new Error(`input value not found: ${e}.${n}[${o}]`);let s=i.values[r];i.values[r]=i.values[o],i.values[o]=s}function bs(t,e,n){let r=[];for(let s in t)Number.isNaN(parseFloat(s))||r.push(s);r.sort((s,a)=>parseFloat(s)-parseFloat(a));let o=r.indexOf(e),i=n==="up"?r[o-1]:r[o+1];if(!i)throw new Error(`no adjacent input value ${n} from index ${e}`);return i}function Lr(t){return D("blueprint_node_input_zipping_set","Set or clear forceZipping on a node input. enabled=false clears the optional field like frontend.",K({enabled:{type:"boolean",description:"Whether to force zipping."}},["id","nodeId","inputName","enabled"]),t,(e,n)=>ws(e,p(n,"nodeId"),p(n,"inputName"),ie(n,"enabled")))}function ws(t,e,n,r){let o=$(w(t,e),n);r?o.forceZipping=!0:delete o.forceZipping}function Jr(t,e,n,r,o,i){if(i!==void 0&&!Ar.has(i))throw new Error(`unsupported type: ${i}`);let s=w(t,n),a=Me(e,s.operatorId);r==="output"?Rs(t,e,s,a,o,i):Ts(t,e,s,a,o,i)}function Yt(t,e){return t.outputType??e.output?.type.type}function Rs(t,e,n,r,o,i){let s=Rt(r,o);i===void 0||i===s.type.type?delete n.outputType:n.outputType=i;let a=i??s.type.type;for(let c in t.nodes)ks(t.nodes[c],e,n,o,a)}function ks(t,e,n,r,o){let i=e[t.operatorId];if(i)for(let s in t.inputs){let a=i.inputs.find(c=>c.name===s);if(a)for(let c in t.inputs[s].values){let d=t.inputs[s].values[c];d.nodeId!==n.id||d.operatorInputId!==r||(Is(o,t.inputs[s].type??a.type.type,a.type)?t.inputs[s].type=o:q(d))}}}function Ts(t,e,n,r,o,i){let s=Be(r,o),a=$(n,o);i===void 0||i===s.type.type?delete a.type:a.type=i;let c=i??s.type.type;for(let d in a.values){let l=a.values[d];if(!l.nodeId||!l.operatorInputId)continue;let h=t.nodes[l.nodeId],y=h?e[h.operatorId]:void 0;if(!h||!y?.output)continue;let S=Yt(h,y);xs(S,c)||q(l)}Ss(n,r,s.type,i)}function Ss(t,e,n,r){let o=Xt(n);if(o){for(let i of e.inputs)Xt(i.type)===o&&(r?t.inputs[i.name].type=r:delete t.inputs[i.name].type);e.output&&Xt(e.output.type)===o&&(r?t.outputType=r:delete t.outputType)}}function Is(t,e,n){return kt(e)?!n.allowedTypes||n.allowedTypes.length===0?!0:n.allowedTypes.some(r=>$e(t)?t.includes(r.type):r.type===t):$e(t)?t.includes(e):t===e}function xs(t,e){return!t||!e?!1:t==="list of wildcard"||e==="list of wildcard"?$e(t)&&$e(e):!kt(t)&&!kt(e)?$e(t)?t.includes(e):t===e:!0}function $e(t){return t?.startsWith("list of ")??!1}function kt(t){return t==="wildcard"||t==="list of wildcard"}function Xt(t){if(t&&kt(t.type))return t.linkType??"_"}function Vr(t,e){let n=new Set(e);for(let r of n)vs(t,r);for(let r in t.nodes){let o=t.nodes[r];for(let i in o.inputs)for(let s in o.inputs[i].values){let a=o.inputs[i].values[s];(n.has(o.id)||a.nodeId&&n.has(a.nodeId))&&q(a)}}}function zr(t,e,n){let r={};for(let o of n){let i=t.nodes[o],s=i?e[i.operatorId]:void 0,a=s?.inputs[0];if(!i||!s?.output||!a)continue;let c=Yt(i,s),d=i.inputs[a.name]?.type??a.type.type;if(c!==d)continue;let l=Ht(i.inputs[a.name]?.values??{});l?.nodeId&&(r[i.id]=structuredClone(l))}return r}function Gr(t,e,n){for(let r in t.inputs)for(let o in t.inputs[r].values){let i=t.inputs[r].values[o];i.nodeId&&(e[i.nodeId]?i.nodeId=e[i.nodeId]:n.has(i.nodeId)||q(i))}}function Kr(t,e){e?Dr(t,e):q(t)}function vs(t,e){if(!t.nodes[e])throw new Error(`blueprint node not found: ${e}`)}function Qr(t){return D("blueprint_node_connections_remove","Remove selected nodes input links and downstream links pointing to selected nodes.",m({nodeIds:ee("Node ids whose connections should be removed.")},["id","nodeIds"]),t,(e,n)=>Vr(e,se(n,"nodeIds")))}function Hr(t){return{name:"blueprint_node_type_set",description:"Set or clear an input/output resolved type. Omitting type or setting base type clears override; incompatible existing links are disconnected.",inputSchema:m({nodeId:{type:"string"},xputType:{type:"string",enum:["input","output"]},pinName:{type:"string"},type:{type:"string",enum:Se,description:"Resolved type override. Omit to reset to operator base type."}},["id","nodeId","xputType","pinName"]),call:async e=>{let n=await g(t,p(e,"id"));return Jr(n.blueprint,await H(t,n.blueprint),p(e,"nodeId"),F(e,"xputType",["input","output"]),p(e,"pinName"),Te(e,"type",Se)),await B(t,n.blueprint),f(n.blueprint)}}}function Zr(t){return D("blueprint_nodes_disabled_set","Set or clear disabled on selected nodes. disabled=false clears optional field like frontend.",m({nodeIds:ee("Node ids to update."),disabled:{type:"boolean",description:"Whether nodes should be disabled."}},["id","nodeIds","disabled"]),t,(e,n)=>Bs(e,se(n,"nodeIds"),ie(n,"disabled")))}function Bs(t,e,n){for(let r of e){let o=w(t,r);n?o.disabled=!0:delete o.disabled}}function Xr(t){return D("blueprint_node_mock_never_set","Set or clear node-level mockNever. enabled=false clears optional field like frontend.",m({nodeId:{type:"string"},enabled:{type:"boolean"}},["id","nodeId","enabled"]),t,(e,n)=>Ps(e,p(n,"nodeId"),ie(n,"enabled")))}function Ps(t,e,n){let r=w(t,e);n?r.mockNever=!0:delete r.mockNever}function Yr(t){return D("blueprint_node_skip_behavior_set","Set On Skip behavior. behavior=skip clears stored value because frontend default skip is undefined; behavior=null stores string null.",m({nodeId:{type:"string"},behavior:{type:"string",enum:["skip","null"]}},["id","nodeId","behavior"]),t,(e,n)=>Es(e,p(n,"nodeId"),F(n,"behavior",["skip","null"])))}function Es(t,e,n){let r=w(t,e);n==="skip"?delete r.skipBehavior:r.skipBehavior="null"}function eo(t){return{name:"blueprint_nodes_delete",description:"Delete blueprint nodes and view nodes. Mirrors frontend rewire behavior for deleted nodes whose first input type matches output type.",inputSchema:m({nodeIds:ee("Node ids to delete.")},["id","nodeIds"]),call:async e=>{let n=await g(t,p(e,"id"));return Ns(n.blueprint,n.blueprintView,await H(t,n.blueprint),se(e,"nodeIds")),await Z(t,n.blueprint,n.blueprintView),f({blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function Ns(t,e,n,r){let o=new Set(r);for(let s of o)w(t,s);let i=zr(t,n,o);for(let s in t.nodes)for(let a in t.nodes[s].inputs)for(let c in t.nodes[s].inputs[a].values){let d=t.nodes[s].inputs[a].values[c];!d.nodeId||!o.has(d.nodeId)||Kr(d,i[d.nodeId])}for(let s of o)delete t.nodes[s],delete e.nodes[s]}function to(t){return{name:"blueprint_nodes_duplicate",description:"Duplicate selected nodes and view nodes. Remaps internal copied-node references, drops missing-node references, and leaves new node positions for the frontend layout pass.",inputSchema:m({nodeIds:ee("Node ids to duplicate.")},["id","nodeIds"]),call:async e=>{let n=await g(t,p(e,"id")),r=As(n.blueprint,n.blueprintView,se(e,"nodeIds"));return await Z(t,n.blueprint,n.blueprintView),f({nodeIds:r,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function As(t,e,n){let r=new Set(n);for(let a of r)w(t,a);let o={},i=n.map(a=>structuredClone(t.nodes[a])),s=new Set;for(let a in t.nodes)s.add(a);for(let a of i){let c=Q();o[a.id]=c,a.id=c}for(let a of i)Gr(a,o,s);for(let a of i)t.nodes[a.id]=a;for(let a of n){let c=structuredClone(e.nodes[a]??{id:a}),d=o[a];c.id=d,Ds(c),e.nodes[d]=c}return n.map(a=>o[a])}function Ds(t){if(!t.style)return;let e={...t.style};delete e.x,delete e.y;for(let n in e){t.style=e;return}delete t.style}function no(t){return[dr(t),wr(t),fr(t),mr(t),gr(t),hr(t),Rr(t),kr(t),Tr(t),Sr(t),Ir(t),xr(t),vr(t),Br(t),Pr(t),Er(t),$r(t),Fr(t),Wr(t),Mr(t),qr(t),jr(t),Ur(t),Lr(t),Cr(t),_r(t),Qr(t),Hr(t),Zr(t),Xr(t),Yr(t),eo(t),to(t)]}var We={type:"object",additionalProperties:!0},qe={type:"object",additionalProperties:!1,properties:{}},io=["kafka-topic:offset-extents","rabbitmq-stream:offset-extents","base-event-collection:offset-extents","shopify-webhook:offset-extents"],Cs=["ticket-message-created","ticket-message-failed"];function so(t=Re()){return[..._s(t),...Ms(t),...$s(t),...no(t),...Fs(t),...Ws(t),...js(t)]}function _s(t){return[{name:"resources_list",description:"Discover Beepflow resources supported by this MCP server, including writable flags and item schema URIs.",inputSchema:qe,call:async()=>R({resources:he,note:"tabs, blueprints, and blueprint-views are dedicated resources; use tabs_query, blueprints_query, and blueprint intent tools instead of generic resource_* tools."})},{name:"resource_schema_get",description:"Read JSON Schema and mutation notes for one Beepflow resource item. Use before constructing an upsert item unless modifying an item read from the same resource.",inputSchema:{type:"object",additionalProperties:!1,required:["resource"],properties:{resource:{type:"string",enum:Ne,description:"Resource whose item JSON Schema and mutation notes should be read."}}},call:async e=>{let n=Ot(v(e,"resource"));return R(rt(n))}},{name:"resource_query",description:"Query a Beepflow resource with all, keys, or fieldEqualTo snapshot filters. Returns an item map. Use before editing existing resource items.",inputSchema:{type:"object",additionalProperties:!1,required:["resource"],properties:{resource:{type:"string",enum:Ne,description:"Resource collection to query."},all:{type:"boolean",description:"Return whole resource collection."},keys:{type:"array",items:{type:"string"},description:"Return items with these ids."},fieldEqualTo:{...We,description:"Return items whose fields equal these exact values."}}},call:async e=>{let n=Ot(v(e,"resource")),r=ha(e),o=await t.readResourceItems(n,r);return R(o)}},{name:"resource_upsert",description:"Create or update one writable Beepflow resource item. Mandatory: before calling resource_upsert, first call resource_schema_get for the same resource and ensure item matches that resource schema. Send full item state, not JSON patches; preserve unchanged fields.",inputSchema:{type:"object",additionalProperties:!1,required:["resource","item"],properties:{resource:{type:"string",enum:Ne,description:"Writable resource collection to create or update."},item:{...We,description:"Full item state with non-empty id; not a JSON patch."}}},call:async e=>{let n=Ct(v(e,"resource")),r=en(e,"item"),o=r.id;if(typeof o!="string"||!o)throw new Error("item.id must be non-empty string");E(n,r);let i=await t.upsertResourceItem(n,r);return R({ok:i})}},{name:"resource_delete",description:"Delete one writable Beepflow resource item by key. Destructive; use only when user intent is explicit.",inputSchema:{type:"object",additionalProperties:!1,required:["resource","key"],properties:{resource:{type:"string",enum:Ne,description:"Writable resource collection to delete from."},key:{type:"string",description:"Item id to delete."}}},call:async e=>{let n=Ct(v(e,"resource")),r=v(e,"key"),o=await t.deleteResourceItem(n,r);return R({ok:o})}}]}function Ms(t){return[{name:"status",description:"Mandatory first call before any Beepflow task. Call status at least once whenever user wants to inspect, edit, debug, or operate Beepflow, so agent has latest user status and MCP instructions. Returns MCP instructions, frontendUrl, backendUrl, current authenticated user location, current tab id, tab, blueprint, blueprint view, used operator definitions, and context fields when on a blueprint tab.",inputSchema:qe,call:async()=>Js(t)}]}function $s(t){return[{name:"results_read",description:"Read current blueprint result events for a result id such as tabId-test or tabId-explore. Blueprint result ids are tabId-test and tabId-explore.",inputSchema:Ia(),call:async e=>da(t,e)},{name:"results_delete_state",description:"Stop and delete persisted result state for a result id. State-changing; use only when user intent is explicit.",inputSchema:xa(),call:async e=>fa(t,e)},{name:"results_set_offsets",description:"Set current stream offsets for a result id. State-changing; use only when user intent is explicit.",inputSchema:va(),call:async e=>ma(t,e)},{name:"stream_offset_extents_read",description:"Read stream partition offset extents from supported frontend live channels for runtime diagnostics.",inputSchema:Ba(),call:async e=>ga(t,e)}]}function Fs(t){return[{name:"blueprint_operators_search",description:"Search blueprint operators with the same vector endpoint used by the editor menu. Use to find valid operator ids plus input/output metadata before editing blueprint nodes.",inputSchema:ka(),call:async e=>Us(t,e)},{name:"blueprint_context_fields_search",description:"Search contextual fields available to a blueprint using the editor menu field matching rules. Use to find fields available from blueprint context schemas.",inputSchema:Ta(),call:async e=>Ls(t,e)}]}function Ws(t){return[{name:"integrations_list",description:"List integration types available from the backend integration API. Use before listing endpoints for an integration type.",inputSchema:qe,call:async()=>R(await Xn())},{name:"integration_blueprint_contexts_list",description:"List backend-defined blueprint context resource types, including executionKind, config fields, and type/config templates. If a resource type is absent, do not use it for blueprint context. Use before blueprint_tab_create or blueprint_context_update when choosing context.type, context.trigger, and context.config. executionKind=managed means choose trigger { executor: { enabled: true } } because integration runtime owns stream/event/poll lifecycle. executionKind=finite means choose trigger from user intent: manual for ad hoc/sample/start-once execution, cron for scheduled refresh, loop for fixed-delay repeated polling, blueprint for upstream blueprint invocation, and webhook only for generic GET/POST /:tabId/trigger HTTP calls, not integration webhooks.",inputSchema:{type:"object",additionalProperties:!1,properties:{integrationType:{type:"string",description:"Optional integration type from integrations_list; omit to return all blueprint context resource definitions including ManualTick."},resourceType:{type:"string",description:"Optional integration resource type to return one matching blueprint context definition."}}},call:async e=>R(await Yn(je(e,"integrationType"),je(e,"resourceType")))},{name:"integration_endpoints_list",description:"List backend integration endpoints for one integration type from workspace OpenAPI metadata, including access, side effect, request, response, confirmation metadata, parameters, requestBody, and payloadSchema for integration_endpoint_call. If payloadSchema includes connectionId, use integration_connections_list before integration_endpoint_call. MCP-only; external apps must integrate through a blueprint with webhook trigger.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type from integrations_list."}}},call:async e=>R(await Vt(v(e,"integrationType")))},{name:"integration_connections_list",description:"List redacted workspace connections for one integration type. Use this to find connectionId before integration_endpoint_call when endpoint payloadSchema declares connectionId. Use status only to disambiguate by current space when multiple matching connections exist. External apps must integrate through a blueprint with webhook trigger.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type whose connections should be listed."},spaceId:{type:"string",description:"Optional space id to restrict connection matches."}}},call:async e=>qs(t,e)},{name:"integration_endpoint_schema_get",description:"MCP-only; not for external app data sources. Read OpenAPI 3.1 schema for one integration type. Use before integration_endpoint_call when full request/response schema details are needed. External apps must call blueprint webhook endpoints.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type whose OpenAPI schema should be read."}}},call:async e=>R(await zt(v(e,"integrationType")))},{name:"integration_endpoint_call",description:"Call one allowlisted backend integration endpoint by integrationType and operationId. First call integration_endpoints_list or integration_endpoint_schema_get, then pass one payload object matching the exposed payloadSchema. For endpoints with connectionId in payloadSchema, first call integration_connections_list. Can cause external reads or writes, read local files for multipart uploads, and write binary downloads to disk. Mutating or destructive endpoints require confirm=true. Supports JSON, form, multipart files, request headers, redirects, and binary downloads. MCP-only; not an external app runtime integration path. External apps must call blueprint webhook endpoints.",inputSchema:Sa(),call:async e=>R(await er(Ra(e)))}]}async function qs(t,e){let n={type:v(e,"integrationType")},r=je(e,"spaceId");return r&&(n.spaceId=r),R(await t.readResourceItems("connections",{fieldEqualTo:n}))}function js(t){return[{name:"auth_email_request_code",description:"Request email login code via Beepflow auth service.",inputSchema:{type:"object",additionalProperties:!1,required:["email"],properties:{email:{type:"string"}}},call:async e=>{let n=v(e,"email");return await un(n),ba(`code sent to ${n}`)}},{name:"auth_email_verify_code",description:"Verify email login code and persist JWT for backend. Modifies stored credentials.",inputSchema:{type:"object",additionalProperties:!1,required:["email","code"],properties:{email:{type:"string"},code:{type:"string"}}},call:async e=>{let n=await ln(v(e,"email"),v(e,"code"));return t.close(),R(n)}},{name:"auth_google_sign_in",description:"Open Google OAuth login, wait for completion, and persist JWT for backend. Modifies stored credentials.",inputSchema:qe,call:async()=>{let e=await fn();return e.status==="authenticated"&&t.close(),R(e)}},{name:"auth_sign_out",description:"Delete stored backend JWT. Modifies stored credentials.",inputSchema:qe,call:async()=>(t.close(),R(await pn()))}]}async function Us(t,e){let n=v(e,"query"),r=Ue(e,"limit")??25,o=tn(e,"includeDeprecated")??!1,[i,s]=await Promise.all([Qs(n,r),t.readResourceItems("blueprint-operators")]),a=[];for(let c of i){let d=s[c.operatorId];d?.hidden!==!0&&(!o&&d?.isDeprecated===!0||a.push(Hs(c,d)))}return R({results:a})}async function Ls(t,e){let n=v(e,"blueprintId"),r=v(e,"query"),o=Ue(e,"limit")??25,i=je(e,"connectionId"),[s,a,c]=await Promise.all([t.readResourceItem("blueprints",n),t.readResourceItems("schemas"),t.readResourceItems("connections")]);if(!s)return R({results:[]});let d=ao(s,a,c,i),l=Ys(d,r,o);return R({results:l})}async function Js(t){let e=await Gs(),n=k(),r=await t.readResourceItem("user-locations",e),o=Ks(r);if(!o)return R({instructions:Oe,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:e,tabId:null,location:r,tab:null,blueprint:null,blueprintView:null,blueprintOperators:{},contextFields:[]});let i=await t.readResourceItem("tabs",o);if(i?.type!=="blueprint")return R({instructions:Oe,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:e,tabId:o,location:r,tab:i,blueprint:null,blueprintView:null,blueprintOperators:{},contextFields:[]});let[s,a]=await Promise.all([t.readResourceItem("blueprints",o),t.readResourceItem("blueprint-views",o)]);if(!s)return R({instructions:Oe,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:e,tabId:o,location:r,tab:i,blueprint:null,blueprintView:a,blueprintOperators:{},contextFields:[]});let[c,d,l]=await Promise.all([Vs(t,s),t.readResourceItems("schemas"),t.readResourceItems("connections")]),h=ao(s,d,l,void 0);return R({instructions:Oe,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:e,tabId:o,location:r,tab:i,blueprint:s,blueprintView:a,blueprintOperators:c,contextFields:h})}async function Vs(t,e){let n=zs(e),r=await t.readResourceItems("blueprint-operators"),o={};for(let i in n)o[i]=r[i]??null;return o}function zs(t){let e=t.nodes,n={};if(!J(e))return n;for(let r in e){let o=e[r];if(!J(o))continue;let i=o.operatorId;typeof i=="string"&&i.trim()&&(n[i]=!0)}return n}async function Gs(){let t=await X();if(!t)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let e=await Y(t),n=ne(e).email;if(!n)throw new Error("current jwt does not include email");return n}function Ks(t){let e=t?.blueprint;if(!J(e))return;let n=e.id;return typeof n=="string"&&n.trim()?n:void 0}async function Qs(t,e){let n=await X();if(!n)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let r=await Y(n),o=k(),i=await fetch(`${o.backendUrl}/blueprint/operators/search`,{method:"POST",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify({query:t,limit:e})});if(!i.ok){let c=await i.text().catch(()=>"");throw new Error(`blueprint/operators/search failed: ${i.status} ${c}`.trim())}let s=await i.json().catch(()=>{});if(!Array.isArray(s))throw new Error("blueprint/operators/search returned invalid payload");let a=[];for(let c of s){if(!J(c))continue;let d=c.operatorId,l=c.score;typeof d!="string"||typeof l!="number"||a.push({operatorId:d,score:l})}return a}function Hs(t,e){return{kind:"operator",id:t.operatorId,name:Fe(e,"name"),categoryPath:oo(e,"categoryPath"),aliases:oo(e,"aliases"),doc:Fe(e,"doc"),inputs:ca(e),output:pa(e),score:t.score}}function ao(t,e,n,r){let o=Zs(t.context,e),i=[];for(let s of o){if(!s.connectionId||r&&s.connectionId!==r)continue;let a=n[s.connectionId],c=ia(s.path);for(let d in s.schema)i.push({kind:"contextField",connectionId:s.connectionId,connectionLabel:a?.label??"???",path:c,field:d,type:s.schema[d]??"wildcard",score:0})}return i}function Zs(t,e){if(!t?.type)return[];let n=Xs(t);if(n){let i=e[n];return i?[i]:[]}let r=L(t.config,"connectionId"),o=[];for(let i in e){let s=e[i];if(s)switch(!0){case!!r:s.connectionId===r&&o.push(s);break;case s.type===t.type:o.push(s);break}}return o}function Xs(t){let e=t.config,n=L(e,"connectionId");if(n)switch(t.type){case"ApacheKafkaTopic":return j(n,{topicName:L(e,"topicName")});case"ShopifyWebhook":return j(n,{topicName:sa(e)});case"RabbitMQStream":case"MQTTTopic":return j(n,{streamPattern:L(e,"streamPattern")});case"QdrantCollection":case"BaseVectorCollection":case"BaseLookupCollection":case"BaseEventCollection":return j(n,{collectionName:L(e,"collectionName")});case"AerospikeSet":return j(n,{namespace:L(e,"namespace"),setName:L(e,"setName")});case"KaggleFile":return j(n,{datasetRef:L(e,"datasetRef"),fileName:L(e,"filePath")});case"GoogleDriveFile":return j(n,{fileId:L(e,"fileId"),parser:L(e,"parser")});case"GmailMessage":return j(n,{resource:"message"});case"GmailThread":return j(n,{resource:"thread"});case"GmailEvent":return j(n,{resource:"event"});case"GorgiasEvent":return j(n,{resource:"event",variant:aa(e)?"message":"ticket"});case"GorgiasTicket":return j(n,{resource:"ticket"})}}function Ys(t,e,n){let r=[];return t.forEach((o,i)=>{let s=ta(e,ea(o));s!==void 0&&r.push({field:{...o,score:s},index:i})}),r.sort((o,i)=>i.field.score-o.field.score||o.index-i.index).slice(0,n).map(o=>o.field)}function ea(t){return[t.connectionLabel,t.path,t.field,t.type].join(" ")}function ta(t,e){let n=ro(t);if(n.length===0)return;let r=e.toLowerCase(),o=ro(e),i=0;for(let s of n){let a=na(s,o),c=Math.max(a,r.includes(s)?.82:0);if(c<=0)return;i+=c}return Number((i/n.length).toFixed(4))}function na(t,e){let n=0;for(let r of e)switch(!0){case r===t:n=Math.max(n,1);break;case r.startsWith(t):n=Math.max(n,.92);break;case r.includes(t):n=Math.max(n,.82);break;case(t.length>=3&&r.length>=3):n=Math.max(n,ra(t,r));break}return n}function ra(t,e){let n=Math.max(t.length,e.length);if(n===0)return 0;let r=1-oa(t,e)/n;return r>=.72?r*.7:0}function oa(t,e){let n=Array.from({length:e.length+1},(o,i)=>i),r=Array.from({length:e.length+1},()=>0);for(let o=1;o<=t.length;o+=1){r[0]=o;for(let i=1;i<=e.length;i+=1){let s=t[o-1]===e[i-1]?0:1;r[i]=Math.min(n[i]+1,r[i-1]+1,n[i-1]+s)}for(let i=0;i<n.length;i+=1)n[i]=r[i]??0}return n[e.length]??0}function ro(t){return t.toLowerCase().split(/[^a-z0-9]+/).map(e=>e.trim()).filter(Boolean)}function j(t,e){let n="";for(let r in e){let o=e[r];if(!o)return;n+=`${r} = ${o} `}if(n=n.trim(),!!n)return Os("md5").update(`${t} ${n}`).digest("hex")}function ia(t){if(!t)return"";let e=[];for(let n in t)e.push(t[n]??"");return e.filter(Boolean).join("/")}function sa(t){let e=t?.webhookTopics;if(J(e)){for(let n in e)if(e[n]===!0)return n}}function aa(t){let e=t?.webhookTriggers;if(!J(e))return!1;for(let n in e)if(e[n]===!0&&Cs.includes(n))return!0;return!1}function L(t,e){let n=t?.[e];return typeof n=="string"&&n.trim()?n:void 0}function Fe(t,e){let n=t?.[e];return typeof n=="string"?n:void 0}function oo(t,e){let n=t?.[e];return Array.isArray(n)?n.filter(r=>typeof r=="string"):[]}function ca(t){return Array.isArray(t?.inputs)?t.inputs.map(e=>co(e)).filter(e=>e.name):[]}function pa(t){let e=t?.output;if(!J(e))return;let n=co(e);return n.name?n:void 0}function co(t){let e=J(t)?t:void 0,n=J(e?.type)?e.type:void 0;return{name:Fe(e,"name")??"",type:Fe(n,"type")??"",doc:Fe(e,"doc")}}async function da(t,e){let n=v(e,"resultId"),r=Ue(e,"timeoutMs")??15e3,o=Ue(e,"quietMs")??250;await ua(t,n);let i=`${n}:events`,s=`results:${i}`;await t.start();let a=t.collectChannelEvents(s,c=>c.key===i,r,o);t.sendChannelEvent("results",{resource:"results",key:i,action:"subscribe-key"});try{return R(ya(await a))}finally{t.sendChannelEvent("results",{resource:"results",key:i,action:"unsubscribe-key"})}}async function ua(t,e){let n=la(e);if(!n)throw new Error(`invalid result id: ${e}; expected blueprintId-test or blueprintId-explore`);let[r,o]=await Promise.all([t.readResourceItem("tabs",n.blueprintId),t.readResourceItem("blueprints",n.blueprintId)]);if(!r)throw new Error(`tab not found for result: ${n.blueprintId}`);if(r.type!=="blueprint")throw new Error(`tab is not a blueprint: ${n.blueprintId}`);if(!o)throw new Error(`blueprint not found for result: ${n.blueprintId}`);if(o.mode!==n.mode)throw new Error(`blueprint mode mismatch for result: requested ${n.mode}, blueprint is ${o.mode}`)}function la(t){for(let e of["test","explore"]){let n=`-${e}`;if(t.endsWith(n)&&t.length>n.length)return{blueprintId:t.slice(0,-n.length),mode:e}}}async function fa(t,e){let n=v(e,"resultId");return await t.start(),t.sendChannelEvent("results",{resource:"results",key:n,action:"delete-state"}),R({ok:!0})}async function ma(t,e){let n=v(e,"resultId"),r=en(e,"offsets");return await t.start(),t.sendChannelEvent("results",{resource:"results",key:n,action:"set-offsets",value:r}),R({ok:!0})}async function ga(t,e){let n=v(e,"channel");if(!io.includes(n))throw new Error(`unsupported offset extent channel: ${n}`);let r=en(e,"key"),o=Ue(e,"timeoutMs")??15e3;await t.start();let i=t.waitForChannelEvent(n,s=>JSON.stringify(s.key)===JSON.stringify(r),o);t.sendChannelEvent(n,{resource:n,key:r,action:"on"});try{return R(await i)}finally{t.sendChannelEvent(n,{resource:n,key:r,action:"off"})}}function ha(t){let e=wa(t,"keys"),n=po(t,"fieldEqualTo"),r=tn(t,"all")??(!e&&!n),o={};return r&&(o.all=!0),e&&(o.keys=e),n&&(o.fieldEqualTo=n),o}function ya(t){let e={},n;for(let r of t){let o=r.value;switch(o?.kind){case"blueprint":n=o.value;break;case"node":{let i=o.nodeId;typeof i=="string"&&(e[i]=o.value);break}case"reset":n=void 0;for(let i in e)delete e[i];break}}return{public:n,publicByNode:e,events:t}}function R(t){return{content:[{type:"text",text:JSON.stringify(t,null,2)}]}}function ba(t){return{content:[{type:"text",text:t}]}}function v(t,e){let n=ue(t)[e];if(typeof n!="string"||!n.trim())throw new Error(`invalid tool arguments: ${e} must be non-empty string`);return n}function je(t,e){if(t===void 0)return;let n=ue(t)[e];if(n!=null){if(typeof n!="string")throw new Error(`invalid tool arguments: ${e} must be string`);return n}}function en(t,e){let n=ue(t)[e];if(!J(n))throw new Error(`invalid tool arguments: ${e} must be object`);return n}function po(t,e){let n=ue(t)[e];if(n!=null){if(!J(n))throw new Error(`invalid tool arguments: ${e} must be object`);return n}}function wa(t,e){let n=ue(t)[e];if(n!=null){if(!Array.isArray(n)||n.some(r=>typeof r!="string"))throw new Error(`invalid tool arguments: ${e} must be string array`);return n}}function tn(t,e){let n=ue(t)[e];if(n!=null){if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${e} must be boolean`);return n}}function Ue(t,e){let n=ue(t)[e];if(n!=null){if(typeof n!="number"||!Number.isInteger(n)||n<=0)throw new Error(`invalid tool arguments: ${e} must be positive integer`);return n}}function Ra(t){let e=ue(t);for(let n of["path","query","headers","body","files"])if(e[n]!==void 0)throw new Error(`invalid tool arguments: use payload instead of ${n}`);return{integrationType:v(t,"integrationType"),operationId:v(t,"operationId"),payload:po(t,"payload"),outputFilePath:je(t,"outputFilePath"),confirm:tn(t,"confirm")}}function ue(t){if(!t||typeof t!="object"||Array.isArray(t))throw new Error("invalid tool arguments: expected object");return t}function J(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function ka(){return{type:"object",additionalProperties:!1,required:["query"],properties:{query:{type:"string",description:"Operator name, alias, category, or behavior to search for."},limit:{type:"integer",minimum:1,description:"Maximum number of operator matches to return."},includeDeprecated:{type:"boolean",description:"Include deprecated operators in results when true."}}}}function Ta(){return{type:"object",additionalProperties:!1,required:["blueprintId","query"],properties:{blueprintId:{type:"string",description:"Blueprint id whose context schemas should be searched."},query:{type:"string",description:"Field name, path, connection label, or type to search for."},limit:{type:"integer",minimum:1,description:"Maximum number of context fields to return."},connectionId:{type:"string",description:"Optional connection id to restrict context field matches."}}}}function Sa(){return{type:"object",additionalProperties:!1,required:["integrationType","operationId"],properties:{integrationType:{type:"string",description:"Integration type from integrations_list. MCP-only; not for external app data sources."},operationId:{type:"string",description:"Operation id from integration_endpoints_list or integration_endpoint_schema_get. MCP-only; not for external app data sources."},payload:{...We,description:"Single payload object matching payloadSchema from integration_endpoints_list or integration_endpoint_schema_get."},outputFilePath:{type:"string",description:"Local path where binary response downloads should be written."},confirm:{type:"boolean",description:"Required true for mutating or destructive endpoints after explicit user intent."}}}}function Ia(){return{type:"object",additionalProperties:!1,required:["resultId"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."},timeoutMs:{type:"integer",minimum:1,description:"Maximum wait in milliseconds."},quietMs:{type:"integer",minimum:1,description:"Quiet period before returning collected events."}}}}function xa(){return{type:"object",additionalProperties:!1,required:["resultId"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."}}}}function va(){return{type:"object",additionalProperties:!1,required:["resultId","offsets"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."},offsets:{...We,description:"Stream offsets to set for current result state."}}}}function Ba(){return{type:"object",additionalProperties:!1,required:["channel","key"],properties:{channel:{type:"string",enum:io,description:"Offset extent live channel to read."},key:{...We,description:"Stream partition key to read extents for."},timeoutMs:{type:"integer",minimum:1,description:"Maximum wait in milliseconds."}}}}var Le="application/json";function uo(t=Re()){return[{uri:"beepflow://resources",name:"Beepflow workspace resource registry",description:"Resource registry supported by this MCP server, including item schema URIs.",mimeType:Le,read:async()=>Tt("beepflow://resources",he)},{uri:"beepflow://resource-schemas",name:"Beepflow workspace resource schema registry",description:"JSON Schema registry for resource items supported by this MCP server.",mimeType:Le,read:async()=>Tt("beepflow://resource-schemas",nt)},...nt.map(e=>({uri:e.uri,name:`Beepflow ${e.resource} item schema`,description:`JSON Schema for ${e.resource} resource items.`,mimeType:Le,read:async()=>Tt(e.uri,e)})),...he.map(e=>({uri:`beepflow://resources/${e.name}`,name:`Beepflow ${e.name}`,description:e.description,mimeType:Le,read:async()=>{let n=await t.readResourceItems(e.name);return Tt(`beepflow://resources/${e.name}`,n)}}))]}function Tt(t,e){return{contents:[{uri:t,mimeType:Le,text:JSON.stringify(e,null,2)}]}}var St=Re(),{server:Pa,closeServer:Ea}=rn({serverName:"mcp",serverVersion:"0.1.0",instructions:ir,tools:so(St),resources:uo(St),onInitialized:()=>{St.start().catch(()=>{})}});process.on("SIGINT",()=>lo("SIGINT"));process.on("SIGTERM",()=>lo("SIGTERM"));Pa.start();function lo(t){St.close(),Ea(t)}
60
+ `.trim();function re(e,t){let n=Tr(e)[t];if(typeof n!="string"||!n.trim())throw new Error(`invalid tool arguments: ${t} must be non-empty string`);return n}function bt(e,t){let n=Tr(e)[t];if(n!=null){if(typeof n!="string")throw new Error(`invalid tool arguments: ${t} must be string`);return n}}function $o(e,t){let n=Tr(e)[t];if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${t} must be boolean`);return n}function Yc(e,t){let n=Tr(e)[t];if(n!=null){if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${t} must be boolean`);return n}}function Qc(e,t){let n=Tr(e)[t];if(!ko(n))throw new Error(`invalid tool arguments: ${t} must be object`);return n}function vs(e,t){if(e===void 0)return;let n=Tr(e)[t];if(n!=null){if(!ko(n))throw new Error(`invalid tool arguments: ${t} must be object`);return n}}function jo(e,t){let n=f0(e,t);if(!n)throw new Error(`invalid tool arguments: ${t} must be string array`);return n}function f0(e,t){let n=Tr(e)[t];if(n!=null){if(!Array.isArray(n)||n.some(r=>typeof r!="string"))throw new Error(`invalid tool arguments: ${t} must be string array`);return n}}function d0(e,t){let n=pd(e,t);if(n===void 0)throw new Error(`invalid tool arguments: ${t} must be positive integer`);return n}function pd(e,t){let n=Tr(e)[t];if(n!=null){if(typeof n!="number"||!Number.isInteger(n)||n<=0)throw new Error(`invalid tool arguments: ${t} must be positive integer`);return n}}function p0(e,t){let n=Tr(e)[t];if(n!=null){if(typeof n!="number"||!Number.isFinite(n))throw new Error(`invalid tool arguments: ${t} must be number`);return n}}function Ii(e,t,n){let r=re(e,t);if(!n.includes(r))throw new Error(`invalid tool arguments: ${t} must be one of ${n.join(", ")}`);return r}function Ss(e,t,n){let r=bt(e,t);if(r!==void 0){if(!n.includes(r))throw new Error(`invalid tool arguments: ${t} must be one of ${n.join(", ")}`);return r}}function ys(e){if(e!==void 0)return f0(e,"ids")}function Tr(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("invalid tool arguments: expected object");return e}function ko(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}var Xw={type:"object",additionalProperties:!0},Jc={type:"object",additionalProperties:!1,required:["type","trigger"],properties:{type:qc,trigger:Vc,config:zc}};var xo=["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"];function Es(e){return{type:"object",additionalProperties:!1,properties:{ids:Io(e),fieldEqualTo:{...Xw,description:"Return items whose top-level fields equal these exact values."}}}}function rt(e,t=["id"]){return{type:"object",additionalProperties:!1,required:t,properties:{id:{type:"string",description:"Tab/blueprint id."},...e}}}function _o(e,t){return rt({nodeId:{type:"string",description:"Blueprint node id."},inputName:{type:"string",description:"Operator input name."},...e},t)}function Ts(e,t){return rt(e,t)}function Io(e){return{type:"array",items:{type:"string"},description:e}}function mi(){return{type:"string",description:"CRDT list index. Defaults to 0.5 where supported."}}function Me(e){return{content:[{type:"text",text:JSON.stringify(e,null,2)}]}}function Zc(e,t){let n={};return e&&(n.keys=e),t&&(n.fieldEqualTo=t),!e&&!t&&(n.all=!0),n}async function Fr(e,t,n){return e.readResourceItems("tabs",Zc(t,n))}async function el(e,t){let n=await e.readResourceItem("tabs",t);if(!n)throw new Error(`tab not found: ${t}`);return n}function m0(e){return{name:"tabs_query",description:"Query visible tabs and folders. Use ids for exact tabs or fieldEqualTo for exact top-level field matches; with no filters, returns all visible tabs.",inputSchema:Es("Tab ids to read."),call:async t=>Me(await Fr(e,ys(t),vs(t,"fieldEqualTo")))}}var $w=(e=6)=>{let n="abcdefghijklmnopqrstuvwxyz",i=`1234567890${n}${n.toUpperCase()}`.split(""),o=new Uint8Array(e);return crypto.getRandomValues(o),o.reduce((a,s)=>`${a}${i[s&61]}`,"")},hi=$w;function As(e,t){if(t.insertAfterTabId){let i=e[t.insertAfterTabId];return i?xa(e,i):.5}let n=tl(e).find(i=>i.parent===t.parent);return n?(n.order??1)*.5:(tl(e)[0]?.order??1)*.5}function xa(e,t){let n=tl(e),r=n.findIndex(o=>o.id===t.id),i=r>=0?n[r+1]:void 0;return t.order*.5+(i?.order??1)*.5}function h0(e,t){let n=tl(e).filter(i=>i.parent===t.parent),r=n.findIndex(i=>i.id===t.id);return((n[r-1]?.order??0)+t.order)*.5}function _0(e,t){let n=0;for(let r in e){let i=e[r];i.parent===t&&i.order>n&&(n=i.order)}return n*.5+.5}function tl(e){let t=[];for(let n in e)t.push(e[n]);return t.sort((n,r)=>n.order-r.order)}function Rs(e,t){if(t)return t;for(let n in e)return e[n].parent;throw new Error("parent is required when no existing tab can provide a default parent")}function Yo(e,t){if(t.startsWith("spaces:"))return t.split(":")[1]??"";if(t.startsWith("tabs:")){let n=t.split(":")[1],r=n?e[n]?.spaceId:void 0;if(r)return r}throw new Error(`could not find spaceId for parent: ${t}`)}function gu(e,t){let n=e[t];if(!n)throw new Error(`tab not found: ${t}`);return n}async function ws(e,t){return dn("tabs",t),e.upsertResourceItem("tabs",t)}function g0(e){return{name:"folder_tab_create",description:"Create a folder tab under a parent such as spaces:<spaceId> or tabs:<folderId>. Computes frontend-compatible order and parent space.",inputSchema:{type:"object",additionalProperties:!1,properties:{parent:{type:"string",description:"Parent id, normally spaces:<spaceId> or tabs:<folderId>. Optional only when an existing tab can provide a default parent."},name:{type:"string",description:"Folder name. Defaults to Untitled folder."},insertAfterTabId:{type:"string",description:"Optional tab id after which to insert in global frontend tab order."}}},call:async t=>Me(await jw(e,{parent:bt(t,"parent"),name:bt(t,"name"),insertAfterTabId:bt(t,"insertAfterTabId")}))}}async function jw(e,t){let n=await Fr(e),r=Rs(n,t.parent),i=Yo(n,r),o={id:hi(),updatedAt:Nr(),name:t.name??"Untitled folder",order:As(n,{parent:r,insertAfterTabId:t.insertAfterTabId}),type:"folder",parent:r,spaceId:i};return await ws(e,o),o}function b0(e){return{name:"tab_rename",description:"Rename an existing tab or folder by preserving all other tab fields and upserting only the full updated tab record.",inputSchema:rt({name:{type:"string",description:"New non-empty tab name."}},["id","name"]),call:async t=>{let n=re(t,"id"),r=await el(e,n);return r.name=re(t,"name"),await ws(e,r),Me(r)}}}function v0(e){return{name:"tab_move",description:"Move or reorder a tab. Supports explicit order, insertBeforeTabId, insertAfterTabId, or appending to a parent while updating parent spaceId like frontend drag/drop.",inputSchema:rt({parent:{type:"string",description:"New parent id, normally spaces:<spaceId> or tabs:<folderId>."},order:{type:"number",description:"Explicit order value. Overrides insert and append order computation."},insertBeforeTabId:{type:"string",description:"Move before this sibling tab."},insertAfterTabId:{type:"string",description:"Move after this tab using frontend global ordering."}}),call:async t=>{let n=re(t,"id"),r=await Fr(e),i=r[n];if(!i)throw new Error(`tab not found: ${n}`);let o=Yw(r,i,t);return i.parent=o.parent,i.spaceId=o.spaceId,i.order=o.order,await ws(e,i),Me(i)}}}function Yw(e,t,n){let r=p0(n,"order"),i=bt(n,"insertBeforeTabId"),o=bt(n,"insertAfterTabId"),a=i?gu(e,i):o?gu(e,o):void 0,s=bt(n,"parent")??a?.parent??t.parent,c=a?.spaceId??Yo(e,s),d=r??(i?h0(e,gu(e,i)):o?xa(e,gu(e,o)):_0(e,s));return{parent:s,spaceId:c,order:d}}function S0(e){return{name:"tab_delete",description:"Delete a tab tree recursively. Folder tabs delete children; blueprint tabs delete matching blueprints and blueprint-views; page tabs delete matching pages before deleting the tab.",inputSchema:rt({},["id"]),call:async t=>Me(await Qw(e,re(t,"id")))}}async function Qw(e,t){let n=await Fr(e),r=n[t];if(!r)throw new Error(`tab not found: ${t}`);let i=[],o=[],a=[],s=[];return await y0(e,n,r,i,o,a,s),{deletedTabs:i,deletedBlueprints:o,deletedBlueprintViews:a,deletedPages:s}}async function y0(e,t,n,r,i,o,a){let s=`tabs:${n.id}`;for(let c in t){let d=t[c];d.parent===s&&await y0(e,t,d,r,i,o,a)}n.type==="blueprint"?(await Promise.all([e.deleteResourceItem("blueprints",n.id),e.deleteResourceItem("blueprint-views",n.id),e.deleteResourceItem("tabs",n.id)]),i.push(n.id),o.push(n.id)):n.type==="page"?(await Promise.all([e.deleteResourceItem("pages",n.id),e.deleteResourceItem("tabs",n.id)]),a.push(n.id)):await e.deleteResourceItem("tabs",n.id),r.push(n.id)}async function E0(e,t,n){return e.readResourceItems("blueprints",Zc(t,n))}function T0(e){return{name:"blueprints_query",description:"Query visible blueprint definitions. Use ids for exact blueprints or fieldEqualTo for exact top-level field matches; with no filters, returns all visible blueprints.",inputSchema:Es("Blueprint ids to read."),call:async t=>Me(await E0(e,ys(t),vs(t,"fieldEqualTo")))}}function md(e){if(!e)throw new Error("blueprint context trigger is required");let t=0;for(let n of["manual","cron","loop","blueprint","webhook","executor"])e[n]!==void 0&&t++;if(t!==1)throw new Error("blueprint context trigger must contain exactly one branch")}function nl(e){let t=e.type,n=e.trigger;if(typeof t!="string"||!t.trim())throw new Error("context.type must be non-empty string");if(!ko(n))throw new Error("context.trigger must be object");md(n);let r={type:t,trigger:n};return ko(e.config)&&(r.config=e.config),r}function A0(e){return{name:"blueprint_tab_create",description:"Create a blueprint tab plus matching blueprint and blueprint-view records with one shared id. Requires context with exactly one trigger branch. After create, tell user blueprint URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`. For external app integrations, use a blueprint with webhook trigger and tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(tab.id)}/trigger`.",inputSchema:{type:"object",additionalProperties:!1,required:["context"],properties:{context:{...Jc,description:"Blueprint context with type, trigger, and optional config. Trigger must have exactly one branch."},parent:{type:"string",description:"Parent id, normally spaces:<spaceId> or tabs:<folderId>. Optional only when existing tabs can provide a default."},name:{type:"string",description:"Tab name. Defaults to Untitled."},mode:{type:"string",enum:["test","explore"],description:"Initial mode. Defaults to test."},testRecordsAmount:{type:"integer",minimum:1,description:"Initial number of test records. Defaults to 1."},insertAfterTabId:{type:"string",description:"Optional tab id after which to insert."}}},call:async t=>{let n=nl(Qc(t,"context"));return await Fc(n.type),Me(await Jw(e,{context:n,parent:bt(t,"parent"),name:bt(t,"name"),mode:Ss(t,"mode",["test","explore"]),testRecordsAmount:pd(t,"testRecordsAmount"),insertAfterTabId:bt(t,"insertAfterTabId")}))}}}async function Jw(e,t){let n=await Fr(e),r=hi(),i=Rs(n,t.parent),o=Yo(n,i),a={id:r,updatedAt:Nr(),name:t.name??"Untitled",order:As(n,{parent:i,insertAfterTabId:t.insertAfterTabId}),type:"blueprint",parent:i,spaceId:o},s={id:r,updatedAt:Nr(),mode:t.mode??"test",nodes:{},context:t.context,testRecordsAmount:t.testRecordsAmount??1,desiredState:"inactive"},c={id:r,updatedAt:Nr(),nodes:{}};return md(s.context.trigger),dn("tabs",a),dn("blueprints",s),dn("blueprint-views",c),await Promise.all([e.upsertResourceItem("tabs",a),e.upsertResourceItem("blueprints",s),e.upsertResourceItem("blueprint-views",c)]),{tab:a,blueprint:s,blueprintView:c}}async function Tt(e,t){let[n,r,i]=await Promise.all([e.readResourceItem("tabs",t),e.readResourceItem("blueprints",t),e.readResourceItem("blueprint-views",t)]);if(!n)throw new Error(`tab not found: ${t}`);if(n.type!=="blueprint")throw new Error(`tab is not a blueprint: ${t}`);if(!r)throw new Error(`blueprint not found: ${t}`);if(!i)throw new Error(`blueprint view not found: ${t}`);return Zw(r),eD(i),{tab:n,blueprint:r,blueprintView:i}}function Zw(e){e.nodes??={}}function eD(e){e.nodes??={}}function R0(e){return{name:"blueprint_tab_duplicate",description:"Duplicate a blueprint tab by cloning tab, blueprint, and blueprint-view with a new shared id. Only top-level ids are remapped; node ids are preserved like frontend tab duplicate. After duplicate, tell user blueprint URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`.",inputSchema:rt({name:{type:"string",description:"Optional duplicated tab name. Defaults to source name plus *."}}),call:async t=>Me(await tD(e,re(t,"id"),bt(t,"name")))}}async function tD(e,t,n){let r=await Fr(e),i=await Tt(e,t),o=hi(),a=structuredClone(i.tab);a.id=o,a.updatedAt=Nr(),a.name=n??`${i.tab.name}*`,a.order=xa(r,i.tab);let s=structuredClone(i.blueprint);s.id=o,s.updatedAt=Nr(),s.mode=s.mode??"test";let c=structuredClone(i.blueprintView);return c.id=o,c.updatedAt=Nr(),dn("tabs",a),dn("blueprints",s),dn("blueprint-views",c),await Promise.all([e.upsertResourceItem("tabs",a),e.upsertResourceItem("blueprints",s),e.upsertResourceItem("blueprint-views",c)]),{tab:a,blueprint:s,blueprintView:c}}import{readFile as CU}from"node:fs/promises";import OU from"node:path";var zm=rh(Yy(),1);var Qy=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var Jy=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var Vp,wL=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),qp=(Vp=String.fromCodePoint)!==null&&Vp!==void 0?Vp:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function zp(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=wL.get(e))!==null&&t!==void 0?t:e}var hr;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(hr||(hr={}));var DL=32,na;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(na||(na={}));function Kp(e){return e>=hr.ZERO&&e<=hr.NINE}function CL(e){return e>=hr.UPPER_A&&e<=hr.UPPER_F||e>=hr.LOWER_A&&e<=hr.LOWER_F}function OL(e){return e>=hr.UPPER_A&&e<=hr.UPPER_Z||e>=hr.LOWER_A&&e<=hr.LOWER_Z||Kp(e)}function kL(e){return e===hr.EQUALS||OL(e)}var mr;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(mr||(mr={}));var ji;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ji||(ji={}));var $l=class{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=mr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ji.Strict}startEntity(t){this.decodeMode=t,this.state=mr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case mr.EntityStart:return t.charCodeAt(n)===hr.NUM?(this.state=mr.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=mr.NamedEntity,this.stateNamedEntity(t,n));case mr.NumericStart:return this.stateNumericStart(t,n);case mr.NumericDecimal:return this.stateNumericDecimal(t,n);case mr.NumericHex:return this.stateNumericHex(t,n);case mr.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|DL)===hr.LOWER_X?(this.state=mr.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=mr.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){let o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){let r=n;for(;n<t.length;){let i=t.charCodeAt(n);if(Kp(i)||CL(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){let r=n;for(;n<t.length;){let i=t.charCodeAt(n);if(Kp(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===hr.SEMI)this.consumed+=1;else if(this.decodeMode===ji.Strict)return 0;return this.emitCodePoint(zp(this.result),this.consumed),this.errors&&(t!==hr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){let{decodeTree:r}=this,i=r[this.treeIndex],o=(i&na.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){let a=t.charCodeAt(n);if(this.treeIndex=xL(r,i,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===ji.Attribute&&(o===0||kL(a))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],o=(i&na.VALUE_LENGTH)>>14,o!==0){if(a===hr.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==ji.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:n,decodeTree:r}=this,i=(r[n]&na.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){let{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~na.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case mr.NamedEntity:return this.result!==0&&(this.decodeMode!==ji.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case mr.NumericDecimal:return this.emitNumericEntity(0,2);case mr.NumericHex:return this.emitNumericEntity(0,3);case mr.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case mr.EntityStart:return 0}}};function Zy(e){let t="",n=new $l(e,r=>t+=qp(r));return function(i,o){let a=0,s=0;for(;(s=i.indexOf("&",s))>=0;){t+=i.slice(a,s),n.startEntity(o);let d=n.write(i,s+1);if(d<0){a=s+n.end();break}a=s+d,s=d===0?a+1:a}let c=t+i.slice(a);return t="",c}}function xL(e,t,n,r){let i=(t&na.BRANCH_LENGTH)>>7,o=t&na.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){let c=r-o;return c<0||c>=i?-1:e[n+c]-1}let a=n,s=a+i-1;for(;a<=s;){let c=a+s>>>1,d=e[c];if(d<r)a=c+1;else if(d>r)s=c-1;else return e[c+i]}return-1}var eE=Zy(Qy),hK=Zy(Jy);function Ws(e,t=ji.Legacy){return eE(e,t)}function ju(e){return eE(e,ji.Strict)}function jl(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var IL=new Map(jl([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(jl([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(jl([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(jl([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var PL=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),NL=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Gp(e,t){return function(r){let i,o=0,a="";for(;i=e.exec(r);)o!==i.index&&(a+=r.substring(o,i.index)),a+=t.get(i[0].charCodeAt(0)),o=i.index+1;return a+r.substring(o)}}var tE=Gp(/[&<>'"]/g,PL),nE=Gp(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),rE=Gp(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var iE;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(iE||(iE={}));var oE;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(oE||(oE={}));var $A=rh(YE(),1);function Wa(e){return e.split("")}function Yu(e,t){return t.includes(e)}var jp=class extends Error{constructor(t,n){super(),this.name="DefaultsError",this.message=t,this.defs=n}};function wr(e,t,n){e===!0?e={}:e!=null&&typeof e=="object"&&(e={...e});let r=e||{};if(n){for(let i in r)if(hn(r,i)&&!hn(t,i))throw new jp("`"+i+"` is not a supported option",t)}for(let i in t)if(hn(t,i))if(!e||!hn(e,i))r[i]=t[i];else if(i==="ecma"||i==="builtins_ecma"){let o=e[i]|0;o>5&&o<2015&&(o+=2009),r[i]=o}else r[i]=e&&hn(e,i)?e[i]:t[i];return r}function er(){}function Ge(){return!1}function _n(){return!0}function Yi(){return this}function bo(){return null}var ft=(function(){function e(n,r,i=!0){let o=[];for(let a=0;a<n.length;++a){let c=n[a].transform(r,i);c instanceof X?o.push(c):c instanceof t&&o.push(...c.v)}return o}e.splice=function(n){return new t(n)},e.skip={};function t(n){this.v=n}return e})();function D(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function kt(e){return D(de,e,{operator:"void",expression:D(le,e,{value:0})})}function Lo(e,t){e.includes(t)||e.push(t)}function Ha(e,t){return e.replace(/{(.+?)}/g,function(n,r){return t&&t[r]})}function Bo(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function Yp(e,t){if(e.length<2)return e.slice();function n(i,o){for(var a=[],s=0,c=0,d=0;s<i.length&&c<o.length;)t(i[s],o[c])<=0?a[d++]=i[s++]:a[d++]=o[c++];return s<i.length&&a.push.apply(a,i.slice(s)),c<o.length&&a.push.apply(a,o.slice(c)),a}function r(i){if(i.length<=1)return i;var o=Math.floor(i.length/2),a=i.slice(0,o),s=i.slice(o);return a=r(a),s=r(s),n(a,s)}return r(e)}function We(e){return Array.isArray(e)||(e=e.split(" ")),new Set(e.sort())}function Qu(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}function QE(e){var t=new Map;for(var n in e)hn(e,n)&&n.charAt(0)==="$"&&t.set(n.substr(1),e[n]);return t}function JE(e){var t=Object.create(null);return e.forEach(function(n,r){t["$"+r]=n}),t}function hn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ra(e,t){return e===!0||e instanceof RegExp&&e.test(t)}var xB={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function ia(e){return e.replace(/[\0\n\r\u2028\u2029]/g,function(t,n){var r=e[n-1]=="\\"&&(e[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(e.slice(0,n-1)));return(r?"":"\\")+xB[t]})}var IB=/^[\\/|\0\s\w^$.[\]()]*$/,Jl=e=>IB.test(e),PB="dgimsuyv";function ZE(e){let t=new Set(e.split("")),n="";for(let r of PB)t.has(r)&&(n+=r,t.delete(r));return t.size&&t.forEach(r=>{n+=r}),n}function In(e,t){return e._annotations&t}function Xs(e,t){e._annotations|=t}function Qp(e,t){e._annotations&=~t}var Ju="",Zu=new Map,tf="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with",nf="false null true",ec="enum import super this "+nf+" "+tf,So="implements interface package private protected public static "+ec,em="return new delete throw else case yield await";tf=We(tf);ec=We(ec);em=We(em);nf=We(nf);So=We(So);var NB=We(Wa("+-*&%=<>!?|~^")),iT=/^0x[0-9a-f]+$/i,oT=/^0[0-7]+$/,FB=/^0o[0-7]+$/i,MB=/^0b[01]+$/i,LB=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,BB=/^(0[xob])?[0-9a-f]+n$/i,Jp=/in(?:stanceof)?/y,eT=We(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),tT=We(Wa(` \xA0
61
+ \r \f\v\u200B\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`)),Zl=We(Wa(`
62
+ \r\u2028\u2029`)),UB=We(Wa(";]),:")),VB=We(Wa("[{(,;:")),qB=We(Wa("[]{}(),;:")),rf={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function vo(e,t){if(of(e.charCodeAt(t))){if(tm(e.charCodeAt(t+1)))return e.charAt(t)+e.charAt(t+1)}else if(tm(e.charCodeAt(t))&&of(e.charCodeAt(t-1)))return e.charAt(t-1)+e.charAt(t);return e.charAt(t)}function aT(e,t){return of(e.charCodeAt(t))?65536+(e.charCodeAt(t)-55296<<10)+e.charCodeAt(t+1)-56320:e.charCodeAt(t)}function zB(e){for(var t=0,n=0;n<e.length;n++)of(e.charCodeAt(n))&&tm(e.charCodeAt(n+1))&&(t++,n++);return e.length-t}function KB(e){return e>65535?(e-=65536,String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}function of(e){return e>=55296&&e<=56319}function tm(e){return e>=56320&&e<=57343}function nT(e){return e>=48&&e<=57}function ef(e){return rf.ID_Start.test(e)}function Xa(e){return rf.ID_Continue.test(e)}var sT=/^[a-z_$][a-z0-9_$]*$/i;function $a(e){return sT.test(e)}function nm(e,t){if(sT.test(e))return!0;if(!t&&/[\ud800-\udfff]/.test(e))return!1;var n=rf.ID_Start.exec(e);return!n||n.index!==0?!1:(e=e.slice(n[0].length),e?(n=rf.ID_Continue.exec(e),!!n&&n[0].length===e.length):!0)}function rT(e,t=!0){if(!t&&e.includes("e"))return NaN;if(iT.test(e))return parseInt(e.substr(2),16);if(oT.test(e))return parseInt(e.substr(1),8);if(FB.test(e))return parseInt(e.substr(2),8);if(MB.test(e))return parseInt(e.substr(2),2);if(LB.test(e))return parseFloat(e);var n=parseFloat(e);if(n==e)return n}var tc=class extends Error{constructor(t,n,r,i,o){super(),this.name="SyntaxError",this.message=t,this.filename=n,this.line=r,this.col=i,this.pos=o}};function nc(e,t,n,r,i){throw new tc(e,t,n,r,i)}function tr(e,t,n){return e.type==t&&(n==null||e.value==n)}var Zp={};function GB(e,t,n,r){var i={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function o(){return vo(i.text,i.pos)}function a(){if(!(i.text.charCodeAt(i.pos+1)===46))return!1;let Q=i.text.charCodeAt(i.pos+2);return Q<48||Q>57}function s(q,Q){var $=vo(i.text,i.pos++);if(q&&!$)throw Zp;return Zl.has($)?(i.newline_before=i.newline_before||!Q,++i.line,i.col=0,$=="\r"&&o()==`
63
+ `&&(++i.pos,$=`
64
+ `)):($.length>1&&(++i.pos,++i.col),++i.col),$}function c(q){for(;q--;)s()}function d(q){return i.text.substr(i.pos,q.length)==q}function p(){for(var q=i.text,Q=i.pos,$=i.text.length;Q<$;++Q){var te=q[Q];if(Zl.has(te))return Q}return-1}function m(q,Q){var $=i.text.indexOf(q,i.pos);if(Q&&$==-1)throw Zp;return $}function g(){i.tokline=i.line,i.tokcol=i.col,i.tokpos=i.pos}var b=!1,h=null;function w(q,Q,$){i.regex_allowed=q=="operator"&&!uT.has(Q)||q=="keyword"&&em.has(Q)||q=="punc"&&VB.has(Q)||q=="arrow",q=="punc"&&(Q=="."||Q=="?.")?b=!0:$||(b=!1);let te=i.tokline,it=i.tokcol,Vn=i.tokpos,ye=i.newline_before,fe=t,xe=[],F=[];$||(xe=i.comments_before,F=i.comments_before=[]),i.newline_before=!1;let H=new oa(q,Q,te,it,Vn,ye,xe,F,fe);return $||(h=H),H}function l(){for(;tT.has(o());)s()}function u(){for(var q=i.pos,Q=!1;q<i.text.length;){var $=vo(i.text,q);if(Zl.has($))return{char:$,pos:q};if(Q)$=="*"&&vo(i.text,q+1)=="/"?(q+=2,Q=!1):q++;else if(tT.has($))q++;else{if($=="/"){var te=vo(i.text,q+1);if(te=="/")return q=p(),{char:vo(i.text,q),pos:q};if(te=="*"){Q=!0,q+=2;continue}}return{char:$,pos:q}}}return{char:null,pos:q}}function v(q,Q){if(q=="\\")return!0;if(ef(q)){if(Jp.lastIndex=Q,Jp.test(i.text)){var $=vo(i.text,Jp.lastIndex);if(!Xa($)&&$!="\\")return!1}return!0}return!1}function y(q){for(var Q="",$,te=0;($=o())&&q($,te++);)Q+=s();return Q}function S(q){nc(q,t,i.tokline,i.tokcol,i.tokpos)}function C(q){var Q=!1,$=!1,te=!1,it=q==".",Vn=!1,ye=!1,fe=y(function(F,H){if(Vn)return!1;var j=F.charCodeAt(0);switch(j){case 95:return ye=!0;case 98:case 66:return te=!0;case 111:case 79:case 120:case 88:return te?!1:te=!0;case 101:case 69:return te?!0:Q?!1:Q=$=!0;case 45:return $||H==0&&!q;case 43:return $;case($=!1,46):return!it&&!te&&!Q?it=!0:!1;case 110:return Vn=!0,!0}return j>=48&&j<=57||j>=97&&j<=102||j>=65&&j<=70});if(q&&(fe=q+fe),Ju=fe,oT.test(fe)&&V.has_directive("use strict")&&S("Legacy octal literals are not allowed in strict mode"),ye&&(fe.endsWith("_")?S("Numeric separators are not allowed at the end of numeric literals"):fe.includes("__")&&S("Only one underscore is allowed as numeric separator"),fe=fe.replace(/_/g,"")),Vn){let F=fe.slice(0,-1),H=iT.test(F),j=rT(F,H);if(!it&&BB.test(fe)&&!isNaN(j))return w("big_int",F);S("Invalid or unexpected token")}var xe=rT(fe);if(isNaN(xe))S("Invalid syntax: "+fe);else return w("num",xe)}function f(q){return q>="0"&&q<="7"}function _(q,Q,$){var te=s(!0,q);switch(te.charCodeAt(0)){case 110:return`
65
+ `;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(O(2,Q));case 117:if(o()=="{"){for(s(!0),o()==="}"&&S("Expecting hex-character between {}");o()=="0";)s(!0);var it,Vn=m("}",!0)-i.pos;return(Vn>6||(it=O(Vn,Q))>1114111)&&S("Unicode reference out of bounds"),s(!0),KB(it)}return String.fromCharCode(O(4,Q));case 10:return"";case 13:if(o()==`
66
+ `)return s(!0,q),""}return f(te)?($&&Q&&(te==="0"&&!f(o())||S("Octal escape sequences are not allowed in template strings")),T(te,Q)):te}function T(q,Q){var $=o();return $>="0"&&$<="7"&&(q+=s(!0),q[0]<="3"&&($=o())>="0"&&$<="7"&&(q+=s(!0))),q==="0"?"\0":(q.length>0&&V.has_directive("use strict")&&Q&&S("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(q,8)))}function O(q,Q){for(var $=0;q>0;--q){if(!Q&&isNaN(parseInt(o(),16)))return parseInt($,16)||"";var te=s(!0);isNaN(parseInt(te,16))&&S("Invalid hex-character pattern in string"),$+=te}return parseInt($,16)}var A=De("Unterminated string constant",function(){let q=i.pos;for(var Q=s(),$=[];;){var te=s(!0,!0);if(te=="\\")te=_(!0,!0);else if(te=="\r"||te==`
67
+ `)S("Unterminated string constant");else if(te==Q)break;$.push(te)}var it=w("string",$.join(""));return Ju=i.text.slice(q,i.pos),it.quote=Q,it}),N=De("Unterminated template",function(q){q&&i.template_braces.push(i.brace_counter);var Q="",$="",te,it;for(s(!0,!0);(te=s(!0,!0))!="`";){if(te=="\r")o()==`
68
+ `&&++i.pos,te=`
69
+ `;else if(te=="$"&&o()=="{")return s(!0,!0),i.brace_counter++,it=w(q?"template_head":"template_cont",Q),Zu.set(it,$),it.template_end=!1,it;if($+=te,te=="\\"){var Vn=i.pos,ye=h&&(h.type==="name"||h.type==="punc"&&(h.value===")"||h.value==="]"));te=_(!0,!ye,!0),$+=i.text.substr(Vn,i.pos-Vn)}Q+=te}return i.template_braces.pop(),it=w(q?"template_head":"template_cont",Q),Zu.set(it,$),it.template_end=!0,it});function P(q){var Q=i.regex_allowed,$=p(),te;return $==-1?(te=i.text.substr(i.pos),i.pos=i.text.length):(te=i.text.substring(i.pos,$),i.pos=$),i.col=i.tokcol+(i.pos-i.tokpos),i.comments_before.push(w(q,te,!0)),i.regex_allowed=Q,V}var L=De("Unterminated multiline comment",function(){var q=i.regex_allowed,Q=m("*/",!0),$=i.text.substring(i.pos,Q).replace(/\r\n|\r|\u2028|\u2029/g,`
70
+ `);return c(zB($)+2),i.comments_before.push(w("comment2",$,!0)),i.newline_before=i.newline_before||$.includes(`
71
+ `),i.regex_allowed=q,V}),W=function(){let q=i.pos,Q=q-1,$="c";for(;($=i.text.charAt(++Q))&&($>="a"&&$<="z"||$>="A"&&$<="Z"););return Q>q+1&&$&&$!=="\\"&&!Xa($)&&$<="~"?(i.pos+=Q-q,i.col+=Q-q,i.text.slice(q,i.pos)):ae()},ae=De("Unterminated identifier name",function(){var q=[],Q,$=!1,te=function(){return $=!0,s(),o()!=="u"&&S("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),_(!1,!0)};if((Q=o())==="\\")Q=te(),ef(Q)||S("First identifier char is an invalid identifier char");else if(ef(Q))s();else return"";for(q.push(Q);(Q=o())!=null;){if((Q=o())==="\\")Q=te(),Xa(Q)||S("Invalid escaped identifier char");else{if(!Xa(Q))break;s()}q.push(Q)}let it=q.join("");return ec.has(it)&&$&&S("Escaped characters are not allowed in keywords"),it}),Z=De("Unterminated regular expression",function(q){for(var Q=!1,$,te=!1;$=s(!0);)if(Zl.has($))S("Unexpected line terminator");else if(Q)/^[\u0000-\u007F]$/.test($)?q+="\\"+$:q+=$,Q=!1;else if($=="[")te=!0,q+=$;else if($=="]"&&te)te=!1,q+=$;else{if($=="/"&&!te)break;$=="\\"?Q=!0:q+=$}let it=W();return w("regexp","/"+q+"/"+it)});function ke(q){function Q($){if(!o())return $;var te=$+o();return eT.has(te)?(s(),Q(te)):$}return w("operator",Q(q||s()))}function Ve(){switch(s(),o()){case"/":return s(),P("comment1");case"*":return s(),L()}return i.regex_allowed?Z(""):ke("/")}function Be(){return s(),o()===">"?(s(),w("arrow","=>")):ke("=")}function ge(){return s(),nT(o().charCodeAt(0))?C("."):o()==="."?(s(),s(),w("expand","...")):w("punc",".")}function Qt(){var q=W();return b?w("name",q):nf.has(q)?w("atom",q):tf.has(q)?eT.has(q)?w("operator",q):w("keyword",q):w("name",q)}function J(){return s(),w("privatename",W())}function De(q,Q){return function($){try{return Q($)}catch(te){if(te===Zp)S(q);else throw te}}}function V(q){if(q!=null)return Z(q);for(r&&i.pos==0&&d("#!")&&(g(),c(2),P("comment5"));;){if(l(),g(),n){if(d("<!--")){c(4),P("comment3");continue}if(d("-->")&&i.newline_before){c(3),P("comment4");continue}}var Q=o();if(!Q)return w("eof");var $=Q.charCodeAt(0);switch($){case 34:case 39:return A();case 46:return ge();case 47:{var te=Ve();if(te===V)continue;return te}case 61:return Be();case 63:{if(!a())break;return s(),s(),w("punc","?.")}case 96:return N(!0);case 123:i.brace_counter++;break;case 125:if(i.brace_counter--,i.template_braces.length>0&&i.template_braces[i.template_braces.length-1]===i.brace_counter)return N(!1);break}if(nT($))return C();if(qB.has(Q))return w("punc",s());if(NB.has(Q))return ke();if($==92||ef(Q))return Qt();if($==35)return J();break}S("Unexpected character '"+Q+"'")}return V.next=s,V.peek=o,V.context=function(q){return q&&(i=q),i},V.add_directive=function(q){i.directive_stack[i.directive_stack.length-1].push(q),i.directives[q]===void 0?i.directives[q]=1:i.directives[q]++},V.push_directives_stack=function(){i.directive_stack.push([])},V.pop_directives_stack=function(){for(var q=i.directive_stack[i.directive_stack.length-1],Q=0;Q<q.length;Q++)i.directives[q[Q]]--;i.directive_stack.pop()},V.has_directive=function(q){return i.directives[q]>0},V.peek_next_token_start_or_newline=u,V.ch_starts_binding_identifier=v,V}var WB=We(["typeof","void","delete","--","++","!","~","-","+"]),uT=We(["--","++"]),HB=We(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),XB=We(["??=","&&=","||="]),Qr=(function(e,t){for(var n=0;n<e.length;++n)for(let r of e[n])t[r]=n+1;return t})([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),$B=We(["atom","num","big_int","string","regexp","name"]);function qo(e,t){let n=new WeakMap;t=wr(t,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:typeof e=="string"?GB(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=a();function i(E,x){return tr(r.token,E,x)}function o(){return r.peeked||(r.peeked=r.input())}function a(){return r.prev=r.token,r.peeked||o(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&(r.token.type=="string"||i("punc",";")),r.token}function s(){return r.prev}function c(E,x,I,U){var K=r.input.context();nc(E,K.filename,x??K.tokline,I??K.tokcol,U??K.tokpos)}function d(E,x){c(x,E.line,E.col)}function p(E){E==null&&(E=r.token),d(E,"Unexpected token: "+E.type+" ("+E.value+")")}function m(E,x){if(i(E,x))return a();d(r.token,"Unexpected token "+r.token.type+" \xAB"+r.token.value+"\xBB, expected "+E+" \xAB"+x+"\xBB")}function g(E){return m("punc",E)}function b(E){return E.nlb||!E.comments_before.every(x=>!x.nlb)}function h(){return!t.strict&&(i("eof")||i("punc","}")||b(r.token))}function w(){return r.in_generator===r.in_function}function l(){return r.in_async===r.in_function}function u(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive("use strict")}function v(E){i("punc",";")?a():!E&&!h()&&p()}function y(){g("(");var E=ct(!0);return g(")"),E}function S(E){return function(...I){let U=r.token,K=E(...I);return K.start=U,K.end=s(),K}}function C(){(i("operator","/")||i("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var f=S(function E(x,I,U){switch(C(),r.token.type){case"string":if(r.in_directives){var K=o();!Ju.includes("\\")&&(tr(K,"punc",";")||tr(K,"punc","}")||b(K)||tr(K,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var ue=r.in_directives,Ee=T();return ue&&Ee.body instanceof Ne?new bn(Ee.body):Ee;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return T();case"name":if(r.token.value=="async"&&tr(o(),"keyword","function"))return a(),a(),I&&c("functions are not allowed as the body of a loop"),ae(st,!1,!0,x);if(r.token.value=="import"&&!tr(o(),"punc","(")&&!tr(o(),"punc",".")){a();var qe=k();return v(),qe}if(r.token.value=="using"&&tr(o(),"name")&&!b(o())){a();var qe=fe();return v(),qe}if(r.token.value=="await"&&u()&&tr(o(),"name","using")&&!b(o())){var zn=r.input.peek_next_token_start_or_newline();if(r.input.ch_starts_binding_identifier(zn.char,zn.pos)){a();var qe=xe();return v(),qe}}return tr(o(),"punc",":")?_():T();case"privatename":return r.in_class||c("Private field must be used in an enclosing class"),T();case"punc":switch(r.token.value){case"{":return new we({start:r.token,body:q(),end:s()});case"[":case"(":return T();case";":return r.in_directives=!1,a(),new Ye;default:p()}case"keyword":switch(r.token.value){case"break":return a(),O(rr);case"continue":return a(),O(Ei);case"debugger":return a(),v(),new zr;case"do":a();var ii=ds(E);m("keyword","while");var oi=y();return v(!0),new gr({body:ii,condition:oi});case"while":return a(),new Or({condition:y(),body:ds(function(){return E(!1,!0)})});case"for":return a(),A();case"class":return a(),I&&c("classes are not allowed as the body of a loop"),U&&c("classes are not allowed as the body of an if"),Dt($n,x);case"function":return a(),I&&c("functions are not allowed as the body of a loop"),ae(st,!1,!1,x);case"if":return a(),V();case"return":r.in_function==0&&!t.bare_returns&&c("'return' outside of function"),a();var ki=null;return i("punc",";")?a():h()||(ki=ct(!0),v()),new pt({value:ki});case"switch":return a(),new Mt({expression:y(),body:ds(Q)});case"throw":a(),b(r.token)&&c("Illegal newline after 'throw'");var ki=ct(!0);return v(),new zo({value:ki});case"try":return a(),$();case"var":a();var qe=it();return v(),qe;case"let":a();var qe=Vn();return v(),qe;case"const":a();var qe=ye();return v(),qe;case"with":return r.input.has_directive("use strict")&&c("Strict mode may not include a with statement"),a(),new sn({expression:y(),body:E()});case"export":if(!tr(o(),"punc","(")){a();var qe=qn();return i("punc",";")&&v(),qe}}}p()});function _(){var E=zi(sa);E.name==="await"&&l()&&d(r.prev,"await cannot be used as label inside async function"),r.labels.some(I=>I.name===E.name)&&c("Label "+E.name+" defined twice"),g(":"),r.labels.push(E);var x=f();return r.labels.pop(),x instanceof Cr||E.references.forEach(function(I){I instanceof Ei&&(I=I.label.start,c("Continue label `"+E.name+"` refers to non-IterationStatement.",I.line,I.col,I.pos))}),new Ct({body:x,label:E})}function T(E){return new ie({body:(E=ct(!0),v(),E)})}function O(E){var x=null,I;h()||(x=zi($s,!0)),x!=null?(I=r.labels.find(K=>K.name===x.name),I||c("Undefined label "+x.name),x.thedef=I):r.in_loop==0&&c(E.TYPE+" not inside a loop or switch"),v();var U=new E({label:x});return I&&I.references.push(U),U}function A(){var E="`for await` invalid in this context",x=r.token;x.type=="name"&&x.value=="await"?(u()||d(x,E),a()):x=!1,g("(");var I=null;if(i("punc",";"))x&&d(x,E);else{I=i("keyword","var")?(a(),it(!0)):i("keyword","let")?(a(),Vn(!0)):i("keyword","const")?(a(),ye(!0)):i("name","using")&&tr(o(),"name")&&(o().value!="of"||r.input.peek_next_token_start_or_newline().char=="=")?(a(),fe(!0)):i("name","await")&&u()&&tr(o(),"name","using")?(a(),xe(!0)):ct(!0,!0);var U=i("operator","in"),K=i("name","of");if(x&&!K&&d(x,E),U||K)return I instanceof Nn?(I.definitions.length>1&&d(I.start,"Only one variable declaration allowed in for..in loop"),U&&I instanceof Pn&&d(I.start,"Invalid using declaration in for..in loop")):zf(I)||(I=fs(I))instanceof Xe||d(I.start,"Invalid left-hand side in for..in loop"),a(),U?L(I):P(I,!!x)}return N(I)}function N(E){g(";");var x=i("punc",";")?null:ct(!0);g(";");var I=i("punc",")")?null:ct(!0);return g(")"),new ht({init:E,condition:x,step:I,body:ds(function(){return f(!1,!0)})})}function P(E,x){var I=E instanceof Nn?E.definitions[0].name:null,U=ct(!0);return g(")"),new Ai({await:x,init:E,name:I,object:U,body:ds(function(){return f(!1,!0)})})}function L(E){var x=ct(!0);return g(")"),new wt({init:E,object:x,body:ds(function(){return f(!1,!0)})})}var W=function(E,x,I){b(r.token)&&c("Unexpected newline before arrow (=>)"),m("arrow","=>");var U=Qt(i("punc","{"),!1,I);return new ot({start:E,end:U.end,async:I,argnames:x,body:U})},ae=function(E,x,I,U){var K=E===st;i("operator","*")&&(x=!0,a());var ue=i("name")?zi(K?kr:Sr):null;K&&!ue&&(U?E=Ze:p()),ue&&E!==qr&&!(ue instanceof It)&&p(s());var Ee=[],qe=Qt(!0,x,I,ue,Ee);return new E({start:Ee.start,end:qe.end,is_generator:x,async:I,name:ue,argnames:Ee,body:qe})};class Z{constructor(x,I,U=!1){this.is_parameter=x,this.duplicates_ok=U,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!I}add_parameter(x){if(this.parameters.has(x.value))this.duplicate===null&&(this.duplicate=x),this.check_strict();else if(this.parameters.add(x.value),this.is_parameter)switch(x.value){case"arguments":case"eval":case"yield":this.strict_mode&&d(x,"Unexpected "+x.value+" identifier as parameter inside strict mode");break;default:ec.has(x.value)&&p()}}mark_default_assignment(x){this.default_assignment===!1&&(this.default_assignment=x)}mark_spread(x){this.spread===!1&&(this.spread=x)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return this.default_assignment!==!1||this.spread!==!1||this.strict_mode}check_strict(){this.is_strict()&&this.duplicate!==null&&!this.duplicates_ok&&d(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function ke(E){var x=new Z(!0,r.input.has_directive("use strict"));for(g("(");!i("punc",")");){var I=Ve(x);if(E.push(I),i("punc",")")||g(","),I instanceof Te)break}a()}function Ve(E,x){var I,U=!1;return E===void 0&&(E=new Z(!0,r.input.has_directive("use strict"))),i("expand","...")&&(U=r.token,E.mark_spread(r.token),a()),I=Be(E,x),i("operator","=")&&U===!1&&(E.mark_default_assignment(r.token),a(),I=new on({start:I.start,left:I,operator:"=",right:ct(!1),end:r.token})),U!==!1&&(i("punc",")")||p(),I=new Te({start:U,expression:I,end:U})),E.check_strict(),I}function Be(E,x){var I=[],U=!0,K=!1,ue,Ee=r.token;if(E===void 0){let ki=r.input.has_directive("use strict"),En=x===Jr;E=new Z(!1,ki,En)}if(x=x===void 0?xt:x,i("punc","[")){for(a();!i("punc","]");){if(U?U=!1:g(","),i("expand","...")&&(K=!0,ue=r.token,E.mark_spread(r.token),a()),i("punc"))switch(r.token.value){case",":I.push(new jn({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":I.push(Be(E,x));break;default:p()}else i("name")?(E.add_parameter(r.token),I.push(zi(x))):c("Invalid function parameter");i("operator","=")&&K===!1&&(E.mark_default_assignment(r.token),a(),I[I.length-1]=new on({start:I[I.length-1].start,left:I[I.length-1],operator:"=",right:ct(!1),end:r.token})),K&&(i("punc","]")||c("Rest element must be last element"),I[I.length-1]=new Te({start:ue,expression:I[I.length-1],end:ue}))}return g("]"),E.check_strict(),new Xe({start:Ee,names:I,is_array:!0,end:s()})}else if(i("punc","{")){for(a();!i("punc","}");){if(U?U=!1:g(","),i("expand","...")&&(K=!0,ue=r.token,E.mark_spread(r.token),a()),i("name")&&(tr(o(),"punc")||tr(o(),"operator"))&&[",","}","="].includes(o().value)){E.add_parameter(r.token);var qe=s(),zn=zi(x);K?I.push(new Te({start:ue,expression:zn,end:zn.end})):I.push(new $e({start:qe,key:zn.name,value:zn,end:zn.end}))}else{if(i("punc","}"))continue;var ii=r.token,oi=ut();oi===null?p(s()):s().type==="name"&&!i("punc",":")?I.push(new $e({start:s(),key:oi,value:new x({start:s(),name:oi,end:s()}),end:s()})):(g(":"),I.push(new $e({start:ii,quote:ii.quote,key:oi,value:Be(E,x),end:s()})))}K?i("punc","}")||c("Rest element must be last element"):i("operator","=")&&(E.mark_default_assignment(r.token),a(),I[I.length-1].value=new on({start:I[I.length-1].value.start,left:I[I.length-1].value,operator:"=",right:ct(!1),end:r.token}))}return g("}"),E.check_strict(),new Xe({start:Ee,names:I,is_array:!1,end:s()})}else{if(i("name"))return E.add_parameter(r.token),zi(x);c("Invalid function parameter")}}function ge(E,x){var I,U,K,ue=[];for(g("(");!i("punc",")");)I&&p(I),i("expand","...")?(I=r.token,x&&(U=r.token),a(),ue.push(new Te({start:s(),expression:ct(),end:r.token}))):ue.push(ct()),i("punc",")")||(g(","),i("punc",")")&&(K=s(),x&&(U=K)));return g(")"),E&&i("arrow","=>")?I&&K&&p(K):U&&p(U),ue}function Qt(E,x,I,U,K){var ue=r.in_loop,Ee=r.labels,qe=r.in_generator,zn=r.in_async;if(++r.in_function,x&&(r.in_generator=r.in_function),I&&(r.in_async=r.in_function),K&&ke(K),E&&(r.in_directives=!0),r.in_loop=0,r.labels=[],E){r.input.push_directives_stack();var ii=q();U&&Ra(U),K&&K.forEach(Ra),r.input.pop_directives_stack()}else var ii=[new pt({start:r.token,value:ct(!1),end:r.token})];return--r.in_function,r.in_loop=ue,r.labels=Ee,r.in_generator=qe,r.in_async=zn,ii}function J(){return u()||c("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new An({start:s(),end:r.token,expression:Uf(!0)})}function De(){var E=r.token,x=!1,I=!0;return h()||i("punc")&&UB.has(r.token.value)||i("template_cont")?I=!1:i("operator","*")&&(x=!0,a()),new vn({start:E,is_star:x,expression:I?ct():null,end:s()})}function V(){var E=y(),x=f(!1,!1,!0),I=null;return i("keyword","else")&&(a(),I=f(!1,!1,!0)),new Qe({condition:E,body:x,alternative:I})}function q(){g("{");for(var E=[];!i("punc","}");)i("eof")&&p(),E.push(f());return a(),E}function Q(){g("{");for(var E=[],x=null,I=null,U;!i("punc","}");)i("eof")&&p(),i("keyword","case")?(I&&(I.end=s()),x=[],I=new ir({start:(U=r.token,a(),U),expression:ct(!0),body:x}),E.push(I),g(":")):i("keyword","default")?(I&&(I.end=s()),x=[],I=new ci({start:(U=r.token,a(),g(":"),U),body:x}),E.push(I)):(x||p(),x.push(f()));return I&&(I.end=s()),a(),E}function $(){var E,x=null,I=null;if(E=new aa({start:r.token,body:q(),end:s()}),i("keyword","catch")){var U=r.token;if(a(),i("punc","{"))var K=null;else{g("(");var K=Ve(void 0,xr);g(")")}x=new br({start:U,argname:K,body:q(),end:s()})}if(i("keyword","finally")){var U=r.token;a(),I=new eo({start:U,body:q(),end:s()})}return!x&&!I&&c("Missing catch/finally blocks"),new un({body:E,bcatch:x,bfinally:I})}function te(E,x){for(var I=[],U;;){var K=x==="var"?Jr:x==="const"?Di:x==="let"?no:x==="using"?Ti:x==="await using"?Ti:null,ue=x==="using"||x==="await using"?ja:At;if(i("punc","{")||i("punc","[")?U=new ue({start:r.token,name:Be(void 0,K),value:i("operator","=")?(m("operator","="),ct(!1,E)):null,end:s()}):(U=new ue({start:r.token,name:zi(K),value:i("operator","=")?(a(),ct(!1,E)):!E&&(x==="const"||x==="using"||x==="await using")?c("Missing initializer in "+x+" declaration"):null,end:s()}),U.name.name=="import"&&c("Unexpected token: import")),I.push(U),!i("punc",","))break;a()}return I}var it=function(E){return new vt({start:s(),definitions:te(E,"var"),end:s()})},Vn=function(E){return new Ri({start:s(),definitions:te(E,"let"),end:s()})},ye=function(E){return new wi({start:s(),definitions:te(E,"const"),end:s()})},fe=function(E){return new Pn({start:s(),await:!1,definitions:te(E,"using"),end:s()})},xe=function(E){return new Pn({start:s(),await:!0,definitions:(a(),te(E,"await using")),end:s()})},F=function(E){var x=r.token;if(m("operator","new"),i("punc","."))return a(),m("name","target"),fr(new to({start:x,end:s()}),E);var I=Ie(!1),U;i("punc","(")?(a(),U=et(")",!0)):U=[];var K=new Xt({start:x,expression:I,args:U,end:s()});return jr(K),fr(K,E)};function H(){var E=r.token,x;switch(E.type){case"name":x=fo(Y);break;case"num":E.value===1/0?x=new Ci({start:E,end:E}):x=new le({start:E,end:E,value:E.value,raw:Ju});break;case"big_int":x=new Ln({start:E,end:E,value:E.value,raw:Ju});break;case"string":x=new Ne({start:E,end:E,value:E.value,quote:E.quote}),jr(x);break;case"regexp":let[I,U,K]=E.value.match(/^\/(.*)\/(\w*)$/);x=new $t({start:E,end:E,value:{source:U,flags:K}});break;case"atom":switch(E.value){case"false":x=new ei({start:E,end:E});break;case"true":x=new Qn({start:E,end:E});break;case"null":x=new Bn({start:E,end:E});break}break}return a(),x}function j(E,x){var I=function(U,K){return K?new on({start:U.start,left:U,operator:"=",right:K,end:K.end}):U};if(E instanceof Le)return I(new Xe({start:E.start,end:E.end,is_array:!1,names:E.properties.map(U=>j(U))}),x);if(E instanceof $e)return E.value=j(E.value),I(E,x);if(E instanceof jn)return E;if(E instanceof Xe)return E.names=E.names.map(U=>j(U)),I(E,x);if(E instanceof Y)return I(new xt({name:E.name,start:E.start,end:E.end}),x);if(E instanceof Te)return E.expression=j(E.expression),I(E,x);if(E instanceof Re)return I(new Xe({start:E.start,end:E.end,is_array:!0,names:E.elements.map(U=>j(U))}),x);if(E instanceof Ae)return I(j(E.left,E.right),x);if(E instanceof on)return E.left=j(E.left),E;c("Invalid function parameter",E.start.line,E.start.col)}var Ie=function(E,x){if(i("operator","new"))return F(E);if(i("name","import")&&tr(o(),"punc","."))return ne(E);var I=r.token,U,K=i("name","async")&&(U=o()).value!="["&&U.type!="arrow"&&H();if(i("punc")){switch(r.token.value){case"(":if(K&&!E)break;var ue=ge(x,!K);if(x&&i("arrow","=>"))return W(I,ue.map(En=>j(En)),!!K);var Ee=K?new ee({expression:K,args:ue}):eh(I,ue);if(Ee.start){let En=I.comments_before.length;if(n.set(I,En),Ee.start.comments_before.unshift(...I.comments_before),I.comments_before=Ee.start.comments_before,En==0&&I.comments_before.length>0){var qe=I.comments_before[0];qe.nlb||(qe.nlb=I.nlb,I.nlb=!1)}I.comments_after=Ee.start.comments_after}Ee.start=I;var zn=s();return Ee.end&&(zn.comments_before=Ee.end.comments_before,Ee.end.comments_after.push(...zn.comments_after),zn.comments_after=Ee.end.comments_after),Ee.end=zn,Ee instanceof ee&&jr(Ee),fr(Ee,E);case"[":return fr(Ut(),E);case"{":return fr(Vt(),E)}K||p()}if(x&&i("name")&&tr(o(),"arrow")){var ii=new xt({name:r.token.value,start:I,end:I});return a(),W(I,[ii],!!K)}if(i("keyword","function")){a();var oi=ae(Ze,!1,!!K);return oi.start=I,oi.end=s(),fr(oi,E)}if(K)return fr(K,E);if(i("keyword","class")){a();var ki=Dt(Vr);return ki.start=I,ki.end=s(),fr(ki,E)}if(i("template_head"))return fr(Ke(),E);if($B.has(r.token.type))return fr(H(),E);p()};function Ke(){var E=[],x=r.token;for(E.push(new Dr({start:r.token,raw:Zu.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)a(),C(),E.push(ct(!0)),E.push(new Dr({start:r.token,raw:Zu.get(r.token),value:r.token.value,end:r.token}));return a(),new Ft({start:x,segments:E,end:r.token})}function et(E,x,I){for(var U=!0,K=[];!i("punc",E)&&(U?U=!1:g(","),!(x&&i("punc",E)));)i("punc",",")&&I?K.push(new jn({start:r.token,end:r.token})):i("expand","...")?(a(),K.push(new Te({start:s(),expression:ct(),end:r.token}))):K.push(ct(!1));return a(),K}var Ut=S(function(){return g("["),new Re({elements:et("]",!t.strict,!0)})}),Et=S((E,x)=>ae(qr,E,x)),Vt=S(function(){var x=r.token,I=!0,U=[];for(g("{");!i("punc","}")&&(I?I=!1:g(","),!(!t.strict&&i("punc","}")));){if(x=r.token,x.type=="expand"){a(),U.push(new Te({start:x,expression:ct(!1),end:s()}));continue}i("privatename")&&c("private fields are not allowed in an object");var K=ut(),ue;if(i("punc",":"))K===null?p(s()):(a(),ue=ct(!1));else{var Ee=qt(K,x);if(Ee){U.push(Ee);continue}ue=new Y({start:s(),name:K,end:s()})}i("operator","=")&&(a(),ue=new Ae({start:x,left:ue,operator:"=",right:ct(!1),logical:!1,end:s()}));let qe=new $e({start:x,quote:x.quote,key:K,value:ue,end:s()});U.push(jr(qe))}return a(),new Le({properties:U})});function Dt(E,x){var I,U,K,ue,Ee=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),r.token.type=="name"&&r.token.value!="extends"&&(K=zi(E===$n?Ya:Qa)),E===$n&&!K&&(x?E=Vr:p()),r.token.value=="extends"&&(a(),ue=ct(!0)),g("{");let qe=r.in_class;for(r.in_class=!0;i("punc",";");)a();for(;!i("punc","}");)for(I=r.token,U=qt(ut(),I,!0),U||p(),Ee.push(U);i("punc",";");)a();return r.in_class=qe,r.input.pop_directives_stack(),a(),new E({start:I,name:K,extends:ue,properties:Ee,end:s()})}function qt(E,x,I){let U=(En,Oc)=>typeof En=="string"?new Oc({start:x,name:En,end:s()}):(En===null&&p(),En);var K=s().type==="privatename";let ue=()=>!i("punc","(")&&!i("punc",",")&&!i("punc","}")&&!i("punc",";")&&!i("operator","=")&&!K;var Ee=!1,qe=!1,zn=!1,ii=null;if(I&&E==="static"&&ue()){let En=Cn();if(En!=null)return En;qe=!0,E=ut()}E==="async"&&ue()&&(Ee=!0,E=ut()),s().type==="operator"&&s().value==="*"&&(zn=!0,E=ut()),(E==="get"||E==="set")&&ue()&&(ii=E,E=ut()),!K&&s().type==="privatename"&&(K=!0);let oi=s();if(ii!=null)if(K){let En=ii==="get"?Mn:Yn;return jr(new En({start:x,static:qe,key:U(E,an),value:Et(),end:s()}))}else{let En=ii==="get"?or:vr;return E=U(E,an),jr(new En({start:x,static:qe,key:E,quote:E instanceof an?oi.quote:void 0,value:Et(),end:s()}))}if(i("punc","(")){E=U(E,an);let En=K?Sn:Gt;var ki=new En({start:x,static:qe,key:E,quote:E instanceof an?oi.quote:void 0,value:Et(zn,Ee),end:s()});return jr(ki)}if(I){let En=K?Vo:Zr,Oc=K?yn:Rn,Kf=U(E,En),th=Kf instanceof Zr?oi.quote:void 0;if(i("operator","="))return a(),jr(new Oc({start:x,static:qe,quote:th,key:Kf,value:ct(!1),end:s()}));if(i("name")||i("privatename")||i("punc","[")||i("operator","*")||i("punc",";")||i("punc","}")||i("string")||i("num")||i("big_int"))return jr(new Oc({start:x,static:qe,quote:th,key:Kf,end:s()}))}}function Cn(){if(!i("punc","{"))return null;let E=r.token,x=[];for(a();!i("punc","}");)x.push(f());return a(),new Lt({start:E,body:x,end:s()})}function ls(){return(i("keyword","with")||i("name","assert"))&&!b(r.token)?(a(),Vt()):null}function k(){var E=s(),x,I;i("name")&&(x=zi(Qi)),i("punc",",")&&a(),I=Rt(!0),(I||x)&&m("name","from");var U=r.token;U.type!=="string"&&p(),a();let K=ls();return new cn({start:E,imported_name:x,imported_names:I,module_name:new Ne({start:U,value:U.value,quote:U.quote,end:U}),attributes:K,end:r.token})}function ne(E){var x=r.token;return m("name","import"),m("punc","."),m("name","meta"),fr(new Kr({start:x,end:s()}),E)}function Ce(E){function x(qe,zn){return new qe({name:ut(),quote:zn||void 0,start:s(),end:s()})}var I=E?Uo:Ji,U=E?Qi:Zi,K=r.token,ue,Ee;return E?ue=x(I,K.quote):Ee=x(U,K.quote),i("name","as")?(a(),E?Ee=x(U):ue=x(I,r.token.quote)):E?Ee=new U(ue):ue=new I(Ee),new _r({start:K,foreign_name:ue,name:Ee,end:s()})}function be(E,x){var I=E?Uo:Ji,U=E?Qi:Zi,K=r.token,ue,Ee,qe=s();return E?ue=x:Ee=x,ue=ue||new U({start:K,name:"*",end:qe}),Ee=Ee||new I({start:K,name:"*",end:qe}),new _r({start:K,foreign_name:Ee,name:ue,end:qe})}function Rt(E){var x;if(i("punc","{")){for(a(),x=[];!i("punc","}");)x.push(Ce(E)),i("punc",",")&&a();a()}else if(i("operator","*")){var I;a(),i("name","as")&&(a(),I=E?zi(Qi):Bf(Ji)),x=[be(E,I)]}return x}function qn(){var E=r.token,x,I;if(i("keyword","default"))x=!0,a();else if(I=Rt(!1))if(i("name","from")){a();var U=r.token;U.type!=="string"&&p(),a();let qe=ls();return new dt({start:E,is_default:x,exported_names:I,module_name:new Ne({start:U,value:U.value,quote:U.quote,end:U}),end:s(),attributes:qe})}else return new dt({start:E,is_default:x,exported_names:I,end:s()});var K,ue,Ee;return i("punc","{")||x&&(i("keyword","class")||i("keyword","function"))&&tr(o(),"punc")?(ue=ct(!1),v()):(K=f(x))instanceof gn&&x?p(K.start):K instanceof gn||K instanceof st||K instanceof $n?Ee=K:K instanceof Vr||K instanceof Ze?ue=K:K instanceof ie?ue=K.body:p(K.start),new dt({start:E,is_default:x,exported_value:ue,exported_definition:Ee,end:s(),attributes:null})}function ut(){var E=r.token;switch(E.type){case"punc":if(E.value==="["){a();var x=ct(!1);return g("]"),x}else p(E);case"operator":if(E.value==="*")return a(),null;["delete","in","instanceof","new","typeof","void"].includes(E.value)||p(E);case"name":case"privatename":case"string":case"keyword":case"atom":return a(),E.value;case"num":case"big_int":return a(),""+E.value;default:p(E)}}function lr(){var E=r.token;return E.type!="name"&&E.type!="privatename"&&p(),a(),E.value}function fo(E){var x=r.token.value;return new(x=="this"?Ot:x=="super"?ro:E)({name:String(x),start:r.token,end:r.token})}function Ra(E){var x=E.name;w()&&x=="yield"&&d(E.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(x=="yield"&&d(E.start,"Unexpected yield identifier inside strict mode"),E instanceof It&&(x=="arguments"||x=="eval")&&d(E.start,"Unexpected "+x+" in strict mode"))}function zi(E,x){if(!i("name"))return x||c("Name expected"),null;var I=fo(E);return Ra(I),a(),I}function Bf(E){if(!i("name")){i("string")||c("Name or string expected");var x=r.token,I=new E({start:x,end:x,name:x.value,quote:x.quote});return a(),I}var U=fo(E);return Ra(U),a(),U}function jr(E,x=E.start){var I=x.comments_before;let U=n.get(x);for(var K=U??I.length;--K>=0;){var ue=I[K];if(/[@#]__/.test(ue.value)){if(/[@#]__PURE__/.test(ue.value)){Xs(E,js);break}if(/[@#]__INLINE__/.test(ue.value)){Xs(E,Ys);break}if(/[@#]__NOINLINE__/.test(ue.value)){Xs(E,io);break}if(/[@#]__KEY__/.test(ue.value)){Xs(E,Ja);break}if(/[@#]__MANGLE_PROP__/.test(ue.value)){Xs(E,Za);break}}}return E}var fr=function(E,x,I){var U=E.start;if(i("punc",".")){a(),i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class");let Ee=i("privatename")?Fn:He;return jr(fr(new Ee({start:U,expression:E,optional:!1,property:lr(),end:s()}),x,I))}if(i("punc","[")){a();var K=ct(!0);return g("]"),jr(fr(new mt({start:U,expression:E,optional:!1,property:K,end:s()}),x,I))}if(x&&i("punc","(")){a();var ue=new ee({start:U,expression:E,optional:!1,args:Qm(),end:s()});return jr(ue),fr(ue,!0,I)}if(i("punc","?.")){a();let Ee;if(x&&i("punc","(")){a();let qe=new ee({start:U,optional:!0,expression:E,args:Qm(),end:s()});jr(qe),Ee=fr(qe,!0,!0)}else if(i("name")||i("privatename")){i("privatename")&&!r.in_class&&c("Private field must be used in an enclosing class");let qe=i("privatename")?Fn:He;Ee=jr(fr(new qe({start:U,expression:E,optional:!0,property:lr(),end:s()}),x,!0))}else if(i("punc","[")){a();let qe=ct(!0);g("]"),Ee=jr(fr(new mt({start:U,expression:E,optional:!0,property:qe,end:s()}),x,!0))}return Ee||p(),Ee instanceof at?Ee:new at({start:U,expression:Ee,end:s()})}return i("template_head")?(I&&p(),fr(new nr({start:U,prefix:E,template_string:Ke(),end:s()}),x)):E};function Qm(){for(var E=[];!i("punc",")");)i("expand","...")?(a(),E.push(new Te({start:s(),expression:ct(!1),end:s()}))):E.push(ct(!1)),i("punc",")")||g(",");return a(),E}var Uf=function(E,x){var I=r.token;if(I.type=="name"&&I.value=="await"&&u())return a(),J();if(i("operator")&&WB.has(I.value)){a(),C();var U=Jm(de,I,Uf(E));return U.start=I,U.end=s(),U}for(var K=Ie(E,x);i("operator")&&uT.has(r.token.value)&&!b(r.token);)K instanceof ot&&p(),K=Jm(Gr,r.token,K),K.start=I,K.end=r.token,a();return K};function Jm(E,x,I){var U=x.value;switch(U){case"++":case"--":zf(I)||c("Invalid use of "+U+" operator",x.line,x.col,x.pos);break;case"delete":I instanceof Y&&r.input.has_directive("use strict")&&c("Calling delete on expression not allowed in strict mode",I.start.line,I.start.col,I.start.pos);break}return new E({operator:U,expression:I})}var Vf=function(E,x,I){var U=i("operator")?r.token.value:null;U=="in"&&I&&(U=null),U=="**"&&E instanceof de&&!tr(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++"&&p(E.start);var K=U!=null?Qr[U]:null;if(K!=null&&(K>x||U==="**"&&x===K)){a();var ue=qf(I,K,!0);return Vf(new B({start:E.start,left:E,operator:U,right:ue,end:ue.end}),x,I)}return E};function qf(E,x,I,U){if(!E&&x<Qr.in&&i("privatename")){r.in_class||c("Private field must be used in an enclosing class");let K=r.token,ue=new Vo({start:K,name:K.value,end:K});a(),m("operator","in");let Ee=new ar({start:K,key:ue,value:qf(E,Qr.in,!0),end:s()});return Vf(Ee,0,E)}else return Vf(Uf(I,U),x,E)}var eR=function(E){var x=r.token,I=qf(E,0,!0,!0);if(i("operator","?")){a();var U=ct(!1);return g(":"),new me({start:x,condition:I,consequent:U,alternative:ct(!1,E),end:s()})}return I};function zf(E){return E instanceof se||E instanceof Y}function fs(E){if(E instanceof Le)E=new Xe({start:E.start,names:E.properties.map(fs),is_array:!1,end:E.end});else if(E instanceof Re){for(var x=[],I=0;I<E.elements.length;I++)E.elements[I]instanceof Te&&(I+1!==E.elements.length&&d(E.elements[I].start,"Spread must the be last element in destructuring array"),E.elements[I].expression=fs(E.elements[I].expression)),x.push(fs(E.elements[I]));E=new Xe({start:E.start,names:x,is_array:!0,end:E.end})}else E instanceof gt?E.value=fs(E.value):E instanceof Ae&&(E=new on({start:E.start,left:E.left,operator:"=",right:E.right,end:E.end}));return E}var Zm=function(E){C();var x=r.token;if(x.type=="name"&&x.value=="yield"){if(w())return a(),De();r.input.has_directive("use strict")&&d(r.token,"Unexpected yield identifier inside strict mode")}var I=eR(E),U=r.token.value;if(i("operator")&&HB.has(U)){if(zf(I)||(I=fs(I))instanceof Xe)return a(),new Ae({start:x,left:I,operator:U,right:Zm(E),logical:XB.has(U),end:s()});c("Invalid assignment")}return I},eh=function(E,x){if(x.length===1)return x[0];if(x.length>1)return new pe({start:E,expressions:x,end:o()});c("Invalid parenthesized expression")},ct=function(E,x){for(var I=r.token,U=[];U.push(Zm(x)),!(!E||!i("punc",","));)a(),E=!0;return eh(I,U)};function ds(E){++r.in_loop;var x=E();return--r.in_loop,x}return t.expression?ct(!0):(function(){var x=r.token,I=[];for(r.input.push_directives_stack(),t.module&&r.input.add_directive("use strict");!i("eof");)I.push(f());r.input.pop_directives_stack();var U=s(),K=t.toplevel;return K?(K.body=K.body.concat(I),K.end=U):K=new tt({start:x,body:I,end:U}),Zu=new Map,K})()}function G(e,t,n,r,i=X){t?t=t.split(/\s+/):t=[];var o=t;i&&i.PROPS&&(t=t.concat(i.PROPS));let a=i&&Object.create(i.prototype);if(a&&(n.prototype=a,n.BASE=i),i&&i.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=t||null,n.SELF_PROPS=o,n.SUBCLASSES=[],e&&(n.prototype.TYPE=n.TYPE=e),r)for(let s in r)hn(r,s)&&(s[0]==="$"?n[s.substr(1)]=r[s]:n.prototype[s]=r[s]);return n.DEFMETHOD=function(s,c){this.prototype[s]=c},n}var af=(e,t)=>!!(e.flags&t),sf=(e,t,n)=>{n?e.flags|=t:e.flags&=~t},cT=1,lT=2,fT=4,dT=8,oa=class{constructor(t,n,r,i,o,a,s,c,d){this.flags=a?1:0,this.type=t,this.value=n,this.line=r,this.col=i,this.pos=o,this.comments_before=s,this.comments_after=c,this.file=d,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](t,n){let r=a=>n.stylize(a,"special"),i=typeof this.value=="string"&&this.value.includes("`")?"'":"`",o=`${i}${this.value}${i}`;return`${r("[AST_Token")} ${o} at ${this.line}:${this.col}${r("]")}`}get nlb(){return af(this,cT)}set nlb(t){sf(this,cT,t)}get quote(){return af(this,fT)?af(this,lT)?"'":'"':""}set quote(t){sf(this,lT,t==="'"),sf(this,fT,!!t)}get template_end(){return af(this,dT)}set template_end(t){sf(this,dT,t)}},X=G("Node","start end",function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{_clone:function(e){if(e){var t=this.clone();return t.transform(new wn(function(n){if(n!==t)return n.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)},_children_backwards:()=>{}},null),Nt=G("Statement",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class of all statements"}),zr=G("Debugger",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Represents a debugger statement"},Nt),bn=G("Directive","value quote",function(t){t&&(this.value=t.value,this.quote=t.quote,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},Nt),ie=G("SimpleStatement","body",function(t){t&&(this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})},_children_backwards(e){e(this.body)}},Nt);function ua(e,t){let n=e.body;for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function rm(e){var t=this._clone(e);return this.block_scope&&(t.block_scope=this.block_scope.clone()),t}var St=G("Block","body block_scope",function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(e){return e._visit(this,function(){ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:rm},Nt),we=G("BlockStatement",null,function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A block statement"},St),Ye=G("EmptyStatement",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The empty statement (empty block or simply a semicolon)"},Nt),ca=G("StatementWithBody","body",function(t){t&&(this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},Nt),Ct=G("LabeledStatement","label",function(t){t&&(this.label=t.label,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.label)},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new Pt(function(i){i instanceof Ir&&i.label&&i.label.thedef===r&&(i.label.thedef=n,n.references.push(i))}))}return t}},ca),Cr=G("IterationStatement","block_scope",function(t){t&&(this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:rm},ca),Qs=G("DWLoop","condition",function(t){t&&(this.condition=t.condition,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},Cr),gr=G("Do",null,function(t){t&&(this.condition=t.condition,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})},_children_backwards(e){e(this.condition),e(this.body)}},Qs),Or=G("While",null,function(t){t&&(this.condition=t.condition,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.condition)}},Qs),ht=G("For","init condition step",function(t){t&&(this.init=t.init,this.condition=t.condition,this.step=t.step,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.step&&e(this.step),this.condition&&e(this.condition),this.init&&e(this.init)}},Cr),wt=G("ForIn","init object",function(t){t&&(this.init=t.init,this.object=t.object,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.object&&e(this.object),this.init&&e(this.init)}},Cr),Ai=G("ForOf","await",function(t){t&&(this.await=t.await,this.init=t.init,this.object=t.object,this.block_scope=t.block_scope,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `for ... of` statement"},wt),sn=G("With","expression",function(t){t&&(this.expression=t.expression,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.expression)}},ca),he=G("Scope","variables uses_with uses_eval parent_scope enclosed cname",function(t){t&&(this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){for(var e=this;e.is_block_scope();)e=e.parent_scope;return e},clone:function(e,t){var n=this._clone(e);return e&&this.variables&&t&&!this._block_scope?n.figure_out_scope({},{toplevel:t,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},St),tt=G("Toplevel","globals",function(t){t&&(this.globals=t.globals,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=qo(n),n=n.transform(new wn(function(r){if(r instanceof bn&&r.value=="$ORIG")return ft.splice(t)})),n},wrap_enclose:function(e){typeof e!="string"&&(e="");var t=e.indexOf(":");t<0&&(t=e.length);var n=this.body;return qo(["(function(",e.slice(0,t),'){"$ORIG"})(',e.slice(t+1),")"].join("")).transform(new wn(function(r){if(r instanceof bn&&r.value=="$ORIG")return ft.splice(n)}))}},he),Te=G("Expansion","expression",function(t){t&&(this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(e){return e._visit(this,function(){this.expression.walk(e)})},_children_backwards(e){e(this.expression)}}),oe=G("Lambda","name argnames uses_arguments is_generator async",function(t){t&&(this.name=t.name,this.argnames=t.argnames,this.uses_arguments=t.uses_arguments,this.is_generator=t.is_generator,this.async=t.async,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){for(var e=[],t=0;t<this.argnames.length;t++)this.argnames[t]instanceof Xe?e.push(...this.argnames[t].all_symbols()):e.push(this.argnames[t]);return e},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);for(t=this.argnames.length;t--;)e(this.argnames[t]);this.name&&e(this.name)},is_braceless(){return this.body[0]instanceof pt&&this.body[0].value},length_property(){let e=0;for(let t of this.argnames)(t instanceof xt||t instanceof Xe)&&e++;return e}},he),qr=G("Accessor",null,function(t){t&&(this.name=t.name,this.argnames=t.argnames,this.uses_arguments=t.uses_arguments,this.is_generator=t.is_generator,this.async=t.async,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A setter/getter function. The `name` property is always null."},oe),Ze=G("Function",null,function(t){t&&(this.name=t.name,this.argnames=t.argnames,this.uses_arguments=t.uses_arguments,this.is_generator=t.is_generator,this.async=t.async,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A function expression"},oe),ot=G("Arrow",null,function(t){t&&(this.name=t.name,this.argnames=t.argnames,this.uses_arguments=t.uses_arguments,this.is_generator=t.is_generator,this.async=t.async,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An ES6 Arrow function ((a) => b)"},oe),st=G("Defun",null,function(t){t&&(this.name=t.name,this.argnames=t.argnames,this.uses_arguments=t.uses_arguments,this.is_generator=t.is_generator,this.async=t.async,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A function definition"},oe),Xe=G("Destructuring","names is_array",function(t){t&&(this.names=t.names,this.is_array=t.is_array,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(e){return e._visit(this,function(){this.names.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.names.length;for(;t--;)e(this.names[t])},all_symbols:function(){var e=[];return yt(this,t=>{if(t instanceof It&&e.push(t),t instanceof oe)return!0}),e}}),nr=G("PrefixedTemplateString","template_string prefix",function(t){t&&(this.template_string=t.template_string,this.prefix=t.prefix,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(e){return e._visit(this,function(){this.prefix._walk(e),this.template_string._walk(e)})},_children_backwards(e){e(this.template_string),e(this.prefix)}}),Ft=G("TemplateString","segments",function(t){t&&(this.segments=t.segments,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(e){return e._visit(this,function(){this.segments.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.segments.length;for(;t--;)e(this.segments[t])}}),Dr=G("TemplateSegment","value raw",function(t){t&&(this.value=t.value,this.raw=t.raw,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}}),la=G("Jump",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for \u201Cjumps\u201D (for now that's `return`, `throw`, `break` and `continue`)"},Nt),Jn=G("Exit","value",function(t){t&&(this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for \u201Cexits\u201D (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value)}},la),pt=G("Return",null,function(t){t&&(this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `return` statement"},Jn),zo=G("Throw",null,function(t){t&&(this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `throw` statement"},Jn),Ir=G("LoopControl","label",function(t){t&&(this.label=t.label,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})},_children_backwards(e){this.label&&e(this.label)}},la),rr=G("Break",null,function(t){t&&(this.label=t.label,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `break` statement"},Ir),Ei=G("Continue",null,function(t){t&&(this.label=t.label,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `continue` statement"},Ir),An=G("Await","expression",function(t){t&&(this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),vn=G("Yield","expression is_star",function(t){t&&(this.expression=t.expression,this.is_star=t.is_star,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(e){return e._visit(this,this.expression&&function(){this.expression._walk(e)})},_children_backwards(e){this.expression&&e(this.expression)}}),Qe=G("If","condition alternative",function(t){t&&(this.condition=t.condition,this.alternative=t.alternative,this.body=t.body,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})},_children_backwards(e){this.alternative&&e(this.alternative),e(this.body),e(this.condition)}},ca),Mt=G("Switch","expression",function(t){t&&(this.expression=t.expression,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` \u201Cdiscriminant\u201D"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},St),ti=G("SwitchBranch",null,function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for `switch` branches"},St),ci=G("Default",null,function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `default` switch branch"},ti),ir=G("Case","expression",function(t){t&&(this.expression=t.expression,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},ti),un=G("Try","body bcatch bfinally",function(t){t&&(this.body=t.body,this.bcatch=t.bcatch,this.bfinally=t.bfinally,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:"[AST_TryBlock] the try block",bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})},_children_backwards(e){this.bfinally&&e(this.bfinally),this.bcatch&&e(this.bcatch),e(this.body)}},Nt),aa=G("TryBlock",null,function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `try` block of a try statement"},St),br=G("Catch","argname",function(t){t&&(this.argname=t.argname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(e){return e._visit(this,function(){this.argname&&this.argname._walk(e),ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);this.argname&&e(this.argname)}},St),eo=G("Finally",null,function(t){t&&(this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},St),Nn=G("DefinitionsLike","definitions",function(t){t&&(this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for variable definitions and `using`",$propdoc:{definitions:"[AST_VarDef*|AST_UsingDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.definitions.length;for(;t--;)e(this.definitions[t])}},Nt),gn=G("Definitions",null,function(t){t&&(this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)"},Nn),vt=G("Var",null,function(t){t&&(this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `var` statement"},gn),Ri=G("Let",null,function(t){t&&(this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `let` statement"},gn),wi=G("Const",null,function(t){t&&(this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `const` statement"},gn),Pn=G("Using","await",function(t){t&&(this.await=t.await,this.definitions=t.definitions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `using` statement",$propdoc:{await:"[boolean] Whether it's `await using`"}},Nn),ni=G("VarDefLike","name value",function(t){t&&(this.name=t.name,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A name=value pair in a variable definition statement or `using`",$propdoc:{name:"[AST_Destructuring|AST_SymbolDeclaration] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value),e(this.name)},declarations_as_names(){return this.name instanceof It?[this.name]:this.name.all_symbols()}}),At=G("VarDef",null,function(t){t&&(this.name=t.name,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A variable declaration; only appears in a AST_Definitions node"},ni),ja=G("UsingDef",null,function(t){t&&(this.name=t.name,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Like VarDef but specific to AST_Using"},ni),_r=G("NameMapping","foreign_name name",function(t){t&&(this.foreign_name=t.foreign_name,this.name=t.name,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(e){return e._visit(this,function(){this.foreign_name._walk(e),this.name._walk(e)})},_children_backwards(e){e(this.name),e(this.foreign_name)}}),cn=G("Import","imported_name imported_names module_name attributes",function(t){t&&(this.imported_name=t.imported_name,this.imported_names=t.imported_names,this.module_name=t.module_name,this.attributes=t.attributes,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from",attributes:"[AST_Object?] The import attributes (with {...})"},_walk:function(e){return e._visit(this,function(){this.imported_name&&this.imported_name._walk(e),this.imported_names&&this.imported_names.forEach(function(t){t._walk(e)}),this.module_name._walk(e)})},_children_backwards(e){if(e(this.module_name),this.imported_names){let t=this.imported_names.length;for(;t--;)e(this.imported_names[t])}this.imported_name&&e(this.imported_name)}}),Kr=G("ImportMeta",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A reference to import.meta"}),dt=G("Export","exported_definition exported_value is_default exported_names module_name attributes",function(t){t&&(this.exported_definition=t.exported_definition,this.exported_value=t.exported_value,this.is_default=t.is_default,this.exported_names=t.exported_names,this.module_name=t.module_name,this.attributes=t.attributes,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",attributes:"[AST_Object?] The import attributes"},_walk:function(e){return e._visit(this,function(){this.exported_definition&&this.exported_definition._walk(e),this.exported_value&&this.exported_value._walk(e),this.exported_names&&this.exported_names.forEach(function(t){t._walk(e)}),this.module_name&&this.module_name._walk(e)})},_children_backwards(e){if(this.module_name&&e(this.module_name),this.exported_names){let t=this.exported_names.length;for(;t--;)e(this.exported_names[t])}this.exported_value&&e(this.exported_value),this.exported_definition&&e(this.exported_definition)}},Nt),ee=G("Call","expression args optional _annotations",function(t){t&&(this.expression=t.expression,this.args=t.args,this.optional=t.optional,this._annotations=t._annotations,this.start=t.start,this.end=t.end,this.initialize()),this.flags=0},{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){this._annotations==null&&(this._annotations=0)},_walk(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})},_children_backwards(e){let t=this.args.length;for(;t--;)e(this.args[t]);e(this.expression)}}),Xt=G("New",null,function(t){t&&(this.expression=t.expression,this.args=t.args,this.optional=t.optional,this._annotations=t._annotations,this.start=t.start,this.end=t.end,this.initialize()),this.flags=0},{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},ee),pe=G("Sequence","expressions",function(t){t&&(this.expressions=t.expressions,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.expressions.length;for(;t--;)e(this.expressions[t])}}),se=G("PropAccess","expression property optional",function(t){t&&(this.expression=t.expression,this.property=t.property,this.optional=t.optional,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the \u201Ccontainer\u201D expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}}),He=G("Dot","quote",function(t){t&&(this.quote=t.quote,this.expression=t.expression,this.property=t.property,this.optional=t.optional,this._annotations=t._annotations,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},se),Fn=G("DotHash","",function(t){t&&(this.expression=t.expression,this.property=t.property,this.optional=t.optional,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A dotted property access to a private property",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},se),mt=G("Sub",null,function(t){t&&(this.expression=t.expression,this.property=t.property,this.optional=t.optional,this._annotations=t._annotations,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})},_children_backwards(e){e(this.property),e(this.expression)}},se),at=G("Chain","expression",function(t){t&&(this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),Je=G("Unary","operator expression",function(t){t&&(this.operator=t.operator,this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),de=G("UnaryPrefix",null,function(t){t&&(this.operator=t.operator,this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Je),Gr=G("UnaryPostfix",null,function(t){t&&(this.operator=t.operator,this.expression=t.expression,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},Je),B=G("Binary","operator left right",function(t){t&&(this.operator=t.operator,this.left=t.left,this.right=t.right,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})},_children_backwards(e){e(this.right),e(this.left)}}),me=G("Conditional","condition consequent alternative",function(t){t&&(this.condition=t.condition,this.consequent=t.consequent,this.alternative=t.alternative,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})},_children_backwards(e){e(this.alternative),e(this.consequent),e(this.condition)}}),Ae=G("Assign","logical",function(t){t&&(this.logical=t.logical,this.operator=t.operator,this.left=t.left,this.right=t.right,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An assignment expression \u2014 `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},B),on=G("DefaultAssign",null,function(t){t&&(this.operator=t.operator,this.left=t.left,this.right=t.right,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},B),Re=G("Array","elements",function(t){t&&(this.elements=t.elements,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.elements.length;for(;t--;)e(this.elements[t])}}),Le=G("Object","properties",function(t){t&&(this.properties=t.properties,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t])}}),gt=G("ObjectProperty","key value",function(t){t&&(this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters, setters and methods this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.key instanceof X&&this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),this.key instanceof X&&e(this.key)}}),$e=G("ObjectKeyVal","quote",function(t){t&&(this.quote=t.quote,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof X}},gt),Yn=G("PrivateSetter","static",function(t){t&&(this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return!1}},gt),Mn=G("PrivateGetter","static",function(t){t&&(this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return!1}},gt),vr=G("ObjectSetter","quote static",function(t){t&&(this.quote=t.quote,this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof an)}},gt),or=G("ObjectGetter","quote static",function(t){t&&(this.quote=t.quote,this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof an)}},gt),Gt=G("ConciseMethod","quote static",function(t){t&&(this.quote=t.quote,this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof an)}},gt),Sn=G("PrivateMethod","static",function(t){t&&(this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A private class method inside a class",$propdoc:{static:"[boolean] is this a static private method"},computed_key(){return!1}},gt),Oe=G("Class","name extends properties",function(t){t&&(this.name=t.name,this.extends=t.extends,this.properties=t.properties,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty|AST_ClassStaticBlock]* array of properties or static blocks"},$documentation:"An ES6 class",_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e),this.extends&&this.extends._walk(e),this.properties.forEach(t=>t._walk(e))})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t]);this.extends&&e(this.extends),this.name&&e(this.name)},visit_nondeferred_class_parts(e){this.extends&&this.extends._walk(e),this.properties.forEach(t=>{if(t instanceof Lt){t._walk(e);return}t.computed_key()&&(e.push(t),t.key._walk(e),e.pop()),(t instanceof yn&&t.static&&t.value||t instanceof Rn&&t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},visit_deferred_class_parts(e){this.properties.forEach(t=>{t instanceof Gt||t instanceof Sn?t.walk(e):(t instanceof Rn&&!t.static&&t.value||t instanceof yn&&!t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},is_self_referential:function(){let e=this.name&&this.name.definition().id,t=!1,n=!0;return this.visit_nondeferred_class_parts(new Pt((r,i)=>{if(t)return!0;if(r instanceof Ot)return t=n;if(r instanceof Y)return t=r.definition().id===e;if(r instanceof oe&&!(r instanceof ot)){let o=n;return n=!1,i(),n=o,!0}})),t}},he),Rn=G("ClassProperty","static quote",function(t){t&&(this.static=t.static,this.quote=t.quote,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(e){return e._visit(this,function(){this.key instanceof X&&this.key._walk(e),this.value instanceof X&&this.value._walk(e)})},_children_backwards(e){this.value instanceof X&&e(this.value),this.key instanceof X&&e(this.key)},computed_key(){return!(this.key instanceof Zr)}},gt),yn=G("ClassPrivateProperty","",function(t){t&&(this.static=t.static,this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A class property for a private property",_walk:function(e){return e._visit(this,function(){this.value instanceof X&&this.value._walk(e)})},_children_backwards(e){this.value instanceof X&&e(this.value)},computed_key(){return!1}},gt),ar=G("PrivateIn","key value",function(t){t&&(this.key=t.key,this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(e){return e._visit(this,function(){this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),e(this.key)}}),$n=G("DefClass",null,function(t){t&&(this.name=t.name,this.extends=t.extends,this.properties=t.properties,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A class definition"},Oe),Lt=G("ClassStaticBlock","body block_scope",function(t){this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end},{$documentation:"A block containing statements to be executed in the context of the class",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){ua(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:rm,computed_key(){return!1}},he),Vr=G("ClassExpression",null,function(t){t&&(this.name=t.name,this.extends=t.extends,this.properties=t.properties,this.variables=t.variables,this.uses_with=t.uses_with,this.uses_eval=t.uses_eval,this.parent_scope=t.parent_scope,this.enclosed=t.enclosed,this.cname=t.cname,this.body=t.body,this.block_scope=t.block_scope,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A class expression."},Oe),Fe=G("Symbol","scope name thedef",function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),to=G("NewTarget",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A reference to new.target"}),It=G("SymbolDeclaration","init",function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},Fe),Jr=G("SymbolVar",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol defining a variable"},It),Mi=G("SymbolBlockDeclaration",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for block-scoped declaration symbols"},It),Di=G("SymbolConst",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A constant declaration"},Mi),Ti=G("SymbolUsing",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A `using` declaration"},Mi),no=G("SymbolLet",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},Mi),xt=G("SymbolFunarg",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol naming a function argument"},Jr),kr=G("SymbolDefun",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol defining a function"},It),an=G("SymbolMethod",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},Fe),Zr=G("SymbolClassProperty",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol for a class property"},Fe),Sr=G("SymbolLambda",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol naming a function expression"},It),Ya=G("SymbolDefClass",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Mi),Qa=G("SymbolClass",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},It),xr=G("SymbolCatch",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol naming the exception in catch"},Mi),Qi=G("SymbolImport",null,function(t){t&&(this.init=t.init,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol referring to an imported name"},Mi),Uo=G("SymbolImportForeign","quote",function(t){t&&(this.quote=t.quote,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},Fe),sa=G("Label","references",function(t){t&&(this.references=t.references,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},Fe),Y=G("SymbolRef",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},Fe),Zi=G("SymbolExport","quote",function(t){t&&(this.quote=t.quote,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Symbol referring to a name to export"},Y),Ji=G("SymbolExportForeign","quote",function(t){t&&(this.quote=t.quote,this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},Fe),$s=G("LabelRef",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Reference to a label symbol"},Fe),Vo=G("SymbolPrivateProperty",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},Fe),Ot=G("This",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `this` symbol"},Fe),ro=G("Super",null,function(t){t&&(this.scope=t.scope,this.name=t.name,this.thedef=t.thedef,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `super` symbol"},Ot),ze=G("Constant",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),Ne=G("String","value quote",function(t){t&&(this.value=t.value,this.quote=t.quote,this.start=t.start,this.end=t.end,this._annotations=t._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},ze),le=G("Number","value raw",function(t){t&&(this.value=t.value,this.raw=t.raw,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},ze),Ln=G("BigInt","value raw",function(t){t&&(this.value=t.value,this.raw=t.raw,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value, represented as a string",raw:"[string] the original format preserved"}},ze),$t=G("RegExp","value",function(t){t&&(this.value=t.value,this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},ze),yo=G("Atom",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for atoms"},ze),Bn=G("Null",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `null` atom",value:null},yo),fa=G("NaN",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The impossible value",value:NaN},yo),Eo=G("Undefined",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `undefined` value",value:(function(){})()},yo),jn=G("Hole",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"A hole in an array",value:(function(){})()},yo),Ci=G("Infinity",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},yo),Js=G("Boolean",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"Base class for booleans"},yo),ei=G("False",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Js),Qn=G("True",null,function(t){t&&(this.start=t.start,this.end=t.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Js);function yt(e,t,n=[e]){let r=n.push.bind(n);for(;n.length;){let i=n.pop(),o=t(i,n);if(o){if(o===Un)return!0;continue}i._children_backwards(r)}return!1}function Zs(e,t,n){let r=[e],i=r.push.bind(r),o=n?n.slice():[],a=[],s,c={parent:(d=0)=>d===-1?s:n&&d>=o.length?(d-=o.length,n[n.length-(d+1)]):o[o.length-(1+d)]};for(;r.length;){for(s=r.pop();a.length&&r.length==a[a.length-1];)o.pop(),a.pop();let d=t(s,c);if(d){if(d===Un)return!0;continue}let p=r.length;s._children_backwards(i),r.length>p&&(o.push(s),a.push(p-1))}return!1}var Un=Symbol("abort walk"),Pt=class{constructor(t){this.visit=t,this.stack=[],this.directives=Object.create(null)}_visit(t,n){this.push(t);var r=this.visit(t,n?function(){n.call(t)}:er);return!r&&n&&n.call(t),this.pop(),r}parent(t){return this.stack[this.stack.length-2-(t||0)]}push(t){t instanceof oe?this.directives=Object.create(this.directives):t instanceof bn&&!this.directives[t.value]?this.directives[t.value]=t:t instanceof Oe&&(this.directives=Object.create(this.directives),this.directives["use strict"]||(this.directives["use strict"]=t)),this.stack.push(t)}pop(){var t=this.stack.pop();(t instanceof oe||t instanceof Oe)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(t){for(var n=this.stack,r=n.length;--r>=0;){var i=n[r];if(i instanceof t)return i}}is_within_loop(){let t=this.stack.length-1,n=this.stack[t];for(;t--;){let r=this.stack[t];if(r instanceof oe)return!1;if(r instanceof Cr&&!(r instanceof ht&&n===r.init)&&!((r instanceof wt||r instanceof Ai)&&n===r.object))return!0;n=r}return!1}find_scope(){for(var t=this.stack,n=t.length;--n>=0;){let r=t[n];if(r instanceof tt||r instanceof oe)return r;if(r.block_scope)return r.block_scope}}has_directive(t){var n=this.directives[t];if(n)return n;var r=this.stack[this.stack.length-1];if(r instanceof he&&r.body)for(var i=0;i<r.body.length;++i){var o=r.body[i];if(!(o instanceof bn))break;if(o.value==t)return o}}loopcontrol_target(t){var n=this.stack;if(t.label)for(var r=n.length;--r>=0;){var i=n[r];if(i instanceof Ct&&i.label.name==t.label.name)return i.body}else for(var r=n.length;--r>=0;){var i=n[r];if(i instanceof Cr||t instanceof rr&&i instanceof Mt)return i}}},wn=class extends Pt{constructor(t,n){super(),this.before=t,this.after=n}},js=1,Ys=2,io=4,Ja=8,Za=16;function nt(e,t){e.DEFMETHOD("transform",function(n,r){let i;if(n.push(this),n.before&&(i=n.before(this,t,r)),i===void 0&&(i=this,t(i,n),n.after)){let o=n.after(i,r);o!==void 0&&(i=o)}return n.pop(),i})}nt(X,er);nt(Ct,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)});nt(ie,function(e,t){e.body=e.body.transform(t)});nt(St,function(e,t){e.body=ft(e.body,t)});nt(gr,function(e,t){e.body=e.body.transform(t),e.condition=e.condition.transform(t)});nt(Or,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)});nt(ht,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)});nt(wt,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)});nt(sn,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)});nt(Jn,function(e,t){e.value&&(e.value=e.value.transform(t))});nt(Ir,function(e,t){e.label&&(e.label=e.label.transform(t))});nt(Qe,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))});nt(Mt,function(e,t){e.expression=e.expression.transform(t),e.body=ft(e.body,t)});nt(ir,function(e,t){e.expression=e.expression.transform(t),e.body=ft(e.body,t)});nt(un,function(e,t){e.body=e.body.transform(t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))});nt(br,function(e,t){e.argname&&(e.argname=e.argname.transform(t)),e.body=ft(e.body,t)});nt(Nn,function(e,t){e.definitions=ft(e.definitions,t)});nt(ni,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))});nt(Xe,function(e,t){e.names=ft(e.names,t)});nt(oe,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=ft(e.argnames,t,!1),e.body instanceof X?e.body=e.body.transform(t):e.body=ft(e.body,t)});nt(ee,function(e,t){e.expression=e.expression.transform(t),e.args=ft(e.args,t,!1)});nt(pe,function(e,t){let n=ft(e.expressions,t);e.expressions=n.length?n:[new le({value:0})]});nt(se,function(e,t){e.expression=e.expression.transform(t)});nt(mt,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)});nt(at,function(e,t){e.expression=e.expression.transform(t)});nt(vn,function(e,t){e.expression&&(e.expression=e.expression.transform(t))});nt(An,function(e,t){e.expression=e.expression.transform(t)});nt(Je,function(e,t){e.expression=e.expression.transform(t)});nt(B,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)});nt(ar,function(e,t){e.key=e.key.transform(t),e.value=e.value.transform(t)});nt(me,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)});nt(Re,function(e,t){e.elements=ft(e.elements,t)});nt(Le,function(e,t){e.properties=ft(e.properties,t)});nt(gt,function(e,t){e.key instanceof X&&(e.key=e.key.transform(t)),e.value&&(e.value=e.value.transform(t))});nt(Oe,function(e,t){e.name&&(e.name=e.name.transform(t)),e.extends&&(e.extends=e.extends.transform(t)),e.properties=ft(e.properties,t)});nt(Lt,function(e,t){e.body=ft(e.body,t)});nt(Te,function(e,t){e.expression=e.expression.transform(t)});nt(_r,function(e,t){e.foreign_name=e.foreign_name.transform(t),e.name=e.name.transform(t)});nt(cn,function(e,t){e.imported_name&&(e.imported_name=e.imported_name.transform(t)),e.imported_names&&ft(e.imported_names,t),e.module_name=e.module_name.transform(t)});nt(dt,function(e,t){e.exported_definition&&(e.exported_definition=e.exported_definition.transform(t)),e.exported_value&&(e.exported_value=e.exported_value.transform(t)),e.exported_names&&ft(e.exported_names,t),e.module_name&&(e.module_name=e.module_name.transform(t))});nt(Ft,function(e,t){e.segments=ft(e.segments,t)});nt(nr,function(e,t){e.prefix=e.prefix.transform(t),e.template_string=e.template_string.transform(t)});(function(){var e=function(f){for(var _=0;_<f.length;_++)if(f[_]instanceof Nt&&f[_].body instanceof Ne)f[_]=new bn({start:f[_].start,end:f[_].end,quote:'"',value:f[_].body.value});else return f;return f};function t(f){return f&&f.length>0?new Le({start:i(f),end:o(f),properties:f.map(_=>new $e({start:i(_),end:o(_),key:_.key.name||_.key.value,value:s(_.value)}))}):null}var n={Program:function(f){return new tt({start:i(f),end:o(f),body:e(f.body.map(s))})},ArrayPattern:function(f){return new Xe({start:i(f),end:o(f),names:f.elements.map(function(_){return _===null?new jn:s(_)}),is_array:!0})},ObjectPattern:function(f){return new Xe({start:i(f),end:o(f),names:f.properties.map(s),is_array:!1})},AssignmentPattern:function(f){return new on({start:i(f),end:o(f),left:s(f.left),operator:"=",right:s(f.right)})},SpreadElement:function(f){return new Te({start:i(f),end:o(f),expression:s(f.argument)})},RestElement:function(f){return new Te({start:i(f),end:o(f),expression:s(f.argument)})},TemplateElement:function(f){return new Dr({start:i(f),end:o(f),value:f.value.cooked,raw:f.value.raw})},TemplateLiteral:function(f){for(var _=[],T=0;T<f.quasis.length;T++)_.push(s(f.quasis[T])),f.expressions[T]&&_.push(s(f.expressions[T]));return new Ft({start:i(f),end:o(f),segments:_})},TaggedTemplateExpression:function(f){return new nr({start:i(f),end:o(f),template_string:s(f.quasi),prefix:s(f.tag)})},FunctionDeclaration:function(f){return new st({start:i(f),end:o(f),name:f.id&&d(kr,f.id),argnames:f.params.map(_=>m(_,xt)),is_generator:f.generator,async:f.async,body:e(s(f.body).body)})},FunctionExpression:function(f){return p(f,!1)},ArrowFunctionExpression:function(f){let _=f.body.type==="BlockStatement"?s(f.body).body:[D(pt,{},{value:s(f.body)})];return new ot({start:i(f),end:o(f),argnames:f.params.map(T=>m(T,xt)),body:_,async:f.async})},ExpressionStatement:function(f){return new ie({start:i(f),end:o(f),body:s(f.expression)})},TryStatement:function(f){var _=f.handlers||[f.handler];if(_.length>1||f.guardedHandlers&&f.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new un({start:i(f),end:o(f),body:new aa(s(f.block)),bcatch:s(_[0]),bfinally:f.finalizer?new eo(s(f.finalizer)):null})},Property:function(f){if(f.kind=="init"&&!f.method){var _={start:i(f.key||f.value),end:o(f.value),key:f.computed?s(f.key):f.key.name||String(f.key.value),quote:c(f.key,f.computed),static:!1,value:s(f.value)};return new $e(_)}else{var T=p(f.value,!0),_={start:i(f.key||f.value),end:o(f.value),key:f.computed?s(f.key):d(an,f.key),quote:c(f.key,f.computed),static:!1,value:T};if(f.kind=="get")return new or(_);if(f.kind=="set")return new vr(_);if(f.method)return new Gt(_)}},MethodDefinition:function(f){let _=f.key.type==="PrivateIdentifier",T=f.computed?s(f.key):new an({name:f.key.name||String(f.key.value)});var O={start:i(f),end:o(f),key:T,quote:c(f.key,f.computed),value:p(f.value,!0),static:f.static};return f.kind=="get"?new(_?Mn:or)(O):f.kind=="set"?new(_?Yn:vr)(O):new(_?Sn:Gt)(O)},FieldDefinition:function(f){let _;if(f.computed)_=s(f.key);else{if(f.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");_=s(f.key)}return new Rn({start:i(f),end:o(f),quote:c(f.key,f.computed),key:_,value:s(f.value),static:f.static})},PropertyDefinition:function(f){let _;if(f.computed)_=s(f.key);else{if(f.key.type==="PrivateIdentifier")return new yn({start:i(f),end:o(f),key:s(f.key),value:s(f.value),static:f.static});_=d(Zr,f.key)}return new Rn({start:i(f),end:o(f),quote:c(f.key,f.computed),key:_,value:s(f.value),static:f.static})},PrivateIdentifier:function(f){return new Vo({start:i(f),end:o(f),name:f.name})},StaticBlock:function(f){return new Lt({start:i(f),end:o(f),body:f.body.map(s)})},ArrayExpression:function(f){return new Re({start:i(f),end:o(f),elements:f.elements.map(function(_){return _===null?new jn:s(_)})})},ObjectExpression:function(f){return new Le({start:i(f),end:o(f),properties:f.properties.map(function(_){return _.type==="SpreadElement"||(_.type="Property"),s(_)})})},SequenceExpression:function(f){return new pe({start:i(f),end:o(f),expressions:f.expressions.map(s)})},MemberExpression:function(f){return f.property.type==="PrivateIdentifier"?new Fn({start:i(f),end:o(f),property:f.property.name,expression:s(f.object),optional:f.optional||!1}):new(f.computed?mt:He)({start:i(f),end:o(f),property:f.computed?s(f.property):f.property.name,expression:s(f.object),optional:f.optional||!1})},ChainExpression:function(f){return new at({start:i(f),end:o(f),expression:s(f.expression)})},SwitchCase:function(f){return new(f.test?ir:ci)({start:i(f),end:o(f),expression:s(f.test),body:f.consequent.map(s)})},VariableDeclaration:function(f){let _,T=At,O,A=!1;f.kind==="const"?(_=wi,O=Di):f.kind==="let"?(_=Ri,O=no):f.kind==="using"?(_=Pn,T=ja,O=Ti):f.kind==="await using"?(_=Pn,T=ja,O=Ti,A=!0):(_=vt,O=Jr);let N=f.declarations.map(P=>new T({start:i(P),end:o(P),name:m(P.id,O),value:s(P.init)}));return new _({start:i(f),end:o(f),definitions:N,await:A})},ImportDeclaration:function(f){var _=null,T=null;return f.specifiers.forEach(function(O){O.type==="ImportSpecifier"||O.type==="ImportNamespaceSpecifier"?(T||(T=[]),T.push(s(O))):O.type==="ImportDefaultSpecifier"&&(_=s(O))}),new cn({start:i(f),end:o(f),imported_name:_,imported_names:T,module_name:s(f.source),attributes:t(f.attributes||f.assertions)})},ImportSpecifier:function(f){return new _r({start:i(f),end:o(f),foreign_name:d(Uo,f.imported,f.imported.type==="Literal"),name:d(Qi,f.local)})},ImportDefaultSpecifier:function(f){return d(Qi,f.local)},ImportNamespaceSpecifier:function(f){return new _r({start:i(f),end:o(f),foreign_name:new Uo({name:"*"}),name:d(Qi,f.local)})},ImportExpression:function(f){let _=[s(f.source)];return f.options&&_.push(s(f.options)),new ee({start:i(f),end:o(f),expression:s({type:"Identifier",name:"import"}),optional:!1,args:_})},ExportAllDeclaration:function(f){var _=f.exported==null?new Ji({name:"*"}):d(Ji,f.exported,f.exported.type==="Literal");return new dt({start:i(f),end:o(f),exported_names:[new _r({start:i(f),end:o(f),name:new Zi({name:"*"}),foreign_name:_})],module_name:s(f.source),attributes:t(f.attributes||f.assertions)})},ExportNamedDeclaration:function(f){return f.declaration?new dt({start:i(f),end:o(f),exported_definition:s(f.declaration),exported_names:null,module_name:null,attributes:null}):new dt({start:i(f),end:o(f),exported_definition:null,exported_names:f.specifiers&&f.specifiers.length?f.specifiers.map(s):[],module_name:s(f.source),attributes:t(f.attributes||f.assertions)})},ExportDefaultDeclaration:function(f){return new dt({start:i(f),end:o(f),exported_value:s(f.declaration),is_default:!0})},ExportSpecifier:function(f){return new _r({start:i(f),end:o(f),foreign_name:d(Ji,f.exported,f.exported.type==="Literal"),name:d(Zi,f.local,f.local.type==="Literal")})},Literal:function(f){var _=f.value,T={start:i(f),end:o(f)},O=f.regex;if(O&&O.pattern)return T.value={source:O.pattern,flags:O.flags},new $t(T);if(O){let N=f.raw||_,P=N.match(/^\/(.*)\/(\w*)$/);if(!P)throw new Error("Invalid regex source "+N);let[L,W,ae]=P;return T.value={source:W,flags:ae},new $t(T)}let A=typeof f.value=="bigint"?f.value.toString():f.bigint;if(typeof A=="string")return T.value=A,T.raw=f.raw,new Ln(T);if(_===null)return new Bn(T);switch(typeof _){case"string":return T.quote='"',T.value=_,new Ne(T);case"number":return T.value=_,T.raw=f.raw||_.toString(),new le(T);case"boolean":return new(_?Qn:ei)(T)}},MetaProperty:function(f){if(f.meta.name==="new"&&f.property.name==="target")return new to({start:i(f),end:o(f)});if(f.meta.name==="import"&&f.property.name==="meta")return new Kr({start:i(f),end:o(f)})},Identifier:function(f){return new Y({start:i(f),end:o(f),name:f.name})},EmptyStatement:function(f){return new Ye({start:i(f),end:o(f)})},BlockStatement:function(f){return new we({start:i(f),end:o(f),body:f.body.map(s)})},IfStatement:function(f){return new Qe({start:i(f),end:o(f),condition:s(f.test),body:s(f.consequent),alternative:s(f.alternate)})},LabeledStatement:function(f){try{let _=d(sa,f.label);return a.push(_),new Ct({start:i(f),end:o(f),label:_,body:s(f.body)})}finally{a.pop()}},BreakStatement:function(f){return new rr({start:i(f),end:o(f),label:g(f.label)})},ContinueStatement:function(f){return new Ei({start:i(f),end:o(f),label:g(f.label)})},WithStatement:function(f){return new sn({start:i(f),end:o(f),expression:s(f.object),body:s(f.body)})},SwitchStatement:function(f){return new Mt({start:i(f),end:o(f),expression:s(f.discriminant),body:f.cases.map(s)})},ReturnStatement:function(f){return new pt({start:i(f),end:o(f),value:s(f.argument)})},ThrowStatement:function(f){return new zo({start:i(f),end:o(f),value:s(f.argument)})},WhileStatement:function(f){return new Or({start:i(f),end:o(f),condition:s(f.test),body:s(f.body)})},DoWhileStatement:function(f){return new gr({start:i(f),end:o(f),condition:s(f.test),body:s(f.body)})},ForStatement:function(f){return new ht({start:i(f),end:o(f),init:s(f.init),condition:s(f.test),step:s(f.update),body:s(f.body)})},ForInStatement:function(f){return new wt({start:i(f),end:o(f),init:s(f.left),object:s(f.right),body:s(f.body)})},ForOfStatement:function(f){return new Ai({start:i(f),end:o(f),init:s(f.left),object:s(f.right),body:s(f.body),await:f.await})},AwaitExpression:function(f){return new An({start:i(f),end:o(f),expression:s(f.argument)})},YieldExpression:function(f){return new vn({start:i(f),end:o(f),expression:s(f.argument),is_star:f.delegate})},DebuggerStatement:function(f){return new zr({start:i(f),end:o(f)})},CatchClause:function(f){return new br({start:i(f),end:o(f),argname:f.param?m(f.param,xr):null,body:s(f.body).body})},ThisExpression:function(f){return new Ot({start:i(f),name:"this",end:o(f)})},Super:function(f){return new ro({start:i(f),end:o(f),name:"super"})},BinaryExpression:function(f){return f.left.type==="PrivateIdentifier"?new ar({start:i(f),end:o(f),key:new Vo({start:i(f.left),end:o(f.left),name:f.left.name}),value:s(f.right)}):new B({start:i(f),end:o(f),operator:f.operator,left:s(f.left),right:s(f.right)})},LogicalExpression:function(f){return new B({start:i(f),end:o(f),operator:f.operator,left:s(f.left),right:s(f.right)})},AssignmentExpression:function(f){return new Ae({start:i(f),end:o(f),operator:f.operator,logical:f.operator==="??="||f.operator==="&&="||f.operator==="||=",left:s(f.left),right:s(f.right)})},ConditionalExpression:function(f){return new me({start:i(f),end:o(f),condition:s(f.test),consequent:s(f.consequent),alternative:s(f.alternate)})},NewExpression:function(f){return new Xt({start:i(f),end:o(f),expression:s(f.callee),args:f.arguments.map(s)})},CallExpression:function(f){return new ee({start:i(f),end:o(f),expression:s(f.callee),optional:f.optional,args:f.arguments.map(s)})}};n.UpdateExpression=n.UnaryExpression=function(_){var T="prefix"in _?_.prefix:_.type=="UnaryExpression";return new(T?de:Gr)({start:i(_),end:o(_),operator:_.operator,expression:s(_.argument)})},n.ClassDeclaration=n.ClassExpression=function(_){return new(_.type==="ClassDeclaration"?$n:Vr)({start:i(_),end:o(_),name:_.id&&d(_.type==="ClassDeclaration"?Ya:Qa,_.id),extends:s(_.superClass),properties:_.body.body.map(s)})},h(Ye,function(){return{type:"EmptyStatement"}}),h(we,function(_){return{type:"BlockStatement",body:_.body.map(l)}}),h(Qe,function(_){return{type:"IfStatement",test:l(_.condition),consequent:l(_.body),alternate:l(_.alternative)}}),h(Ct,function(_){return{type:"LabeledStatement",label:l(_.label),body:l(_.body)}}),h(rr,function(_){return{type:"BreakStatement",label:l(_.label)}}),h(Ei,function(_){return{type:"ContinueStatement",label:l(_.label)}}),h(sn,function(_){return{type:"WithStatement",object:l(_.expression),body:l(_.body)}}),h(Mt,function(_){return{type:"SwitchStatement",discriminant:l(_.expression),cases:_.body.map(l)}}),h(pt,function(_){return{type:"ReturnStatement",argument:l(_.value)}}),h(zo,function(_){return{type:"ThrowStatement",argument:l(_.value)}}),h(Or,function(_){return{type:"WhileStatement",test:l(_.condition),body:l(_.body)}}),h(gr,function(_){return{type:"DoWhileStatement",test:l(_.condition),body:l(_.body)}}),h(ht,function(_){return{type:"ForStatement",init:l(_.init),test:l(_.condition),update:l(_.step),body:l(_.body)}}),h(wt,function(_){return{type:"ForInStatement",left:l(_.init),right:l(_.object),body:l(_.body)}}),h(Ai,function(_){return{type:"ForOfStatement",left:l(_.init),right:l(_.object),body:l(_.body),await:_.await}}),h(An,function(_){return{type:"AwaitExpression",argument:l(_.expression)}}),h(vn,function(_){return{type:"YieldExpression",argument:l(_.expression),delegate:_.is_star}}),h(zr,function(){return{type:"DebuggerStatement"}}),h(ni,function(_){return{type:"VariableDeclarator",id:l(_.name),init:l(_.value)}}),h(Ot,function(){return{type:"ThisExpression"}}),h(ro,function(){return{type:"Super"}}),h(me,function(_){return{type:"ConditionalExpression",test:l(_.condition),consequent:l(_.consequent),alternate:l(_.alternative)}}),h(Xt,function(_){return{type:"NewExpression",callee:l(_.expression),arguments:_.args.map(l)}}),h(ee,function(_){if(_.expression instanceof Y&&_.expression.name==="import"){let[T,O]=_.args.map(l);return{type:"ImportExpression",source:T,options:O||null}}return{type:"CallExpression",callee:l(_.expression),optional:_.optional,arguments:_.args.map(l)}}),h(tt,function(_){return C("Program",_)}),h(Te,function(_){return{type:y()?"RestElement":"SpreadElement",argument:l(_.expression)}}),h(nr,function(_){return{type:"TaggedTemplateExpression",tag:l(_.prefix),quasi:l(_.template_string)}}),h(Ft,function(_){for(var T=[],O=[],A=0;A<_.segments.length;A++)A%2!==0?O.push(l(_.segments[A])):T.push({type:"TemplateElement",value:{raw:_.segments[A].raw,cooked:_.segments[A].value},tail:A===_.segments.length-1});return{type:"TemplateLiteral",quasis:T,expressions:O}}),h(st,function(_){return{type:"FunctionDeclaration",id:l(_.name),params:_.argnames.map(v),generator:_.is_generator,async:_.async,body:C("BlockStatement",_)}}),h(Ze,function(_){return{type:"FunctionExpression",id:l(_.name),params:_.argnames.map(v),generator:_.is_generator||!1,async:_.async||!1,body:C("BlockStatement",_)}}),h(ot,function(_){var T=_.body.length===1&&_.body[0]instanceof pt&&_.body[0].value?l(_.body[0].value):{type:"BlockStatement",body:_.body.map(l)};return{type:"ArrowFunctionExpression",params:_.argnames.map(v),async:_.async,body:T}}),h(Xe,function(_){return _.is_array?{type:"ArrayPattern",elements:_.names.map(T=>T instanceof jn?null:v(T))}:{type:"ObjectPattern",properties:_.names.map(T=>{if(T instanceof $e){var O=T.computed_key();let[A,N]=u(T.key,O,T.quote,T.value);return{type:"Property",computed:O,kind:"init",key:N,method:!1,shorthand:A,value:v(T.value)}}else return v(T)})}}),h(on,function(_){return{type:"AssignmentPattern",left:v(_.left),right:l(_.right)}}),h(bn,function(_){return{type:"ExpressionStatement",expression:{type:"Literal",value:_.value,raw:_.print_to_string()},directive:_.value}}),h(ie,function(_){return{type:"ExpressionStatement",expression:l(_.body)}}),h(ti,function(_){return{type:"SwitchCase",test:l(_.expression),consequent:_.body.map(l)}}),h(un,function(_){return{type:"TryStatement",block:S(_.body),handler:l(_.bcatch),guardedHandlers:[],finalizer:l(_.bfinally)}}),h(br,function(_){return{type:"CatchClause",param:_.argname!=null?v(_.argname):null,body:S(_)}}),h(Nn,function(_){return{type:"VariableDeclaration",kind:_ instanceof wi?"const":_ instanceof Ri?"let":_ instanceof Pn?_.await?"await using":"using":"var",declarations:_.definitions.map(l)}});function r(f){let _=[];if(f)for(let{key:T,value:O}of f.properties){let A=$a(T)?{type:"Identifier",name:T}:{type:"Literal",value:T,raw:JSON.stringify(T)};_.push({type:"ImportAttribute",key:A,value:l(O)})}return _}h(dt,function(_){if(_.exported_names){var T=_.exported_names[0];if(T&&T.name.name==="*"&&!T.name.quote){var O=T.foreign_name,A=O.name==="*"&&!O.quote?null:l(O);return{type:"ExportAllDeclaration",source:l(_.module_name),exported:A,attributes:r(_.attributes)}}return{type:"ExportNamedDeclaration",specifiers:_.exported_names.map(function(N){return{type:"ExportSpecifier",exported:l(N.foreign_name),local:l(N.name)}}),declaration:l(_.exported_definition),source:l(_.module_name),attributes:r(_.attributes)}}return _.is_default?{type:"ExportDefaultDeclaration",declaration:l(_.exported_value||_.exported_definition)}:{type:"ExportNamedDeclaration",declaration:l(_.exported_value||_.exported_definition),specifiers:[],source:null}}),h(cn,function(_){var T=[];if(_.imported_name&&T.push({type:"ImportDefaultSpecifier",local:l(_.imported_name)}),_.imported_names){var O=_.imported_names[0].foreign_name;O.name==="*"&&!O.quote?T.push({type:"ImportNamespaceSpecifier",local:l(_.imported_names[0].name)}):_.imported_names.forEach(function(A){T.push({type:"ImportSpecifier",local:l(A.name),imported:l(A.foreign_name)})})}return{type:"ImportDeclaration",specifiers:T,source:l(_.module_name),attributes:r(_.attributes)}}),h(Kr,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),h(pe,function(_){return{type:"SequenceExpression",expressions:_.expressions.map(l)}}),h(Fn,function(_){return{type:"MemberExpression",object:l(_.expression),computed:!1,property:{type:"PrivateIdentifier",name:_.property},optional:_.optional}}),h(se,function(_){var T=_ instanceof mt;return{type:"MemberExpression",object:l(_.expression),computed:T,property:T?l(_.property):{type:"Identifier",name:_.property},optional:_.optional}}),h(at,function(_){return{type:"ChainExpression",expression:l(_.expression)}}),h(Je,function(_){return{type:_.operator=="++"||_.operator=="--"?"UpdateExpression":"UnaryExpression",operator:_.operator,prefix:_ instanceof de,argument:l(_.expression)}}),h(B,function(_){return _.operator=="="&&y()?{type:"AssignmentPattern",left:l(_.left),right:l(_.right)}:{type:_.operator=="&&"||_.operator=="||"||_.operator==="??"?"LogicalExpression":"BinaryExpression",left:l(_.left),operator:_.operator,right:l(_.right)}}),h(Ae,function(_){return{type:"AssignmentExpression",operator:_.operator,left:l(_.left),right:l(_.right)}}),h(ar,function(_){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:_.key.name},operator:"in",right:l(_.value)}}),h(Re,function(_){return{type:"ArrayExpression",elements:_.elements.map(l)}}),h(Le,function(_){return{type:"ObjectExpression",properties:_.properties.map(l)}}),h(gt,function(_,T){var O=_.computed_key();let[A,N]=u(_.key,O,_.quote,_.value);var P;return _ instanceof or?P="get":_ instanceof vr&&(P="set"),_ instanceof Mn||_ instanceof Yn?{type:"MethodDefinition",computed:!1,kind:_ instanceof Mn?"get":"set",static:_.static,key:{type:"PrivateIdentifier",name:_.key.name},value:l(_.value)}:_ instanceof yn?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:_.key.name},value:l(_.value),computed:!1,static:_.static}:_ instanceof Rn?{type:"PropertyDefinition",key:N,value:l(_.value),computed:O,static:_.static}:T instanceof Oe?{type:"MethodDefinition",computed:O,kind:P,static:_.static,key:l(_.key),value:l(_.value)}:{type:"Property",computed:O,method:!1,shorthand:A,kind:P,key:N,value:l(_.value)}}),h($e,function(_){var T=_.computed_key();let[O,A]=u(_.key,T,_.quote,_.value);return{type:"Property",computed:T,shorthand:O,method:!1,kind:"init",key:A,value:l(_.value)}}),h(Gt,function(_,T){let O=_.computed_key(),[A,N]=u(_.key,O,_.quote,_.value);return T instanceof Le?{type:"Property",kind:"init",computed:O,method:!0,shorthand:!1,key:N,value:l(_.value)}:{type:"MethodDefinition",kind:!O&&_.key.name==="constructor"?"constructor":"method",computed:O,key:N,value:l(_.value),static:_.static}}),h(Sn,function(_){return{type:"MethodDefinition",kind:"method",key:{type:"PrivateIdentifier",name:_.key.name},value:l(_.value),computed:!1,static:_.static}}),h(Oe,function(_){var T=_ instanceof Vr?"ClassExpression":"ClassDeclaration";return{type:T,superClass:l(_.extends),id:_.name?l(_.name):null,body:{type:"ClassBody",body:_.properties.map(l)}}}),h(Lt,function(_){return{type:"StaticBlock",body:_.body.map(l)}}),h(to,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),h(Fe,function(_,T){if(_ instanceof an&&T.quote||(_ instanceof Uo||_ instanceof Ji||_ instanceof Zi)&&_.quote)return{type:"Literal",value:_.name};var O=_.definition();return{type:"Identifier",name:O?O.mangled_name||O.name:_.name}}),h($t,function(_){let T=_.value.source,O=_.value.flags;return{type:"Literal",value:null,raw:_.print_to_string(),regex:{pattern:T,flags:O}}}),h(ze,function(_){var T=_.value;return{type:"Literal",value:T,raw:_.raw||_.print_to_string()}}),h(yo,function(_){return{type:"Identifier",name:String(_.value)}}),h(Ln,f=>({type:"Literal",value:null,bigint:typeof BigInt=="function"?BigInt(f.value).toString():f.value,raw:f.raw})),Js.DEFMETHOD("to_mozilla_ast",ze.prototype.to_mozilla_ast),Bn.DEFMETHOD("to_mozilla_ast",ze.prototype.to_mozilla_ast),jn.DEFMETHOD("to_mozilla_ast",function(){return null}),St.DEFMETHOD("to_mozilla_ast",we.prototype.to_mozilla_ast),oe.DEFMETHOD("to_mozilla_ast",Ze.prototype.to_mozilla_ast);function i(f){var _=f.loc,T=_&&_.start,O=f.range;return new oa("","",T&&T.line||0,T&&T.column||0,O?O[0]:f.start,!1,[],[],_&&_.source)}function o(f){var _=f.loc,T=_&&_.end,O=f.range;return new oa("","",T&&T.line||0,T&&T.column||0,O?O[0]:f.end,!1,[],[],_&&_.source)}var a=null;function s(f){return f==null?null:n[f.type](f)}function c(f,_){return!_&&f.type==="Literal"&&typeof f.value=="string"?'"':""}function d(f,_,T){return new f({start:i(_),quote:T?'"':void 0,name:_.type==="Identifier"?_.name:String(_.value),end:o(_)})}function p(f,_){return new(_?qr:Ze)({start:i(f),end:o(f),name:f.id&&d(_?an:Sr,f.id),argnames:f.params.map(T=>m(T,xt)),is_generator:f.generator,async:f.async,body:e(s(f.body).body)})}function m(f,_){switch(f.type){case"ObjectPattern":return new Xe({start:i(f),end:o(f),names:f.properties.map(A=>m(A,_)),is_array:!1});case"Property":var T=f.key,O={start:i(T||f.value),end:o(f.value),key:T.type=="Identifier"?T.name:String(T.value),quote:!f.computed&&T.type==="Literal"&&typeof T.value=="string"?'"':"",value:m(f.value,_)};return f.computed&&(O.key=s(f.key)),new $e(O);case"ArrayPattern":return new Xe({start:i(f),end:o(f),names:f.elements.map(function(A){return A===null?new jn:m(A,_)}),is_array:!0});case"SpreadElement":case"RestElement":return new Te({start:i(f),end:o(f),expression:m(f.argument,_)});case"AssignmentPattern":return new on({start:i(f),end:o(f),left:m(f.left,_),operator:"=",right:s(f.right)});case"Identifier":return new _({start:i(f),end:o(f),name:f.name});default:throw new Error("Invalid node type for destructuring: "+f.type)}}function g(f){if(!f)return null;let _=d($s,f),T=a.length;for(;T--;){let O=a[T];if(_.name===O.name){_.thedef=O;break}}return _}X.from_mozilla_ast=function(f){var _=a;a=[];var T=s(f);return a=_,T};function b(f,_){var T=f.start,O=f.end;return T&&O&&(T.pos!=null&&O.endpos!=null&&(_.range=[T.pos,O.endpos]),T.line&&(_.loc={start:{line:T.line,column:T.col},end:O.endline?{line:O.endline,column:O.endcol}:null},T.file&&(_.loc.source=T.file))),_}function h(f,_){f.DEFMETHOD("to_mozilla_ast",function(T){return b(this,_(this,T))})}var w=null;function l(f){w===null&&(w=[]),w.push(f);var _=f!=null?f.to_mozilla_ast(w[w.length-2]):null;return w.pop(),w.length===0&&(w=null),_}function u(f,_=!1,T=!1,O=null){if(_)return[!1,l(f)];let A=typeof f=="string"?f:f.name,N;return T?N={type:"Literal",value:A,raw:JSON.stringify(A)}:""+ +A===A&&+A>=0?N={type:"Literal",value:+A,raw:JSON.stringify(+A)}:N={type:"Identifier",name:A},[N.type==="Identifier"&&N.name===A&&(O instanceof Fe&&O.name===A||O instanceof on&&O.left.name===A),N]}function v(f){if(f instanceof Te)return{type:"RestElement",argument:v(f.expression)};if(f instanceof Fe||f instanceof Xe||f instanceof on||f instanceof se)return l(f);throw new Error(f.TYPE)}function y(){for(var f=w.length;f--;)if(w[f]instanceof Xe)return!0;return!1}function S(f){return{type:"BlockStatement",body:f.body.map(l)}}function C(f,_){var T=_.body.map(l);return _.body[0]instanceof ie&&_.body[0].body instanceof Ne&&T.unshift(l(new Ye(_.body[0]))),{type:f,body:T}}})();function Wr(e){let t=e.parent(-1);for(let n=0,r;r=e.parent(n);n++){if(r instanceof Nt&&r.body===t)return!0;if(r instanceof pe&&r.expressions[0]===t||r.TYPE==="Call"&&r.expression===t||r instanceof nr&&r.prefix===t||r instanceof He&&r.expression===t||r instanceof mt&&r.expression===t||r instanceof at&&r.expression===t||r instanceof me&&r.condition===t||r instanceof B&&r.left===t||r instanceof Gr&&r.expression===t)t=r;else return!1}}function To(e){return e instanceof Le?!0:e instanceof pe?To(e.expressions[0]):e.TYPE==="Call"?To(e.expression):e instanceof nr?To(e.prefix):e instanceof He||e instanceof mt||e instanceof at?To(e.expression):e instanceof me?To(e.condition):e instanceof B?To(e.left):e instanceof Gr?To(e.expression):!1}var pT=10,mT=32,hT=/[@#]__(PURE|INLINE|NOINLINE)__/;function jB(e){return(e.type==="comment2"||e.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(e.value)}var YB=8*1e3,im=class{constructor(){this.committed="",this.current=""}append(t){this.current.length>YB?(this.committed+=this.current+t,this.current=""):this.current+=t}insertAt(t,n){let{committed:r,current:i}=this;n<r.length?this.committed=r.slice(0,n)+t+r.slice(n):n===r.length?this.committed+=t:(n-=r.length,this.committed+=i.slice(0,n)+t,this.current=i.slice(n))}charAt(t){let{committed:n}=this;return t<n.length?n[t]:this.current[t-n.length]}charCodeAt(t){let{committed:n}=this;return t<n.length?n.charCodeAt(t):this.current.charCodeAt(t-n.length)}length(){return this.committed.length+this.current.length}expectDirective(){let t,n=this.length();if(n<=0)return!0;for(;(t=this.charCodeAt(--n))&&(t==mT||t==pT););return!t||t===59||t===123}hasNLB(){let t=this.length()-1;for(;t>=0;){let n=this.charCodeAt(t--);if(n===pT)return!0;if(n!==mT)return!1}return!0}toString(){return this.committed+this.current}};function eu(e){var t=!e;e=wr(e,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!1,_destroy_ast:!1},!0),e.shorthand===void 0&&(e.shorthand=e.ecma>5);var n=Ge;if(e.comments){let F=e.comments;if(typeof e.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var r=e.comments.lastIndexOf("/");F=new RegExp(e.comments.substr(1,r-1),e.comments.substr(r+1))}F instanceof RegExp?n=function(H){return H.type!="comment5"&&F.test(H.value)}:typeof F=="function"?n=function(H){return H.type!="comment5"&&F(this,H)}:F==="some"?n=jB:n=_n}if(e.preserve_annotations){let F=n;n=function(H){return hT.test(H.value)||F.apply(this,arguments)}}var i=0,o=0,a=1,s=0,c=new im;let d=new Set;var p=e.ascii_only?function(F,H=!1,j=!1){return e.ecma>=2015&&!e.safari10&&!j&&(F=F.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(Ie){var Ke=aT(Ie,0).toString(16);return"\\u{"+Ke+"}"})),F.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(Ie){var Ke=Ie.charCodeAt(0).toString(16);if(Ke.length<=2&&!H){for(;Ke.length<2;)Ke="0"+Ke;return"\\x"+Ke}else{for(;Ke.length<4;)Ke="0"+Ke;return"\\u"+Ke}})}:function(F){return F.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(H,j){return j?"\\u"+j.charCodeAt(0).toString(16):H})};function m(F,H){var j=0,Ie=0;F=F.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Et,Vt){switch(Et){case'"':return++j,'"';case"'":return++Ie,"'";case"\\":return"\\\\";case`
72
+ `:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\uFEFF":return"\\ufeff";case"\0":return/[0-9]/.test(vo(F,Vt+1))?"\\x00":"\\0"}return Et});function Ke(){return"'"+F.replace(/\x27/g,"\\'")+"'"}function et(){return'"'+F.replace(/\x22/g,'\\"')+'"'}function Ut(){return"`"+F.replace(/`/g,"\\`")+"`"}if(F=p(F),H==="`")return Ut();switch(e.quote_style){case 1:return Ke();case 2:return et();case 3:return H=="'"?Ke():et();default:return j>Ie?Ke():et()}}function g(F,H){var j=m(F,H);return e.inline_script&&(j=j.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),j=j.replace(/\x3c!--/g,"\\x3c!--"),j=j.replace(/--\x3e/g,"--\\x3e")),j}function b(F){return F=F.toString(),F=p(F,!0),F}function h(F){return" ".repeat(e.indent_start+i-F*e.indent_level)}var w=!1,l=!1,u=!1,v=0,y=!1,S=!1,C=-1,f="",_,T,O=e.source_map&&[],A=O?function(){O.forEach(function(F){try{let{name:H,token:j}=F;H!==!1&&(j.type=="name"||j.type==="privatename"?H=j.value:H instanceof Fe&&(H=j.type==="string"?j.value:H.name)),e.source_map.add(F.token.file,F.line,F.col,F.token.line,F.token.col,$a(H)?H:void 0)}catch{}}),O=[]}:er,N=e.max_line_len?function(){if(o>e.max_line_len&&v){c.insertAt(`
73
+ `,v);let H=c.length()-v-1;if(O){var F=H-o;O.forEach(function(j){j.line++,j.col+=F})}a++,s++,o=H}v&&(v=0,A())}:er,P=We("( [ + * / - , . `");function L(F){F=String(F);var H=vo(F,0);y&&H&&(y=!1,H!==`
74
+ `&&(L(`
75
+ `),Z())),S&&H&&(S=!1,/[\s;})]/.test(H)||ae()),C=-1;var j=f.charAt(f.length-1);u&&(u=!1,(j===":"&&H==="}"||(!H||!";}".includes(H))&&j!==";")&&(e.semicolons||P.has(H)?(c.append(";"),o++,s++):(N(),o>0&&(c.append(`
76
+ `),s++,a++,o=0),/^\s+$/.test(F)&&(u=!0)),e.beautify||(l=!1))),l&&((Xa(j)&&(Xa(H)||H=="\\")||H=="/"&&H==j||(H=="+"||H=="-")&&H==f)&&(c.append(" "),o++,s++),l=!1),_&&(O.push({token:_,name:T,line:a,col:o}),_=!1,v||A()),c.append(F),w=F[F.length-1]=="(",s+=F.length;var Ie=F.split(/\r?\n/),Ke=Ie.length-1;a+=Ke,o+=Ie[0].length,Ke>0&&(N(),o=Ie[Ke].length),f=F}var W=function(){L("*")},ae=e.beautify?function(){L(" ")}:function(){l=!0},Z=e.beautify?function(F){e.beautify&&L(h(F?.5:0))}:er,ke=e.beautify?function(F,H){F===!0&&(F=Qt());var j=i;i=F;var Ie=H();return i=j,Ie}:function(F,H){return H()},Ve=e.beautify?function(){if(C<0)return L(`
77
+ `);c.charAt(C)!=`
78
+ `&&(c.insertAt(`
79
+ `,C),s++,a++),C++}:e.max_line_len?function(){N(),v=c.length()}:er,Be=e.beautify?function(){L(";")}:function(){u=!0};function ge(){u=!1,L(";")}function Qt(){return i+e.indent_level}function J(F){var H;return L("{"),Ve(),ke(Qt(),function(){H=F()}),Z(),L("}"),H}function De(F){L("(");var H=F();return L(")"),H}function V(F){L("[");var H=F();return L("]"),H}function q(){L(","),ae()}function Q(){L(":"),ae()}var $=O?function(F,H){_=F,T=H}:er;function te(){return v&&N(),c.toString()}function it(F){return e.preserve_annotations||(F=F.replace(hT," ")),/^\s*$/.test(F)?"":F.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function Vn(F){var H=this,j=F.start;if(!j)return;var Ie=H.printed_comments;let Ke=F instanceof Jn&&F.value||(F instanceof An||F instanceof vn)&&F.expression;if(j.comments_before&&Ie.has(j.comments_before))if(Ke)j.comments_before=[];else return;var et=j.comments_before;if(et||(et=j.comments_before=[]),Ie.add(et),Ke){var Ut=new Pt(function(Dt){var qt=Ut.parent();if(qt instanceof Jn||qt instanceof An||qt instanceof vn||qt instanceof B&&qt.left===Dt||qt.TYPE=="Call"&&qt.expression===Dt||qt instanceof me&&qt.condition===Dt||qt instanceof He&&qt.expression===Dt||qt instanceof pe&&qt.expressions[0]===Dt||qt instanceof mt&&qt.expression===Dt||qt instanceof Gr){if(!Dt.start)return;var Cn=Dt.start.comments_before;Cn&&!Ie.has(Cn)&&(Ie.add(Cn),et=et.concat(Cn))}else return!0});Ut.push(F),Ke.walk(Ut)}if(s==0){et.length>0&&e.shebang&&et[0].type==="comment5"&&!Ie.has(et[0])&&(L("#!"+et.shift().value+`
80
+ `),Z());var Et=e.preamble;Et&&L(Et.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
81
+ `))}if(et=et.filter(n,F).filter(Dt=>!Ie.has(Dt)),et.length!=0){var Vt=c.hasNLB();et.forEach(function(Dt,qt){if(Ie.add(Dt),Vt||(Dt.nlb?(L(`
82
+ `),Z(),Vt=!0):qt>0&&ae()),/comment[134]/.test(Dt.type)){var Cn=it(Dt.value);Cn&&(L("//"+Cn+`
83
+ `),Z()),Vt=!0}else if(Dt.type=="comment2"){var Cn=it(Dt.value);Cn&&L("/*"+Cn+"*/"),Vt=!1}}),Vt||(j.nlb?(L(`
84
+ `),Z()):ae())}}function ye(F,H){var j=this,Ie=F.end;if(Ie){var Ke=j.printed_comments,et=Ie[H?"comments_before":"comments_after"];if(!(!et||Ke.has(et))&&(F instanceof Nt||et.every(Et=>!/comment[134]/.test(Et.type)))){Ke.add(et);var Ut=c.length();et.filter(n,F).forEach(function(Et,Vt){if(!Ke.has(Et)){if(Ke.add(Et),S=!1,y?(L(`
85
+ `),Z(),y=!1):Et.nlb&&(Vt>0||!c.hasNLB())?(L(`
86
+ `),Z()):(Vt>0||!H)&&ae(),/comment[134]/.test(Et.type)){let Dt=it(Et.value);Dt&&L("//"+Dt),y=!0}else if(Et.type=="comment2"){let Dt=it(Et.value);Dt&&L("/*"+Dt+"*/"),S=!0}}}),c.length()>Ut&&(C=Ut)}}}let fe=e._destroy_ast?function(H){H.body.length=0,H.argnames.length=0}:er;var xe=[];return{get:te,toString:te,indent:Z,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return i},current_width:function(){return o-i},should_break:function(){return e.width&&this.current_width()>=e.width},has_parens:function(){return w},newline:Ve,print:L,star:W,space:ae,comma:q,colon:Q,last:function(){return f},semicolon:Be,force_semicolon:ge,to_utf8:p,print_name:function(F){L(b(F))},print_string:function(F,H,j){var Ie=g(F,H);j===!0&&!Ie.includes("\\")&&(c.expectDirective()||ge(),ge()),L(Ie)},print_template_string_chars:function(F){var H=g(F,"`").replace(/\${/g,"\\${");return L(H.substr(1,H.length-2))},encode_string:g,next_indent:Qt,with_indent:ke,with_block:J,with_parens:De,with_square:V,add_mapping:$,option:function(F){return e[F]},gc_scope:fe,printed_comments:d,prepend_comments:t?er:Vn,append_comments:t||n===Ge?er:ye,line:function(){return a},col:function(){return o},pos:function(){return s},push_node:function(F){xe.push(F)},pop_node:function(){return xe.pop()},parent:function(F){return xe[xe.length-2-(F||0)]}}}(function(){function e(l,u){l.DEFMETHOD("_codegen",u)}X.DEFMETHOD("print",function(l,u){var v=this,y=v._codegen;v instanceof he?l.active_scope=v:!l.use_asm&&v instanceof bn&&v.value=="use asm"&&(l.use_asm=l.active_scope);function S(){l.prepend_comments(v),v.add_source_map(l),y(v,l),l.append_comments(v)}l.push_node(v),u||v.needs_parens(l)?l.with_parens(S):S(),l.pop_node(),v===l.use_asm&&(l.use_asm=null)}),X.DEFMETHOD("_print",X.prototype.print),X.DEFMETHOD("print_to_string",function(l){var u=eu(l);return this.print(u),u.get()});function t(l,u){Array.isArray(l)?l.forEach(function(v){t(v,u)}):l.DEFMETHOD("needs_parens",u)}t(X,Ge),t(Ze,function(l){if(!l.has_parens()&&Wr(l))return!0;if(l.option("webkit")){var u=l.parent();if(u instanceof se&&u.expression===this)return!0}if(l.option("wrap_iife")){var u=l.parent();if(u instanceof ee&&u.expression===this)return!0}if(l.option("wrap_func_args")){var u=l.parent();if(u instanceof ee&&u.args.includes(this))return!0}return!1}),t(ot,function(l){var u=l.parent();return l.option("wrap_func_args")&&u instanceof ee&&u.args.includes(this)?!0:u instanceof se&&u.expression===this||u instanceof me&&u.condition===this}),t(Le,function(l){return!l.has_parens()&&Wr(l)}),t(Vr,Wr),t(Je,function(l){var u=l.parent();return u instanceof se&&u.expression===this||u instanceof ee&&u.expression===this||u instanceof B&&u.operator==="**"&&this instanceof de&&u.left===this&&this.operator!=="++"&&this.operator!=="--"}),t(An,function(l){var u=l.parent();return u instanceof se&&u.expression===this||u instanceof ee&&u.expression===this||u instanceof B&&u.operator==="**"&&u.left===this||l.option("safari10")&&u instanceof de}),t(pe,function(l){var u=l.parent();return u instanceof ee||u instanceof Je||u instanceof B||u instanceof ni||u instanceof se&&this!==u.property||u instanceof Re||u instanceof gt||u instanceof me||u instanceof ot||u instanceof on||u instanceof Te||u instanceof Ai&&this===u.object||u instanceof vn||u instanceof dt}),t(B,function(l){var u=l.parent();if(u instanceof ee&&u.expression===this||u instanceof Je||u instanceof se&&u.expression===this)return!0;if(u instanceof B){let v=u.operator,y=this.operator;if(y==="??"&&(v==="||"||v==="&&")||v==="??"&&(y==="||"||y==="&&"))return!0;let S=Qr[v],C=Qr[y];if(S>C||S==C&&(this===u.right||v=="**"))return!0}if(u instanceof ar){let v=this.operator,y=Qr.in,S=Qr[v];if(y>S||y==S&&this===u.value)return!0}}),t(ar,function(l){var u=l.parent();if(u instanceof ee&&u.expression===this||u instanceof Je||u instanceof se&&u.expression===this)return!0;if(u instanceof B){let v=u.operator,y=Qr[v],S=Qr.in;if(y>S||y==S&&(this===u.right||v=="**"))return!0}if(u instanceof ar&&this===u.value)return!0}),t(vn,function(l){var u=l.parent();if(u instanceof B&&u.operator!=="="||u instanceof ee&&u.expression===this||u instanceof me&&u.condition===this||u instanceof Je||u instanceof se&&u.expression===this)return!0}),t(at,function(l){var u=l.parent();return u instanceof ee||u instanceof se?u.expression===this:!1}),t(se,function(l){var u=l.parent();if(u instanceof Xt&&u.expression===this)return yt(this,v=>{if(v instanceof he)return!0;if(v instanceof ee)return Un})}),t(ee,function(l){var u=l.parent(),v;return u instanceof Xt&&u.expression===this||u instanceof dt&&u.is_default&&this.expression instanceof Ze?!0:this.expression instanceof Ze&&u instanceof se&&u.expression===this&&(v=l.parent(1))instanceof Ae&&v.left===u}),t(Xt,function(l){var u=l.parent();if(this.args.length===0&&(u instanceof se||u instanceof ee&&u.expression===this||u instanceof nr&&u.prefix===this))return!0}),t(le,function(l){var u=l.parent();if(u instanceof se&&u.expression===this){var v=this.getValue();if(v<0||/^0/.test(b(v)))return!0}}),t(Ln,function(l){var u=l.parent();if(u instanceof se&&u.expression===this){var v=this.getValue();if(v.startsWith("-"))return!0}}),t([Ae,me],function(l){var u=l.parent();if(u instanceof Je||u instanceof B&&!(u instanceof Ae)||u instanceof ee&&u.expression===this||u instanceof me&&u.condition===this||u instanceof se&&u.expression===this||this instanceof Ae&&this.left instanceof Xe&&this.left.is_array===!1)return!0}),e(bn,function(l,u){u.print_string(l.value,l.quote),u.semicolon()}),e(Te,function(l,u){u.print("..."),l.expression.print(u)}),e(Xe,function(l,u){u.print(l.is_array?"[":"{");var v=l.names.length;l.names.forEach(function(y,S){S>0&&u.comma(),y.print(u),S==v-1&&y instanceof jn&&u.comma()}),u.print(l.is_array?"]":"}")}),e(zr,function(l,u){u.print("debugger"),u.semicolon()});function n(l,u,v,y){var S=l.length-1;v.in_directive=y,l.forEach(function(C,f){v.in_directive===!0&&!(C instanceof bn||C instanceof Ye||C instanceof ie&&C.body instanceof Ne)&&(v.in_directive=!1),C instanceof Ye||(v.indent(),C.print(v),f==S&&u||(v.newline(),u&&v.newline())),v.in_directive===!0&&C instanceof ie&&C.body instanceof Ne&&(v.in_directive=!1)}),v.in_directive=!1}ca.DEFMETHOD("_do_print_body",function(l){m(this.body,l)}),e(Nt,function(l,u){l.body.print(u),u.semicolon()}),e(tt,function(l,u){n(l.body,!0,u,!0),u.print("")}),e(Ct,function(l,u){l.label.print(u),u.colon(),l.body.print(u)}),e(ie,function(l,u){l.body.print(u),u.semicolon()});function r(l,u){u.print("{"),u.with_indent(u.next_indent(),function(){u.append_comments(l,!0)}),u.add_mapping(l.end),u.print("}")}function i(l,u,v){l.body.length>0?u.with_block(function(){n(l.body,!1,u,v),u.add_mapping(l.end)}):r(l,u)}e(we,function(l,u){i(l,u)}),e(Ye,function(l,u){u.semicolon()}),e(gr,function(l,u){u.print("do"),u.space(),h(l.body,u),u.space(),u.print("while"),u.space(),u.with_parens(function(){l.condition.print(u)}),u.semicolon()}),e(Or,function(l,u){u.print("while"),u.space(),u.with_parens(function(){l.condition.print(u)}),u.space(),l._do_print_body(u)}),e(ht,function(l,u){u.print("for"),u.space(),u.with_parens(function(){l.init?(l.init instanceof Nn?l.init.print(u):a(l.init,u,!0),u.print(";"),u.space()):u.print(";"),l.condition?(l.condition.print(u),u.print(";"),u.space()):u.print(";"),l.step&&l.step.print(u)}),u.space(),l._do_print_body(u)}),e(wt,function(l,u){u.print("for"),l.await&&(u.space(),u.print("await")),u.space(),u.with_parens(function(){l.init.print(u),u.space(),u.print(l instanceof Ai?"of":"in"),u.space(),l.object.print(u)}),u.space(),l._do_print_body(u)}),e(sn,function(l,u){u.print("with"),u.space(),u.with_parens(function(){l.expression.print(u)}),u.space(),l._do_print_body(u)}),oe.DEFMETHOD("_do_print",function(l,u){var v=this;u||(v.async&&(l.print("async"),l.space()),l.print("function"),v.is_generator&&l.star(),v.name&&l.space()),v.name instanceof Fe?v.name.print(l):u&&v.name instanceof X&&l.with_square(function(){v.name.print(l)}),l.with_parens(function(){v.argnames.forEach(function(y,S){S&&l.comma(),y.print(l)})}),l.space(),i(v,l,!0)}),e(oe,function(l,u){l._do_print(u),u.gc_scope(l)}),e(nr,function(l,u){var v=l.prefix,y=v instanceof oe||v instanceof B||v instanceof me||v instanceof pe||v instanceof Je||v instanceof He&&v.expression instanceof Le;y&&u.print("("),l.prefix.print(u),y&&u.print(")"),l.template_string.print(u)}),e(Ft,function(l,u){var v=u.parent()instanceof nr;u.print("`");for(var y=0;y<l.segments.length;y++)l.segments[y]instanceof Dr?v?u.print(l.segments[y].raw):u.print_template_string_chars(l.segments[y].value):(u.print("${"),l.segments[y].print(u),u.print("}"));u.print("`")}),e(Dr,function(l,u){u.print_template_string_chars(l.value)}),ot.DEFMETHOD("_do_print",function(l){var u=this,v=l.parent(),y=v instanceof B&&!(v instanceof Ae)&&!(v instanceof on)||v instanceof Je||v instanceof ee&&u===v.expression;y&&l.print("("),u.async&&(l.print("async"),l.space()),u.argnames.length===1&&u.argnames[0]instanceof Fe?u.argnames[0].print(l):l.with_parens(function(){u.argnames.forEach(function(C,f){f&&l.comma(),C.print(l)})}),l.space(),l.print("=>"),l.space();let S=u.body[0];if(u.body.length===1&&S instanceof pt){let C=S.value;C?To(C)?(l.print("("),C.print(l),l.print(")")):C.print(l):l.print("{}")}else i(u,l);y&&l.print(")"),l.gc_scope(u)}),Jn.DEFMETHOD("_do_print",function(l,u){if(l.print(u),this.value){l.space();let v=this.value.start.comments_before;v&&v.length&&!l.printed_comments.has(v)?(l.print("("),this.value.print(l),l.print(")")):this.value.print(l)}l.semicolon()}),e(pt,function(l,u){l._do_print(u,"return")}),e(zo,function(l,u){l._do_print(u,"throw")}),e(vn,function(l,u){var v=l.is_star?"*":"";u.print("yield"+v),l.expression&&(u.space(),l.expression.print(u))}),e(An,function(l,u){u.print("await"),u.space();var v=l.expression,y=!(v instanceof ee||v instanceof Y||v instanceof se||v instanceof Je||v instanceof ze||v instanceof An||v instanceof Le);y&&u.print("("),l.expression.print(u),y&&u.print(")")}),Ir.DEFMETHOD("_do_print",function(l,u){l.print(u),this.label&&(l.space(),this.label.print(l)),l.semicolon()}),e(rr,function(l,u){l._do_print(u,"break")}),e(Ei,function(l,u){l._do_print(u,"continue")});function o(l,u){var v=l.body;if(u.option("braces")||u.option("ie8")&&v instanceof gr)return h(v,u);if(!v)return u.force_semicolon();for(;;)if(v instanceof Qe){if(!v.alternative){h(l.body,u);return}v=v.alternative}else if(v instanceof ca)v=v.body;else break;m(l.body,u)}e(Qe,function(l,u){u.print("if"),u.space(),u.with_parens(function(){l.condition.print(u)}),u.space(),l.alternative?(o(l,u),u.space(),u.print("else"),u.space(),l.alternative instanceof Qe?l.alternative.print(u):m(l.alternative,u)):l._do_print_body(u)}),e(Mt,function(l,u){u.print("switch"),u.space(),u.with_parens(function(){l.expression.print(u)}),u.space();var v=l.body.length-1;v<0?r(l,u):u.with_block(function(){l.body.forEach(function(y,S){u.indent(!0),y.print(u),S<v&&y.body.length>0&&u.newline()})})}),ti.DEFMETHOD("_do_print_body",function(l){l.newline(),this.body.forEach(function(u){l.indent(),u.print(l),l.newline()})}),e(ci,function(l,u){u.print("default:"),l._do_print_body(u)}),e(ir,function(l,u){u.print("case"),u.space(),l.expression.print(u),u.print(":"),l._do_print_body(u)}),e(un,function(l,u){u.print("try"),u.space(),l.body.print(u),l.bcatch&&(u.space(),l.bcatch.print(u)),l.bfinally&&(u.space(),l.bfinally.print(u))}),e(aa,function(l,u){i(l,u)}),e(br,function(l,u){u.print("catch"),l.argname&&(u.space(),u.with_parens(function(){l.argname.print(u)})),u.space(),i(l,u)}),e(eo,function(l,u){u.print("finally"),u.space(),i(l,u)}),Nn.DEFMETHOD("_do_print",function(l,u){l.print(u),l.space(),this.definitions.forEach(function(C,f){f&&l.comma(),C.print(l)});var v=l.parent(),y=v instanceof ht||v instanceof wt,S=!y||v&&v.init!==this;S&&l.semicolon()}),e(Ri,function(l,u){l._do_print(u,"let")}),e(vt,function(l,u){l._do_print(u,"var")}),e(wi,function(l,u){l._do_print(u,"const")}),e(Pn,function(l,u){l._do_print(u,l.await?"await using":"using")}),e(cn,function(l,u){u.print("import"),u.space(),l.imported_name&&l.imported_name.print(u),l.imported_name&&l.imported_names&&(u.print(","),u.space()),l.imported_names&&(l.imported_names.length===1&&l.imported_names[0].foreign_name.name==="*"&&!l.imported_names[0].foreign_name.quote?l.imported_names[0].print(u):(u.print("{"),l.imported_names.forEach(function(v,y){u.space(),v.print(u),y<l.imported_names.length-1&&u.print(",")}),u.space(),u.print("}"))),(l.imported_name||l.imported_names)&&(u.space(),u.print("from"),u.space()),l.module_name.print(u),l.attributes&&(u.print("with"),l.attributes.print(u)),u.semicolon()}),e(Kr,function(l,u){u.print("import.meta")}),e(_r,function(l,u){var v=u.parent()instanceof cn,y=l.name.definition(),S=l.foreign_name,C=(y&&y.mangled_name||l.name.name)!==S.name;!C&&S.name==="*"&&!!S.quote!=!!l.name.quote&&(C=!0);var f=!S.quote;C?(v?f?u.print(S.name):u.print_string(S.name,S.quote):l.name.quote?u.print_string(l.name.name,l.name.quote):l.name.print(u),u.space(),u.print("as"),u.space(),v?l.name.print(u):f?u.print(S.name):u.print_string(S.name,S.quote)):l.name.quote?u.print_string(l.name.name,l.name.quote):l.name.print(u)}),e(dt,function(l,u){if(u.print("export"),u.space(),l.is_default&&(u.print("default"),u.space()),l.exported_names)l.exported_names.length===1&&l.exported_names[0].name.name==="*"&&!l.exported_names[0].name.quote?l.exported_names[0].print(u):(u.print("{"),l.exported_names.forEach(function(v,y){u.space(),v.print(u),y<l.exported_names.length-1&&u.print(",")}),u.space(),u.print("}"));else if(l.exported_value)l.exported_value.print(u);else if(l.exported_definition&&(l.exported_definition.print(u),l.exported_definition instanceof gn))return;l.module_name&&(u.space(),u.print("from"),u.space(),l.module_name.print(u)),l.attributes&&(u.print("with"),l.attributes.print(u)),(l.exported_value&&!(l.exported_value instanceof st||l.exported_value instanceof Ze||l.exported_value instanceof Oe)||l.module_name||l.exported_names)&&u.semicolon()});function a(l,u,v){var y=!1;v&&(y=yt(l,S=>{if(S instanceof he&&!(S instanceof ot))return!0;if(S instanceof B&&S.operator=="in"||S instanceof ar)return Un})),l.print(u,y)}e(ni,function(l,u){if(l.name.print(u),l.value){u.space(),u.print("="),u.space();var v=u.parent(1),y=v instanceof ht||v instanceof wt;a(l.value,u,y)}}),e(ee,function(l,u){l.expression.print(u),!(l instanceof Xt&&l.args.length===0)&&((l.expression instanceof ee||l.expression instanceof oe)&&u.add_mapping(l.start),l.optional&&u.print("?."),u.with_parens(function(){l.args.forEach(function(v,y){y&&u.comma(),v.print(u)})}))}),e(Xt,function(l,u){u.print("new"),u.space(),ee.prototype._codegen(l,u)}),pe.DEFMETHOD("_do_print",function(l){this.expressions.forEach(function(u,v){v>0&&(l.comma(),l.should_break()&&(l.newline(),l.indent())),u.print(l)})}),e(pe,function(l,u){l._do_print(u)}),e(He,function(l,u){var v=l.expression;v.print(u);var y=l.property,S=So.has(y)?u.option("ie8"):!nm(y,u.option("ecma")>=2015&&!u.option("safari10"));l.optional&&u.print("?."),S?(u.print("["),u.add_mapping(l.end),u.print_string(y),u.print("]")):(v instanceof le&&v.getValue()>=0&&(/[xa-f.)]/i.test(u.last())||u.print(".")),l.optional||u.print("."),u.add_mapping(l.end),u.print_name(y))}),e(Fn,function(l,u){var v=l.expression;v.print(u);var y=l.property;l.optional&&u.print("?"),u.print(".#"),u.add_mapping(l.end),u.print_name(y)}),e(mt,function(l,u){l.expression.print(u),l.optional&&u.print("?."),u.print("["),l.property.print(u),u.print("]")}),e(at,function(l,u){l.expression.print(u)}),e(de,function(l,u){var v=l.operator;v==="--"&&u.last().endsWith("!")&&u.print(" "),u.print(v),(/^[a-z]/i.test(v)||/[+-]$/.test(v)&&l.expression instanceof de&&/^[+-]/.test(l.expression.operator))&&u.space(),l.expression.print(u)}),e(Gr,function(l,u){l.expression.print(u),u.print(l.operator)}),e(B,function(l,u){var v=l.operator;l.left.print(u),v[0]==">"&&u.last().endsWith("--")?u.print(" "):u.space(),u.print(v),u.space(),l.right.print(u)}),e(me,function(l,u){l.condition.print(u),u.space(),u.print("?"),u.space(),l.consequent.print(u),u.space(),u.colon(),l.alternative.print(u)}),e(Re,function(l,u){u.with_square(function(){var v=l.elements,y=v.length;y>0&&u.space(),v.forEach(function(S,C){C&&u.comma(),S.print(u),C===y-1&&S instanceof jn&&u.comma()}),y>0&&u.space()})}),e(Le,function(l,u){l.properties.length>0?u.with_block(function(){l.properties.forEach(function(v,y){y&&(u.print(","),u.newline()),u.indent(),v.print(u)}),u.newline()}):r(l,u)}),e(Oe,function(l,u){if(u.print("class"),u.space(),l.name&&(l.name.print(u),u.space()),l.extends){var v=!(l.extends instanceof Y)&&!(l.extends instanceof se)&&!(l.extends instanceof Vr)&&!(l.extends instanceof Ze);u.print("extends"),v?u.print("("):u.space(),l.extends.print(u),v?u.print(")"):u.space()}l.properties.length>0?u.with_block(function(){l.properties.forEach(function(y,S){S&&u.newline(),u.indent(),y.print(u)}),u.newline()}):u.print("{}")}),e(to,function(l,u){u.print("new.target")});function s(l,u,v){if(v.option("quote_keys"))return v.print_string(l),!1;if(""+ +l==l&&l>=0)return v.option("keep_numbers")?(v.print(l),!1):(v.print(b(l)),!1);var y=So.has(l)?v.option("ie8"):v.option("ecma")<2015||v.option("safari10")?!$a(l):!nm(l,!0);return y||u&&v.option("keep_quoted_props")?(v.print_string(l,u),!1):(v.print_name(l),!0)}e($e,function(l,u){function v(S){var C=S.definition();return C?C.mangled_name||C.name:S.name}let y=u.option("shorthand")&&!(l.key instanceof X);y&&l.value instanceof Fe&&v(l.value)===l.key&&!So.has(l.key)?s(l.key,l.quote,u)||(u.colon(),l.value.print(u)):y&&l.value instanceof on&&l.value.left instanceof Fe&&v(l.value.left)===l.key?(s(l.key,l.quote,u)||(u.colon(),l.value.left.print(u)),u.space(),u.print("="),u.space(),l.value.right.print(u)):(l.key instanceof X?u.with_square(function(){l.key.print(u)}):s(l.key,l.quote,u),u.colon(),l.value.print(u))}),e(yn,(l,u)=>{l.static&&(u.print("static"),u.space()),u.print("#"),s(l.key.name,void 0,u),l.value&&(u.print("="),l.value.print(u)),u.semicolon()}),e(Rn,(l,u)=>{l.static&&(u.print("static"),u.space()),l.key instanceof Zr?s(l.key.name,l.quote,u):(u.print("["),l.key.print(u),u.print("]")),l.value&&(u.print("="),l.value.print(u)),u.semicolon()}),gt.DEFMETHOD("_print_getter_setter",function(l,u,v){var y=this;y.static&&(v.print("static"),v.space()),l&&(v.print(l),v.space()),y.key instanceof an?(u&&v.print("#"),s(y.key.name,y.quote,v),y.key.add_source_map(v)):v.with_square(function(){y.key.print(v)}),y.value._do_print(v,!0)}),e(vr,function(l,u){l._print_getter_setter("set",!1,u)}),e(or,function(l,u){l._print_getter_setter("get",!1,u)}),e(Yn,function(l,u){l._print_getter_setter("set",!0,u)}),e(Mn,function(l,u){l._print_getter_setter("get",!0,u)}),e(Gt,function(l,u){var v;l.value.is_generator&&l.value.async?v="async*":l.value.is_generator?v="*":l.value.async&&(v="async"),l._print_getter_setter(v,!1,u)}),e(Sn,function(l,u){var v;l.value.is_generator&&l.value.async?v="async*":l.value.is_generator?v="*":l.value.async&&(v="async"),l._print_getter_setter(v,!0,u)}),e(ar,function(l,u){l.key.print(u),u.space(),u.print("in"),u.space(),l.value.print(u)}),e(Vo,function(l,u){u.print("#"+l.name)}),e(Lt,function(l,u){u.print("static"),u.space(),i(l,u)}),Fe.DEFMETHOD("_do_print",function(l){var u=this.definition();l.print_name(u?u.mangled_name||u.name:this.name)}),e(Fe,function(l,u){l._do_print(u)}),e(jn,er),e(Ot,function(l,u){u.print("this")}),e(ro,function(l,u){u.print("super")}),e(ze,function(l,u){u.print(l.getValue())}),e(Ne,function(l,u){u.print_string(l.getValue(),l.quote,u.in_directive)}),e(le,function(l,u){(u.option("keep_numbers")||u.use_asm)&&l.raw?u.print(l.raw):u.print(b(l.getValue()))}),e(Ln,function(l,u){u.option("keep_numbers")&&l.raw?u.print(l.raw):u.print(l.getValue()+"n")});let c=/(<\s*\/\s*script)/i,d=/^\s*script/i,p=(l,u)=>u.replace("/","\\/");e($t,function(l,u){let{source:v,flags:y}=l.getValue();v=ia(v),y=y?ZE(y):"",v=v.replace(c,p),d.test(v)&&u.last().endsWith("<")&&u.print(" "),u.print(u.to_utf8(`/${v}/${y}`,!1,!0));let S=u.parent();S instanceof B&&/^\w/.test(S.operator)&&S.left===l&&u.print(" ")});function m(l,u){u.option("braces")?h(l,u):!l||l instanceof Ye?u.force_semicolon():l instanceof Nn&&!(l instanceof vt)||l instanceof Oe?h(l,u):l.print(u)}function g(l){for(var u=l[0],v=u.length,y=1;y<l.length;++y)l[y].length<v&&(u=l[y],v=u.length);return u}function b(l){var u=l.toString(10).replace(/^0\./,".").replace("e+","e"),v=[u];Math.floor(l)===l&&(l<0?v.push("-0x"+(-l).toString(16).toLowerCase()):v.push("0x"+l.toString(16).toLowerCase()));var y,S,C;return(y=/^\.0+/.exec(u))?(S=y[0].length,C=u.slice(S),v.push(C+"e-"+(C.length+S-1))):(y=/0+$/.exec(u))?(S=y[0].length,v.push(u.slice(0,-S)+"e"+S)):(y=/^(\d)\.(\d+)e(-?\d+)$/.exec(u))&&v.push(y[1]+y[2]+"e"+(y[3]-y[2].length)),g(v)}function h(l,u){!l||l instanceof Ye?u.print("{}"):l instanceof we?l.print(u):u.with_block(function(){u.indent(),l.print(u),u.newline()})}function w(l,u){l.forEach(function(v){v.DEFMETHOD("add_source_map",u)})}w([X,Ct,tt],er),w([Re,we,br,Oe,ze,zr,Nn,bn,eo,la,oe,Xt,Le,ca,Fe,Mt,ti,Ft,Dr,un],function(l){l.add_mapping(this.start)}),w([or,vr,Mn,Yn,Gt,Sn],function(l){l.add_mapping(this.start,!1)}),w([an,Vo],function(l){let u=this.end&&this.end.type;u==="name"||u==="privatename"?l.add_mapping(this.end,this.name):l.add_mapping(this.end)}),w([gt],function(l){l.add_mapping(this.start,this.key)})})();var _T=(e,t)=>e===null&&t===null||e.TYPE===t.TYPE&&e.shallow_cmp(t),gT=(e,t)=>{if(!_T(e,t))return!1;let n=[e],r=[t],i=n.push.bind(n),o=r.push.bind(r);for(;n.length&&r.length;){let a=n.pop(),s=r.pop();if(!_T(a,s)||(a._children_backwards(i),s._children_backwards(o),n.length!==r.length))return!1}return n.length==0&&r.length==0},_t=()=>!0;X.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};zr.prototype.shallow_cmp=_t;bn.prototype.shallow_cmp=function(e){return this.value===e.value};ie.prototype.shallow_cmp=_t;St.prototype.shallow_cmp=_t;Ye.prototype.shallow_cmp=_t;Ct.prototype.shallow_cmp=function(e){return this.label.name===e.label.name};gr.prototype.shallow_cmp=_t;Or.prototype.shallow_cmp=_t;ht.prototype.shallow_cmp=function(e){return(this.init==null?e.init==null:this.init===e.init)&&(this.condition==null?e.condition==null:this.condition===e.condition)&&(this.step==null?e.step==null:this.step===e.step)};wt.prototype.shallow_cmp=_t;Ai.prototype.shallow_cmp=_t;sn.prototype.shallow_cmp=_t;tt.prototype.shallow_cmp=_t;Te.prototype.shallow_cmp=_t;oe.prototype.shallow_cmp=function(e){return this.is_generator===e.is_generator&&this.async===e.async};Xe.prototype.shallow_cmp=function(e){return this.is_array===e.is_array};nr.prototype.shallow_cmp=_t;Ft.prototype.shallow_cmp=_t;Dr.prototype.shallow_cmp=function(e){return this.value===e.value};la.prototype.shallow_cmp=_t;Ir.prototype.shallow_cmp=_t;An.prototype.shallow_cmp=_t;vn.prototype.shallow_cmp=function(e){return this.is_star===e.is_star};Qe.prototype.shallow_cmp=function(e){return this.alternative==null?e.alternative==null:this.alternative===e.alternative};Mt.prototype.shallow_cmp=_t;ti.prototype.shallow_cmp=_t;un.prototype.shallow_cmp=function(e){return this.body===e.body&&(this.bcatch==null?e.bcatch==null:this.bcatch===e.bcatch)&&(this.bfinally==null?e.bfinally==null:this.bfinally===e.bfinally)};br.prototype.shallow_cmp=function(e){return this.argname==null?e.argname==null:this.argname===e.argname};eo.prototype.shallow_cmp=_t;Nn.prototype.shallow_cmp=_t;ni.prototype.shallow_cmp=function(e){return this.value==null?e.value==null:this.value===e.value};_r.prototype.shallow_cmp=_t;cn.prototype.shallow_cmp=function(e){return(this.imported_name==null?e.imported_name==null:this.imported_name===e.imported_name)&&(this.imported_names==null?e.imported_names==null:this.imported_names===e.imported_names)&&(this.attributes==null?e.attributes==null:this.attributes===e.attributes)};Kr.prototype.shallow_cmp=_t;dt.prototype.shallow_cmp=function(e){return(this.exported_definition==null?e.exported_definition==null:this.exported_definition===e.exported_definition)&&(this.exported_value==null?e.exported_value==null:this.exported_value===e.exported_value)&&(this.exported_names==null?e.exported_names==null:this.exported_names===e.exported_names)&&(this.attributes==null?e.attributes==null:this.attributes===e.attributes)&&this.module_name===e.module_name&&this.is_default===e.is_default};ee.prototype.shallow_cmp=_t;pe.prototype.shallow_cmp=_t;se.prototype.shallow_cmp=_t;at.prototype.shallow_cmp=_t;He.prototype.shallow_cmp=function(e){return this.property===e.property&&!!this.quote==!!e.quote};Fn.prototype.shallow_cmp=function(e){return this.property===e.property};Je.prototype.shallow_cmp=function(e){return this.operator===e.operator};B.prototype.shallow_cmp=function(e){return this.operator===e.operator};ar.prototype.shallow_cmp=_t;me.prototype.shallow_cmp=_t;Re.prototype.shallow_cmp=_t;Le.prototype.shallow_cmp=_t;gt.prototype.shallow_cmp=_t;$e.prototype.shallow_cmp=function(e){return this.key===e.key&&this.quote===e.quote};vr.prototype.shallow_cmp=function(e){return this.static===e.static};or.prototype.shallow_cmp=function(e){return this.static===e.static};Gt.prototype.shallow_cmp=function(e){return this.static===e.static};Sn.prototype.shallow_cmp=function(e){return this.static===e.static};Oe.prototype.shallow_cmp=function(e){return(this.name==null?e.name==null:this.name===e.name)&&(this.extends==null?e.extends==null:this.extends===e.extends)};Rn.prototype.shallow_cmp=function(e){return this.static===e.static&&(typeof this.key=="string"?this.key===e.key:!0)};yn.prototype.shallow_cmp=function(e){return this.static===e.static};Fe.prototype.shallow_cmp=function(e){return this.name===e.name};to.prototype.shallow_cmp=_t;Ot.prototype.shallow_cmp=_t;ro.prototype.shallow_cmp=_t;Ne.prototype.shallow_cmp=function(e){return this.value===e.value};le.prototype.shallow_cmp=function(e){return this.value===e.value};Ln.prototype.shallow_cmp=function(e){return this.value===e.value};$t.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source};yo.prototype.shallow_cmp=_t;var uf=1,QB=2,tu=null,nu=null,ru=null,es=class e{constructor(t,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=t,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=e.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof X?this.fixed:this.fixed()}unmangleable(t){return t||(t={}),tu&&tu.has(this.id)&&ra(t.keep_fnames,this.orig[0].name)?!0:this.global&&!t.toplevel||this.export&uf||this.undeclared||!t.eval&&this.scope.pinned()||(this.orig[0]instanceof Sr||this.orig[0]instanceof kr)&&ra(t.keep_fnames,this.orig[0].name)||this.orig[0]instanceof an||(this.orig[0]instanceof Qa||this.orig[0]instanceof Ya)&&ra(t.keep_classnames,this.orig[0].name)}mangle(t){let n=t.cache&&t.cache.props;if(this.global&&n&&n.has(this.name))this.mangled_name=n.get(this.name);else if(!this.mangled_name&&!this.unmangleable(t)){var r=this.scope,i=this.orig[0];t.ie8&&i instanceof Sr&&(r=r.parent_scope);let o=om(this);this.mangled_name=o?o.mangled_name||o.name:r.next_mangled(t,this),this.global&&n&&n.set(this.name,this.mangled_name)}}};es.next_id=1;function om(e){if(e.orig[0]instanceof xr&&e.scope.is_block_scope())return e.scope.get_defun_scope().variables.get(e.name)}he.DEFMETHOD("figure_out_scope",function(e,{parent_scope:t=void 0,toplevel:n=this}={}){if(e=wr(e,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof tt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=t,i=new Map,o=null,a=null,s=[],p=new Pt((m,g)=>{if(m.is_block_scope()){let S=r;if(m.block_scope=r=new he(m),r._block_scope=!0,r.init_scope_vars(S),r.uses_with=S.uses_with,r.uses_eval=S.uses_eval,e.safari10&&(m instanceof ht||m instanceof wt||m instanceof Ai)&&s.push(r),m instanceof Mt){let C=r;r=S,m.expression.walk(p),r=C;for(let f=0;f<m.body.length;f++)m.body[f].walk(p)}else g();return r=S,!0}if(m instanceof Xe){let S=a;return a=m,g(),a=S,!0}if(m instanceof he){m.init_scope_vars(r);var b=r,h=o,w=i;return o=r=m,i=new Map,g(),r=b,o=h,i=w,!0}if(m instanceof Ct){var l=m.label;if(i.has(l.name))throw new Error(Ha("Label {name} defined twice",l));return i.set(l.name,l),g(),i.delete(l.name),!0}if(m instanceof sn){for(var u=r;u;u=u.parent_scope)u.uses_with=!0;return}if(m instanceof Fe&&(m.scope=r),m instanceof sa&&(m.thedef=m,m.references=[]),m instanceof Sr)o.def_function(m,m.name=="arguments"?void 0:o);else if(m instanceof kr){let S=o.parent_scope;m.scope=p.directives["use strict"]?S:S.get_defun_scope(),c(m.scope.def_function(m,o),1)}else if(m instanceof Qa)c(o.def_variable(m,o),1);else if(m instanceof Qi)r.def_variable(m);else if(m instanceof Ya)c((m.scope=o.parent_scope).def_function(m,o),1);else if(m instanceof Jr||m instanceof no||m instanceof Di||m instanceof Ti||m instanceof xr){var v;if(m instanceof Mi?v=r.def_variable(m,null):v=o.def_variable(m,m.TYPE=="SymbolVar"?null:void 0),v.orig.every(S=>S===m?!0:m instanceof Mi?S instanceof Sr:!(S instanceof no||S instanceof Di||S instanceof Ti))||nc(`"${m.name}" is redeclared`,m.start.file,m.start.line,m.start.col,m.start.pos),m instanceof xt||c(v,2),o!==r){m.mark_enclosed();var v=r.find_variable(m);m.thedef!==v&&(m.thedef=v,m.reference())}}else if(m instanceof $s){var y=i.get(m.name);if(!y)throw new Error(Ha("Undefined label {name} [{line},{col}]",{name:m.name,line:m.start.line,col:m.start.col}));m.thedef=y}!(r instanceof tt)&&(m instanceof dt||m instanceof cn)&&nc(`"${m.TYPE}" statement may only appear at the top level`,m.start.file,m.start.line,m.start.col,m.start.pos)});e.module&&(p.directives["use strict"]=!0),this.walk(p);function c(m,g){if(a){var b=0;do g++;while(p.parent(b++)!==a)}var h=p.parent(g);if(m.export=h instanceof dt?uf:0){var w=h.exported_definition;(w instanceof st||w instanceof $n)&&h.is_default&&(m.export=QB)}}this instanceof tt&&(this.globals=new Map);var p=new Pt(m=>{if(m instanceof Ir&&m.label)return m.label.thedef.references.push(m),!0;if(m instanceof Y){var g=m.name;if(g=="eval"&&p.parent()instanceof ee)for(var b=m.scope;b&&!b.uses_eval;b=b.parent_scope)b.uses_eval=!0;var h;return p.parent()instanceof _r&&p.parent(1).module_name||!(h=m.scope.find_variable(g))?(h=n.def_global(m),m instanceof Zi&&(h.export=uf)):h.scope instanceof oe&&g=="arguments"&&(h.scope.get_defun_scope().uses_arguments=!0),m.thedef=h,m.reference(),m.scope.is_block_scope()&&!(h.orig[0]instanceof Mi)&&(m.scope=m.scope.get_defun_scope()),!0}var w;if(m instanceof xr&&(w=om(m.definition())))for(var b=m.scope;b&&(Lo(b.enclosed,w),b!==w.scope);)b=b.parent_scope});if(this.walk(p),(e.ie8||e.safari10)&&yt(this,m=>{if(m instanceof xr){var g=m.name,b=m.thedef.references,h=m.scope.get_defun_scope(),w=h.find_variable(g)||n.globals.get(g)||h.def_variable(m);return b.forEach(function(l){l.thedef=w,l.reference()}),m.thedef=w,m.reference(),!0}}),e.safari10)for(let m of s)m.parent_scope.variables.forEach(function(g){Lo(m.enclosed,g)})});tt.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new es(this,e);return r.undeclared=!0,r.global=!0,t.set(n,r),r});he.DEFMETHOD("init_scope_vars",function(e){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1});he.DEFMETHOD("conflicting_def",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)||this.parent_scope&&this.parent_scope.conflicting_def(e)});he.DEFMETHOD("conflicting_def_shallow",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)});he.DEFMETHOD("add_child_scope",function(e){if(e.parent_scope===this)return;e.parent_scope=this,e instanceof ot&&this instanceof oe&&!this.uses_arguments&&(this.uses_arguments=yt(e,i=>{if(i instanceof Y&&i.scope instanceof oe&&i.name==="arguments")return Un;if(i instanceof oe&&!(i instanceof ot))return!0})),this.uses_with=this.uses_with||e.uses_with,this.uses_eval=this.uses_eval||e.uses_eval;let t=(()=>{let i=[],o=this;do i.push(o);while(o=o.parent_scope);return i.reverse(),i})(),n=new Set(e.enclosed),r=[];for(let i of t){r.forEach(o=>Lo(i.enclosed,o));for(let o of i.variables.values())n.has(o)&&(Lo(r,o),Lo(i.enclosed,o))}});function JB(e){let t=new Set;for(let n of new Set(e))(function r(i){i==null||t.has(i)||(t.add(i),r(i.parent_scope))})(n);return[...t]}he.DEFMETHOD("create_symbol",function(e,{source:t,tentative_name:n,scope:r,conflict_scopes:i=[r],init:o=null}={}){let a;if(i=JB(i),n){n=a=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let c=0;for(;i.find(d=>d.conflicting_def_shallow(a));)a=n+"$"+c++}if(!a)throw new Error("No symbol name could be generated in create_symbol()");let s=D(e,t,{name:a,scope:r});return this.def_variable(s,o||null),s.mark_enclosed(),s});X.DEFMETHOD("is_block_scope",Ge);Oe.DEFMETHOD("is_block_scope",Ge);oe.DEFMETHOD("is_block_scope",Ge);tt.DEFMETHOD("is_block_scope",Ge);ti.DEFMETHOD("is_block_scope",Ge);St.DEFMETHOD("is_block_scope",_n);he.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1});Cr.DEFMETHOD("is_block_scope",_n);oe.DEFMETHOD("init_scope_vars",function(){he.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new xt({name:"arguments",start:this.start,end:this.end}))});ot.DEFMETHOD("init_scope_vars",function(){he.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1});Fe.DEFMETHOD("mark_enclosed",function(){for(var e=this.definition(),t=this.scope;t&&(Lo(t.enclosed,e),t!==e.scope);)t=t.parent_scope});Fe.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()});he.DEFMETHOD("find_variable",function(e){return e instanceof Fe&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)});he.DEFMETHOD("def_function",function(e,t){var n=this.def_variable(e,t);return(!n.init||n.init instanceof st)&&(n.init=t),n});he.DEFMETHOD("def_variable",function(e,t){var n=this.variables.get(e.name);return n?(n.orig.push(e),n.init&&(n.scope!==e.scope||n.init instanceof Ze)&&(n.init=t)):(n=new es(this,e,t),this.variables.set(e.name,n),n.global=!this.parent_scope),e.thedef=n});function am(e,t){let n;ru&&(n=e.get_defun_scope())&&ru.has(n)&&(e=n);var r=e.enclosed,i=t.nth_identifier;e:for(;;){var o=i.get(++e.cname);if(!So.has(o)&&!t.reserved.has(o)){if(nu&&nu.has(o))continue e;for(let a=r.length;--a>=0;){let s=r[a],c=s.mangled_name||s.unmangleable(t)&&s.name;if(o==c)continue e}return o}}}he.DEFMETHOD("next_mangled",function(e){return am(this,e)});tt.DEFMETHOD("next_mangled",function(e){let t,n=this.mangled_names;do t=am(this,e);while(n.has(t));return t});Ze.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof xt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=am(this,e);if(!r||r!=i)return i}});Fe.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)});sa.DEFMETHOD("unmangleable",Ge);Fe.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()});Fe.DEFMETHOD("definition",function(){return this.thedef});Fe.DEFMETHOD("global",function(){return this.thedef.global});function rc(e){return e=wr(e,{eval:!1,nth_identifier:da,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),e.module&&(e.toplevel=!0),!Array.isArray(e.reserved)&&!(e.reserved instanceof Set)&&(e.reserved=[]),e.reserved=new Set(e.reserved),e.reserved.add("arguments"),e}tt.DEFMETHOD("mangle_names",function(e){e=rc(e);var t=e.nth_identifier,n=-1,r=[];e.keep_fnames&&(tu=new Set);let i=this.mangled_names=new Set;nu=new Set,e.cache&&(this.globals.forEach(a),e.cache.props&&e.cache.props.forEach(function(s){i.add(s)}));var o=new Pt(function(s,c){if(s instanceof Ct){var d=n;return c(),n=d,!0}if(s instanceof st&&!(o.parent()instanceof he)&&(ru=ru||new Set,ru.add(s.parent_scope.get_defun_scope())),s instanceof he){s.variables.forEach(a);return}if(s.is_block_scope()){s.block_scope.variables.forEach(a);return}if(tu&&s instanceof At&&s.name instanceof Fe&&s.value instanceof oe&&!s.value.name&&ra(e.keep_fnames,s.name.name)){tu.add(s.name.definition().id);return}if(s instanceof sa){let p;do p=t.get(++n);while(So.has(p));return s.mangled_name=p,!0}if(!(e.ie8||e.safari10)&&s instanceof xr){r.push(s.definition());return}});this.walk(o),(e.keep_fnames||e.keep_classnames)&&r.forEach(s=>{s.name.length<6&&s.unmangleable(e)&&nu.add(s.name)}),r.forEach(s=>{s.mangle(e)}),tu=null,nu=null,ru=null;function a(s){s.export&uf?nu.add(s.name):e.reserved.has(s.name)||r.push(s)}});tt.DEFMETHOD("find_colliding_names",function(e){let t=e.cache&&e.cache.props,n=new Set;return e.reserved.forEach(r),this.globals.forEach(i),this.walk(new Pt(function(o){o instanceof he&&o.variables.forEach(i),o instanceof xr&&i(o.definition())})),n;function r(o){n.add(o)}function i(o){var a=o.name;if(o.global&&t&&t.has(a))a=t.get(a);else if(!o.unmangleable(e))return;r(a)}});tt.DEFMETHOD("expand_names",function(e){e=rc(e);var t=e.nth_identifier;t.reset&&t.sort&&(t.reset(),t.sort());var n=this.find_colliding_names(e),r=0;this.globals.forEach(o),this.walk(new Pt(function(a){a instanceof he&&a.variables.forEach(o),a instanceof xr&&o(a.definition())}));function i(){var a;do a=t.get(r++);while(n.has(a)||So.has(a));return a}function o(a){if(a.global&&e.cache||a.unmangleable(e)||e.reserved.has(a.name))return;let s=om(a),c=a.name=s?s.name:i();a.orig.forEach(function(d){d.name=c}),a.references.forEach(function(d){d.name=c})}});X.DEFMETHOD("tail_node",Yi);pe.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]});tt.DEFMETHOD("compute_char_frequency",function(e){e=rc(e);var t=e.nth_identifier;if(!t.reset||!t.consider||!t.sort)return;t.reset();try{X.prototype.print=function(r,i){this._print(r,i),this instanceof Fe&&!this.unmangleable(e)?t.consider(this.name,-1):e.properties&&(this instanceof Fn?t.consider("#"+this.property,-1):this instanceof He?t.consider(this.property,-1):this instanceof mt&&n(this.property))},t.consider(this.print_to_string(),1)}finally{X.prototype.print=X.prototype._print}t.sort();function n(r){r instanceof Ne?t.consider(r.value,-1):r instanceof me?(n(r.consequent),n(r.alternative)):r instanceof pe&&n(r.tail_node())}});var da=(()=>{let e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),t="0123456789".split(""),n,r;function i(){r=new Map,e.forEach(function(d){r.set(d,0)}),t.forEach(function(d){r.set(d,0)})}function o(d,p){for(var m=d.length;--m>=0;)r.set(d[m],r.get(d[m])+p)}function a(d,p){return r.get(p)-r.get(d)}function s(){n=Yp(e,a).concat(Yp(t,a))}i(),s();function c(d){var p="",m=54;d++;do d--,p+=n[d%m],d=Math.floor(d/m),m=64;while(d>0);return p}return{get:c,consider:o,reset:i,sort:s}})();var cf;X.prototype.size=function(e,t){cf=e&&e._mangle_options;let n=0;return Zs(this,(r,i)=>{if(n+=r._size(i),r instanceof ot&&r.is_braceless())return n+=r.body[0].value._size(i),!0},t||e&&e.stack),cf=void 0,n};X.prototype._size=()=>0;zr.prototype._size=()=>8;bn.prototype._size=function(){return 2+this.value.length};var Bt=e=>e.length&&e.length-1;St.prototype._size=function(){return 2+Bt(this.body)};tt.prototype._size=function(){return Bt(this.body)};Ye.prototype._size=()=>1;Ct.prototype._size=()=>2;gr.prototype._size=()=>9;Or.prototype._size=()=>7;ht.prototype._size=()=>8;wt.prototype._size=()=>8;sn.prototype._size=()=>6;Te.prototype._size=()=>3;var lf=e=>(e.is_generator?1:0)+(e.async?6:0);qr.prototype._size=function(){return lf(this)+4+Bt(this.argnames)+Bt(this.body)};Ze.prototype._size=function(e){return!!Wr(e)*2+lf(this)+12+Bt(this.argnames)+Bt(this.body)};st.prototype._size=function(){return lf(this)+13+Bt(this.argnames)+Bt(this.body)};ot.prototype._size=function(){let e=2+Bt(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof Fe||(e+=2);let t=this.is_braceless()?0:Bt(this.body)+2;return lf(this)+e+t};Xe.prototype._size=()=>2;Ft.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Dr.prototype._size=function(){return this.value.length};pt.prototype._size=function(){return this.value?7:6};zo.prototype._size=()=>6;rr.prototype._size=function(){return this.label?6:5};Ei.prototype._size=function(){return this.label?9:8};Qe.prototype._size=()=>4;Mt.prototype._size=function(){return 8+Bt(this.body)};ir.prototype._size=function(){return 5+Bt(this.body)};ci.prototype._size=function(){return 8+Bt(this.body)};un.prototype._size=()=>3;br.prototype._size=function(){let e=7+Bt(this.body);return this.argname&&(e+=2),e};eo.prototype._size=function(){return 7+Bt(this.body)};vt.prototype._size=function(){return 4+Bt(this.definitions)};Ri.prototype._size=function(){return 4+Bt(this.definitions)};wi.prototype._size=function(){return 6+Bt(this.definitions)};Pn.prototype._size=function(){return(this.await?6:0)+6+Bt(this.definitions)};ni.prototype._size=function(){return this.value?1:0};_r.prototype._size=function(){return this.name?4:0};cn.prototype._size=function(){let e=6;return this.imported_name&&(e+=1),(this.imported_name||this.imported_names)&&(e+=5),this.imported_names&&(e+=2+Bt(this.imported_names)),e};Kr.prototype._size=()=>11;dt.prototype._size=function(){let e=7+(this.is_default?8:0);return this.exported_value&&(e+=this.exported_value._size()),this.exported_names&&(e+=2+Bt(this.exported_names)),this.module_name&&(e+=5),e};ee.prototype._size=function(){return this.optional?4+Bt(this.args):2+Bt(this.args)};Xt.prototype._size=function(){return 6+Bt(this.args)};pe.prototype._size=function(){return Bt(this.expressions)};He.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1};Fn.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2};mt.prototype._size=function(){return this.optional?4:2};Je.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length};B.prototype._size=function(e){if(this.operator==="in")return 4;let t=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof Je&&this.right.operator===this.operator&&(t+=1),this.needs_parens(e)&&(t+=2),t};me.prototype._size=()=>3;Re.prototype._size=function(){return 2+Bt(this.elements)};Le.prototype._size=function(e){let t=2;return Wr(e)&&(t+=2),t+Bt(this.properties)};var ff=e=>typeof e=="string"?e.length:0;$e.prototype._size=function(){return ff(this.key)+1};var df=e=>e?7:0;or.prototype._size=function(){return 5+df(this.static)+ff(this.key)};vr.prototype._size=function(){return 5+df(this.static)+ff(this.key)};Gt.prototype._size=function(){return df(this.static)+ff(this.key)};Sn.prototype._size=function(){return Gt.prototype._size.call(this)+1};Mn.prototype._size=function(){return Gt.prototype._size.call(this)+4};Yn.prototype._size=function(){return Gt.prototype._size.call(this)+4};ar.prototype._size=function(){return 5};Oe.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Lt.prototype._size=function(){return 8+Bt(this.body)};Rn.prototype._size=function(){return df(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)};yn.prototype._size=function(){return Rn.prototype._size.call(this)+1};Fe.prototype._size=function(){return cf&&this.thedef&&!this.thedef.unmangleable(cf)?1:this.name.length};Zr.prototype._size=function(){return this.name.length};Y.prototype._size=It.prototype._size=function(){return this.name==="arguments"?9:Fe.prototype._size.call(this)};to.prototype._size=()=>10;Uo.prototype._size=function(){return this.name.length};Ji.prototype._size=function(){return this.name.length};Ot.prototype._size=()=>4;ro.prototype._size=()=>5;Ne.prototype._size=function(){return this.value.length+2};le.prototype._size=function(){let{value:e}=this;return e===0?1:e>0&&Math.floor(e)===e?Math.floor(Math.log10(e)+1):e.toString().length};Ln.prototype._size=function(){return this.value.length};$t.prototype._size=function(){return this.value.toString().length};Bn.prototype._size=()=>4;fa.prototype._size=()=>3;Eo.prototype._size=()=>6;jn.prototype._size=()=>0;Ci.prototype._size=()=>8;Qn.prototype._size=()=>4;ei.prototype._size=()=>5;An.prototype._size=()=>6;vn.prototype._size=()=>6;var ln=(e,t)=>e.flags&t,sr=(e,t)=>{e.flags|=t},Ao=(e,t)=>{e.flags&=~t};function ic(e,t){return t instanceof pe?e.push(...t.expressions):e.push(t),e}function Pe(e,t){if(t.length==1)return t[0];if(t.length==0)throw new Error("trying to create a sequence with length zero!");return D(pe,e,{expressions:t.reduce(ic,[])})}function pf(e){return D(Ze,e,{uses_arguments:!1,argnames:[],body:[],is_generator:!1,async:!1,variables:new Map,uses_with:!1,uses_eval:!1,parent_scope:null,enclosed:[],cname:0,block_scope:void 0})}function ur(e,t){switch(typeof e){case"string":return D(Ne,t,{value:e});case"number":return isNaN(e)?D(fa,t):isFinite(e)?1/e<0?D(de,t,{operator:"-",expression:D(le,t,{value:-e})}):D(le,t,{value:e}):e<0?D(de,t,{operator:"-",expression:D(Ci,t)}):D(Ci,t);case"bigint":return D(Ln,t,{value:e.toString()});case"boolean":return D(e?Qn:ei,t);case"undefined":return kt(t);default:if(e===null)return D(Bn,t,{value:null});if(e instanceof RegExp)return D($t,t,{value:{source:ia(e.source),flags:e.flags}});throw new Error(Ha("Can't handle constant of type: {type}",{type:typeof e}))}}function oo(e,t){return e.size()>t.size()?t:e}function ZB(e,t){return oo(D(ie,e,{body:e}),D(ie,t,{body:t})).body}function Hr(e,t,n){return Wr(e)?ZB(t,n):oo(t,n)}function um(e){if(e instanceof ze)return e.getValue();if(!(e instanceof de&&e.operator=="void"&&e.expression instanceof ze))return e}function mf(e,t){if(t=um(t),!(t instanceof X)){var n;if(e instanceof Re){var r=e.elements;if(t=="length")return ur(r.length,e);typeof t=="number"&&t in r&&(n=r[t])}else if(e instanceof Le){t=""+t;for(var i=e.properties,o=i.length;--o>=0;){var a=i[o];if(!(a instanceof $e))return;!n&&i[o].key===t&&(n=i[o].value)}}return n instanceof Y&&n.fixed_value()||n}}function oc(e,t){var n=!1,r=new Pt(function(i){if(n||i instanceof he)return!0;if(i instanceof Ir&&r.loopcontrol_target(i)===e)return n=!0});return t instanceof Ct&&r.push(t),r.push(e),e.body.walk(r),n}function Ro(e,t,n){if(cm(e,t,n)){let r=D(le,t,{value:0});return Pe(t,[r,n])}else return n}function cm(e,t,n){return e instanceof de&&e.operator=="delete"||e instanceof ee&&e.expression===t&&(n instanceof at||n instanceof se||n instanceof Y&&n.name=="eval")}function pa(e){return e instanceof ot||e instanceof Ze}function ac(e){return e.TYPE!="Call"?!1:e.expression instanceof Ze||ac(e.expression)}function ao(e){return e===null||e instanceof Ye?!0:e instanceof we?e.body.length==0:!1}var lm=We("Infinity NaN undefined");function hf(e){return e instanceof Ci||e instanceof fa||e instanceof Eo}function iu(e,t){if(!(e instanceof Y))return!1;for(var n=e.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof t)return!0}function ts(e){return!(e instanceof $n||e instanceof st||e instanceof Ri||e instanceof wi||e instanceof Pn||e instanceof dt||e instanceof cn)}function ou(e){if(e===null)return[];if(e instanceof we)return e.body;if(e instanceof Ye)return[];if(e instanceof Nt)return[e];throw new Error("Can't convert thing to statement array")}function _f(e,t){let n=r=>{if(r instanceof Y&&t.includes(r.definition()))return Un};return Zs(e,(r,i)=>{if(r instanceof he&&r!==e){var o=i.parent();return o instanceof ee&&o.expression===r&&!(r.async||r.is_generator)?void 0:yt(r,n)?Un:!0}})}function au(e,t){for(var n,r=0;n=e.parent(r);r++)if(n instanceof oe||n instanceof Oe){var i=n.name;if(i&&i.definition()===t)return!0}return!1}function fm(e,t){return t.top_retain&&e instanceof st&&ln(e,1024)&&e.name&&t.top_retain(e.name.definition())}var dm=e=>t=>{let n=e(ST(t)),r=new Map;for(var i of Object.keys(n))n[i]&&r.set(i,We(vT(n[i])));return(a,s)=>{let c=r.get(a);return c!=null&&c.has(s)}},bT=e=>t=>{let n=e(ST(t)),r=We(vT(n));return o=>r.has(o)};function vT(e){for(let t=0;t<e.length;t++)e[t]===!1&&(e.splice(t,1),t--);return e}function ST(e){return{sloppy:e.option("unsafe"),es:e.option("builtins_ecma")}}var yT=bT(({sloppy:e,es:t})=>["Array","Boolean","clearInterval","clearTimeout","console","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","escape","eval","EvalError","Function",t>=2020&&"globalThis","isFinite","isNaN","JSON","Math","Number","parseFloat","parseInt","RangeError","ReferenceError","RegExp","Object","setInterval","setTimeout","String","SyntaxError","TypeError","unescape","URIError"]),rs=new Set(["Number","String","Array","Object","Function","Promise"]),ET=bT(({sloppy:e,es:t})=>[e&&t>=2021&&"AggregateError","Array","ArrayBuffer",t>=2020&&"BigInt",t>=2020&&"BigInt64Array",t>=2020&&"BigUint64Array","Boolean","Date",e&&"decodeURI",e&&"decodeURIComponent",e&&"encodeURI",e&&"encodeURIComponent","Error","escape","EvalError",t>=2021&&"FinalizationRegistry",t>=2026&&"Float16Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","isFinite","isNaN",t>=2026&&"Iterator",t>=2015&&"Map","Number","parseFloat","parseInt",t>=2015&&"Promise",t>=2015&&"Proxy","RangeError","ReferenceError",e&&"RegExp",t>=2015&&"Set","String",t>=2015&&"Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray",e&&"unescape","URIError",e&&t>=2015&&"WeakMap",e&&t>=2021&&"WeakRef",e&&t>=2015&&"WeakSet"]),e6=new Set(["Map","Set","WeakMap","WeakSet"]),t6=new Set(["ArrayBuffer","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"]),n6=new Set(["Array"]),ns=["constructor","toString","valueOf"],TT=dm(({sloppy:e,es:t})=>({Array:[t>=2022&&"at",t>=2019&&"flat",t>=2016&&"includes","indexOf","join","lastIndexOf","slice",...ns],Boolean:ns,Function:ns,Number:["toExponential","toFixed","toPrecision",...ns],Object:ns,RegExp:["test",...ns],String:[t>=2022&&"at","charAt","charCodeAt",t>=2015&&"codePointAt","concat",t>=2025&&"endsWith",t>=2015&&"includes","indexOf","italics","lastIndexOf",t>=2020&&"localeCompare","match",t>=2020&&"matchAll",t>=2015&&"normalize",t>=2017&&"padStart",t>=2017&&"padEnd",t>=2015&&e&&"repeat","replace",t>=2021&&"replaceAll","search","slice","split",t>=2015&&"startsWith","substr","substring",t>=2015&&"repeat","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim",t>=2019&&"trimEnd",t>=2019&&"trimStart",t>=2019&&"trimLeft",t>=2019&&"trimRight",...ns]})),AT=dm(({sloppy:e,es:t})=>({Array:["isArray",t>=2015&&"of"],ArrayBuffer:["isView"],BigInt:t>=2020&&[e&&"asIntN",e&&"asUintN"],BigInt64Array:e&&t>=2020&&["of"],BigUint64Array:e&&t>=2020&&["of"],Date:["now","parse","UTC"],Error:[t>=2026&&"isError"],Float16Array:e&&t>=2026&&["of"],Float32Array:e&&["of"],Float64Array:e&&["of"],Int16Array:e&&["of"],Int32Array:e&&["of"],Int8Array:e&&["of"],Math:["abs","acos",t>=2015&&"acosh","asin",t>=2015&&"asinh","atan","atan2",t>=2015&&"atanh",t>=2015&&"cbrt","ceil",t>=2015&&"clz32","cos",t>=2015&&"cosh","exp",t>=2015&&"expm1","floor",t>=2026&&"f16round",t>=2015&&"fround",t>=2015&&"hypot",t>=2015&&"imul","log",t>=2015&&"log10",t>=2015&&"log1p",t>=2015&&"log2","max","min","pow","round",t>=2015&&"sign","sin",t>=2015&&"sinh","sqrt","tan",t>=2015&&"tanh",t>=2015&&"trunc"],Number:[t>=2015&&"isFinite",t>=2015&&"isInteger",t>=2015&&"isSafeInteger",t>=2015&&"isNaN",t>=2015&&"parseFloat",t>=2015&&"parseInt"],Object:[e&&"create",e&&"getOwnPropertyDescriptor",t>=2017&&e&&"getOwnPropertyDescriptors",e&&"getOwnPropertyNames",t>=2015&&e&&"getOwnPropertySymbols",e&&"getPrototypeOf",t>=2022&&e&&"hasOwn",t>=2015&&"is","isExtensible","isFrozen","isSealed",t>=2015&&e&&"keys"],Promise:t>=2015&&[t>=2024&&"withResolvers"],Proxy:t>=2015&&[e&&"revocable"],Reflect:t>=2015&&[e&&"has",e&&"isExtensible",e&&"ownKeys"],RegExp:[t>=2026&&e&&"escape"],String:["fromCharCode",e&&t>=2025&&"fromCodePoint"],Uint16Array:["of"],Uint32Array:["of"],Uint8Array:["of"],Uint8ClampedArray:["of"]})),RT=dm(({sloppy:e,es:t})=>({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:[t>=2015&&"EPSILON",t>=2015&&"MAX_SAFE_VALUE","MAX_VALUE",t>=2015&&"MIN_SAFE_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],RegExp:["$_","$0","$1","$2","$3","$4","$5","$6","$7","$8","$9","input","lastMatch","lastParen","leftContext","rightContext"]})),r6=/^[A-Z]/;function pm(e,t){let n="",r="",i=t.expression;if(Xr(i))n=i.name;else if(i instanceof He)if(r=i.property,i=i.expression,Xr(i))i.name==="globalThis"&&e.option("builtins_ecma")>=2020?(n=r,r=""):n=i.name;else if(i instanceof He)if(Xr(i.expression)&&i.expression.name==="globalThis"&&e.option("builtins_ecma")>=2020)n=i.property;else return!1;else return!1;else return!1;if(r)return e.is_pure_native_static_fn(n,r);if(e.is_pure_native_fn(n)){let o=t instanceof Xt,a=r6.test(n);return!(o!==a||!i6(n,t.args))}return!1}function i6(e,t){if(t.length===0)return!0;let n=t[0];return n instanceof Y&&(n=n.fixed_value()),!(n6.has(e)&&!(t.length>1||n instanceof le&&n.value>=0&&n.value<=4294967295)||t6.has(e)&&!(t.length===0||n instanceof Re||n instanceof le&&n.value>=0&&n.value<=4294967295)||e6.has(e)&&!(t.length===0||n instanceof Re))}var Xr=e=>e instanceof Y&&e.definition().undeclared,bf=We("<<< >> << & | ^ ~"),so=We("&& || ??"),su=We("delete ++ --");(function(e){let t=We("! delete"),n=We("in instanceof == != === !== < <= >= >");e(X,Ge),e(de,function(){return t.has(this.operator)}),e(B,function(){return n.has(this.operator)||so.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(me,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(Ae,function(){return this.operator=="="&&this.right.is_boolean()}),e(pe,function(){return this.tail_node().is_boolean()}),e(Qn,_n),e(ei,_n)})(function(e,t){e.DEFMETHOD("is_boolean",t)});(function(e){e(X,Ge),e(le,_n);let t=We("+ - ~ ++ --");e(Je,function(r){return t.has(this.operator)&&this.expression.is_number(r)});let n=We("- * / % & | ^ << >> >>>");e(B,function(r){return this.operator==="+"?this.left.is_number(r)&&this.right.is_number_or_bigint(r)||this.right.is_number(r)&&this.left.is_number_or_bigint(r):n.has(this.operator)?this.left.is_number(r)||this.right.is_number(r):!1}),e(Ae,function(r){return(this.operator==="="||n.has(this.operator.slice(0,-1)))&&this.right.is_number(r)}),e(pe,function(r){return this.tail_node().is_number(r)}),e(me,function(r){return this.consequent.is_number(r)&&this.alternative.is_number(r)})})(function(e,t){e.DEFMETHOD("is_number",t)});(function(e){e(X,Ge),e(Ln,_n);let t=We("+ - ~ ++ --");e(Je,function(r){return t.has(this.operator)&&this.expression.is_bigint(r)});let n=We("- * / % & | ^ << >>");e(B,function(r){return this.operator==="+"?this.left.is_bigint(r)&&this.right.is_number_or_bigint(r)||this.right.is_bigint(r)&&this.left.is_number_or_bigint(r):n.has(this.operator)?this.left.is_bigint(r)||this.right.is_bigint(r):!1}),e(Ae,function(r){return(n.has(this.operator.slice(0,-1))||this.operator=="=")&&this.right.is_bigint(r)}),e(pe,function(r){return this.tail_node().is_bigint(r)}),e(me,function(r){return this.consequent.is_bigint(r)&&this.alternative.is_bigint(r)})})(function(e,t){e.DEFMETHOD("is_bigint",t)});(function(e){e(X,Ge),e(le,_n),e(Ln,_n);let t=We("+ - ~ ++ --");e(Je,function(r){return t.has(this.operator)});let n=We("- * / % & | ^ << >>");e(B,function(r){return this.operator==="+"?this.left.is_number_or_bigint(r)&&this.right.is_number_or_bigint(r):n.has(this.operator)}),e(Ae,function(r){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number_or_bigint(r)}),e(pe,function(r){return this.tail_node().is_number_or_bigint(r)}),e(me,function(r){return this.consequent.is_number_or_bigint(r)&&this.alternative.is_number_or_bigint(r)})})(function(e,t){e.DEFMETHOD("is_number_or_bigint",t)});(function(e){e(X,Ge),e(le,function(t){return this.value===(this.value|0)}),e(de,function(t){return this.operator=="~"?this.expression.is_number(t):this.operator==="+"?this.expression.is_32_bit_integer(t):!1}),e(B,function(t){return bf.has(this.operator)&&(this.left.is_number(t)||this.right.is_number(t))})})(function(e,t){e.DEFMETHOD("is_32_bit_integer",t)});(function(e){e(X,Ge),e(Ne,_n),e(Ft,_n),e(de,function(){return this.operator=="typeof"}),e(B,function(t){return this.operator=="+"&&(this.left.is_string(t)||this.right.is_string(t))}),e(Ae,function(t){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(t)}),e(pe,function(t){return this.tail_node().is_string(t)}),e(me,function(t){return this.consequent.is_string(t)&&this.alternative.is_string(t)})})(function(e,t){e.DEFMETHOD("is_string",t)});function Bi(e,t){return ln(e,8)||e instanceof Eo||e instanceof de&&e.operator=="void"&&!e.expression.has_side_effects(t)}function wT(e,t){let n;return e instanceof Bn||Bi(e,t)||e instanceof Y&&(n=e.definition().fixed)instanceof X&&Li(n,t)}function is(e,t){return e instanceof se||e instanceof ee?e.optional&&wT(e.expression,t)||is(e.expression,t):e instanceof at?is(e.expression,t):!1}function Li(e,t){return wT(e,t)?!0:is(e,t)}(function(e){e(X,_n),e(Ye,Ge),e(ze,Ge),e(Ot,Ge);function t(n,r){for(var i=n.length;--i>=0;)if(n[i].has_side_effects(r))return!0;return!1}e(St,function(n){return t(this.body,n)}),e(ee,function(n){return!this.is_callee_pure(n)&&(!this.expression.is_call_pure(n)||this.expression.has_side_effects(n))?!0:t(this.args,n)}),e(Mt,function(n){return this.expression.has_side_effects(n)||t(this.body,n)}),e(ir,function(n){return this.expression.has_side_effects(n)||t(this.body,n)}),e(un,function(n){return this.body.has_side_effects(n)||this.bcatch&&this.bcatch.has_side_effects(n)||this.bfinally&&this.bfinally.has_side_effects(n)}),e(Qe,function(n){return this.condition.has_side_effects(n)||this.body&&this.body.has_side_effects(n)||this.alternative&&this.alternative.has_side_effects(n)}),e(Kr,Ge),e(Ct,function(n){return this.body.has_side_effects(n)}),e(ie,function(n){return this.body.has_side_effects(n)}),e(oe,Ge),e(Oe,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:t(this.properties,n)}),e(Lt,function(n){return t(this.body,n)}),e(B,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),e(Ae,_n),e(me,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),e(Je,function(n){return su.has(this.operator)||this.expression.has_side_effects(n)}),e(Y,function(n){return!this.is_declared(n)&&!rs.has(this.name)}),e(Zr,Ge),e(It,Ge),e(Le,function(n){return t(this.properties,n)}),e($e,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),e([Rn,yn],function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),e([Sn,Mn,Yn,Gt,or,vr],function(n){return this.computed_key()&&this.key.has_side_effects(n)}),e(Re,function(n){return t(this.elements,n)}),e(He,function(n){return Li(this,n)?this.expression.has_side_effects(n):!this.optional&&this.expression.may_throw_on_access(n)?!0:this.expression.has_side_effects(n)}),e(mt,function(n){if(Li(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var r=this.property.has_side_effects(n);return r&&this.optional?!0:r||this.expression.has_side_effects(n)}),e(at,function(n){return this.expression.has_side_effects(n)}),e(pe,function(n){return t(this.expressions,n)}),e(gn,function(n){return t(this.definitions,n)}),e(At,function(){return this.value!=null}),e(Dr,Ge),e(Ft,function(n){return t(this.segments,n)})})(function(e,t){for(let n of[].concat(e))n.DEFMETHOD("has_side_effects",t)});(function(e){e(X,_n),e(ze,Ge),e(Ye,Ge),e(oe,Ge),e(It,Ge),e(Ot,Ge),e(Kr,Ge);function t(n,r){for(var i=n.length;--i>=0;)if(n[i].may_throw(r))return!0;return!1}e(Oe,function(n){return this.extends&&this.extends.may_throw(n)?!0:t(this.properties,n)}),e(Lt,function(n){return t(this.body,n)}),e(Re,function(n){return t(this.elements,n)}),e(Ae,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof Y?!1:this.left.may_throw(n)}),e(B,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),e(St,function(n){return t(this.body,n)}),e(ee,function(n){return Li(this,n)?!1:t(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof oe)||t(this.expression.body,n)}),e(ir,function(n){return this.expression.may_throw(n)||t(this.body,n)}),e(me,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),e(gn,function(n){return t(this.definitions,n)}),e(Qe,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),e(Ct,function(n){return this.body.may_throw(n)}),e(Le,function(n){return t(this.properties,n)}),e($e,function(n){return this.computed_key()&&this.key.may_throw(n)||this.value?this.value.may_throw(n):!1}),e([Rn,yn],function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),e([Gt,or,vr],function(n){return this.computed_key()&&this.key.may_throw(n)}),e([Sn,Mn,Yn],Ge),e(pt,function(n){return this.value&&this.value.may_throw(n)}),e(pe,function(n){return t(this.expressions,n)}),e(ie,function(n){return this.body.may_throw(n)}),e(He,function(n){return Li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),e(mt,function(n){return Li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),e(at,function(n){return this.expression.may_throw(n)}),e(Mt,function(n){return this.expression.may_throw(n)||t(this.body,n)}),e(Y,function(n){return!this.is_declared(n)&&!rs.has(this.name)}),e(Zr,Ge),e(un,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),e(Je,function(n){return this.operator=="typeof"&&this.expression instanceof Y?!1:this.expression.may_throw(n)}),e(At,function(n){return this.value?this.value.may_throw(n):!1})})(function(e,t){for(let n of[].concat(e))n.DEFMETHOD("may_throw",t)});(function(e){function t(n){let r=!0;return yt(this,i=>{if(i instanceof Y){if(ln(this,16))return r=!1,Un;var o=i.definition();if(Yu(o,this.enclosed)&&!this.variables.has(o.name)){if(n){var a=n.find_variable(i);if(o.undeclared?!a:a===o)return r="f",!0}return r=!1,Un}return!0}if(i instanceof Ot&&this instanceof ot)return r=!1,Un}),r}e(X,Ge),e(ze,_n),e(Oe,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(let r of this.properties)if(r.computed_key()&&!r.key.is_constant_expression(n)||r.static&&r.value&&!r.value.is_constant_expression(n)||r instanceof Lt)return!1;return t.call(this,n)}),e(oe,t),e(Je,function(){return this.expression.is_constant_expression()}),e(B,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(Re,function(){return this.elements.every(n=>n.is_constant_expression())}),e(Le,function(){return this.properties.every(n=>n.is_constant_expression())}),e(gt,function(){return!!(!(this.key instanceof X)&&this.value&&this.value.is_constant_expression())})})(function(e,t){e.DEFMETHOD("is_constant_expression",t)});(function(e){X.DEFMETHOD("may_throw_on_access",function(n){return!n.option("pure_getters")||this._dot_throw(n)});function t(n){return/strict/.test(n.option("pure_getters"))}e(X,t),e(Bn,_n),e(Eo,_n),e(ze,Ge),e(Re,Ge),e(Le,function(n){if(!t(n))return!1;for(var r=this.properties.length;--r>=0;)if(this.properties[r]._dot_throw(n))return!0;return!1}),e(Oe,Ge),e(gt,Ge),e(or,_n),e(Te,function(n){return this.expression._dot_throw(n)}),e(Ze,Ge),e(ot,Ge),e(Gr,Ge),e(de,function(){return this.operator=="void"}),e(B,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),e(Ae,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),e(me,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),e(He,function(n){return t(n)?this.property=="prototype"?!(this.expression instanceof Ze||this.expression instanceof Oe):!0:!1}),e(at,function(n){return this.expression._dot_throw(n)}),e(pe,function(n){return this.tail_node()._dot_throw(n)}),e(Y,function(n){if(this.name==="arguments"&&this.scope instanceof oe)return!1;if(ln(this,8))return!0;if(!t(n)||Xr(this)&&this.is_declared(n)||this.is_immutable())return!1;var r=this.fixed_value();return!r||r._dot_throw(n)})})(function(e,t){e.DEFMETHOD("_dot_throw",t)});function uo(e,t){if(t instanceof Je&&su.has(t.operator))return t.expression;if(t instanceof Ae&&t.left===e||t instanceof wt&&t.init===e)return e}(function(e){function t(r){return D(de,r,{operator:"!",expression:r})}function n(r,i,o){var a=t(r);if(o){var s=D(ie,i,{body:i});return oo(a,s)===s?i:a}return oo(a,i)}e(X,function(){return t(this)}),e(Nt,function(){throw new Error("Cannot negate a statement")}),e(Ze,function(){return t(this)}),e(Oe,function(){return t(this)}),e(ot,function(){return t(this)}),e(de,function(){return this.operator=="!"?this.expression:t(this)}),e(pe,function(r){var i=this.expressions.slice();return i.push(i.pop().negate(r)),Pe(this,i)}),e(me,function(r,i){var o=this.clone();return o.consequent=o.consequent.negate(r),o.alternative=o.alternative.negate(r),n(this,o,i)}),e(B,function(r,i){var o=this.clone(),a=this.operator;if(r.option("unsafe_comps"))switch(a){case"<=":return o.operator=">",o;case"<":return o.operator=">=",o;case">=":return o.operator="<",o;case">":return o.operator="<=",o}switch(a){case"==":return o.operator="!=",o;case"!=":return o.operator="==",o;case"===":return o.operator="!==",o;case"!==":return o.operator="===",o;case"&&":return o.operator="||",o.left=o.left.negate(r,i),o.right=o.right.negate(r),n(this,o,i);case"||":return o.operator="&&",o.left=o.left.negate(r,i),o.right=o.right.negate(r),n(this,o,i)}return t(this)})})(function(e,t){e.DEFMETHOD("negate",function(n,r){return t.call(this,n,r)})});(function(e){function t(n){return D(de,n,{operator:"~",expression:n})}e(X,function(n){return t(this)}),e(le,function(n){let r=~this.value;return r.toString().length>this.value.toString().length?t(this):D(le,this,{value:r})}),e(de,function(n,r){return this.operator=="~"&&(this.expression.is_32_bit_integer(n)||(r??n.in_32_bit_context()))?this.expression:t(this)})})(function(e,t){e.DEFMETHOD("bitwise_negate",t)});var o6=We("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");ee.DEFMETHOD("is_callee_pure",function(e){if(e.option("unsafe")){var t=this.expression,n;if(t.expression&&t.expression.name==="hasOwnProperty"&&((n=this.args&&this.args[0]&&this.args[0].evaluate(e))==null||n.thedef&&n.thedef.undeclared))return!1;if(Xr(t)&&o6.has(t.name)||pm(e,this))return!0}else if(e.option("builtins_pure")&&pm(e,this))return!0;return this instanceof Xt&&e.option("pure_new")||e.option("side_effects")&&In(this,js)?!0:!e.pure_funcs(this)});X.DEFMETHOD("is_call_pure",Ge);He.DEFMETHOD("is_call_pure",function(e){if(!e.option("unsafe"))return;let t=this.expression,n;return t instanceof Re?n="Array":t.is_boolean()?n="Boolean":t.is_number(e)?n="Number":t instanceof $t?n="RegExp":t.is_string(e)?n="String":this.may_throw_on_access(e)||(n="Object"),n!=null&&e.is_pure_native_method(n,this.property)});var ri=e=>e&&e.aborts();(function(e){e(Nt,bo),e(la,Yi);function t(){for(var n=0;n<this.body.length;n++)if(ri(this.body[n]))return this.body[n];return null}e(cn,bo),e(we,t),e(ti,t),e($n,function(){for(let n of this.properties)if(n instanceof Lt&&n.aborts())return n;return null}),e(Lt,t),e(Qe,function(){return this.alternative&&ri(this.body)&&ri(this.alternative)&&this})})(function(e,t){e.DEFMETHOD("aborts",t)});X.DEFMETHOD("contains_this",function(){return yt(this,e=>{if(e instanceof Ot)return Un;if(e!==this&&e instanceof he&&!(e instanceof ot))return!0})});function ma(e,t,n,r,i,o){var a=t.parent(i),s=uo(n,a);if(s)return s;if(!o&&a instanceof ee&&a.expression===n&&!(r instanceof ot)&&!(r instanceof Oe)&&!a.is_callee_pure(e)&&(!(r instanceof Ze)||!(a instanceof Xt)&&r.contains_this()))return!0;if(a instanceof Re)return ma(e,t,a,a,i+1);if(a instanceof $e&&n===a.value){var c=t.parent(i+1);return ma(e,t,c,c,i+2)}if(a instanceof se&&a.expression===n){var d=mf(r,a.property);return!o&&ma(e,t,a,d,i+1)}}function vf(e){for(let t=-1,n,r;n=e.parent(t),r=e.parent(t+1);t++){if(r instanceof pe)if(r.expressions.indexOf(n)!==r.expressions.length-1){let o=e.parent(t+2);return!(r.expressions.length>2||r.expressions.length===1||!cm(o,r,r.expressions[1]))}else continue;if(r instanceof Je){let i=r.operator;if(i==="void")return!1;if(i==="typeof"||i==="+"||i==="-"||i==="!"||i==="~")continue}return!(r instanceof ie||r instanceof Ct||r instanceof he)}return!0}function cr(e,t){e.DEFMETHOD("_eval",t)}var uu=Symbol("This AST_Chain is nullish");X.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=this._eval(e,1);if(!t||t instanceof RegExp)return t;if(typeof t=="function"||typeof t=="object"||t==uu)return this;if(typeof t=="string"){let n=this.size(e);if(t.length+2>n)return this}return t});var a6=We("! ~ - + void");X.DEFMETHOD("is_constant",function(){return this instanceof ze?!(this instanceof $t):this instanceof de&&a6.has(this.operator)&&(this.expression instanceof ze||this.expression.is_constant())});cr(Nt,function(){throw new Error(Ha("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});cr(oe,Yi);cr(Oe,Yi);cr(X,Yi);cr(ze,function(){return this.getValue()});var s6=typeof BigInt=="function";cr(Ln,function(){return s6?BigInt(this.value):this});cr($t,function(e){let t=e.evaluated_regexps.get(this.value);if(t===void 0&&Jl(this.value.source)){try{let{source:n,flags:r}=this.value;t=new RegExp(n,r)}catch{t=null}e.evaluated_regexps.set(this.value,t)}return t||this});cr(Ft,function(){return this.segments.length!==1?this:this.segments[0].value});cr(Ze,function(e){if(e.option("unsafe")){var t=function(){};return t.node=this,t.toString=()=>this.print_to_string(),t}return this});cr(Re,function(e,t){if(e.option("unsafe")){for(var n=[],r=0,i=this.elements.length;r<i;r++){var o=this.elements[r],a=o._eval(e,t);if(o===a)return this;n.push(a)}return n}return this});cr(Le,function(e,t){if(e.option("unsafe")){for(var n={},r=0,i=this.properties.length;r<i;r++){var o=this.properties[r];if(o instanceof Te)return this;var a=o.key;if(a instanceof Fe)a=a.name;else if(a instanceof X&&(a=a._eval(e,t),a===o.key))return this;if(typeof Object.prototype[a]=="function")return this;if(!(o.value instanceof Ze)&&(n[a]=o.value._eval(e,t),n[a]===o.value))return this}return n}return this});var u6=We("! typeof void");cr(de,function(e,t){var n=this.expression;if(e.option("typeofs")&&this.operator=="typeof"){if(n instanceof oe||n instanceof Y&&n.fixed_value()instanceof oe)return"function";if((n instanceof Le||n instanceof Re||n instanceof Y&&(n.fixed_value()instanceof Le||n.fixed_value()instanceof Re))&&!n.has_side_effects(e))return typeof{}}if(u6.has(this.operator)||t++,n=n._eval(e,t),n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this});var c6=We("&& || ?? === !=="),l6=We("== != === !=="),DT=e=>typeof e=="object"||typeof e=="function"||typeof e=="symbol";cr(B,function(e,t){c6.has(this.operator)||t++;var n=this.left._eval(e,t);if(n===this.left)return this;var r=this.right._eval(e,t);if(r===this.right)return this;if(n!=null&&r!=null&&l6.has(this.operator)&&DT(n)&&DT(r)&&typeof n==typeof r)return this;if(typeof n=="bigint"!=(typeof r=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(r)===0))return this;var i;switch(this.operator){case"&&":i=n&&r;break;case"||":i=n||r;break;case"??":i=n??r;break;case"|":i=n|r;break;case"&":i=n&r;break;case"^":i=n^r;break;case"+":i=n+r;break;case"*":i=n*r;break;case"**":i=n**r;break;case"/":i=n/r;break;case"%":i=n%r;break;case"-":i=n-r;break;case"<<":i=n<<r;break;case">>":i=n>>r;break;case">>>":i=n>>>r;break;case"==":i=n==r;break;case"===":i=n===r;break;case"!=":i=n!=r;break;case"!==":i=n!==r;break;case"<":i=n<r;break;case"<=":i=n<=r;break;case">":i=n>r;break;case">=":i=n>=r;break;default:return this}return typeof i=="number"&&isNaN(i)&&e.find_parent(sn)?this:i});cr(me,function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,i=r._eval(e,t);return i===r?this:i});var mm=new Set;cr(Y,function(e,t){if(mm.has(this))return this;var n=this.fixed_value();if(!n)return this;mm.add(this);let r=n._eval(e,t);if(mm.delete(this),r===n)return this;if(r&&typeof r=="object"){var i=this.definition().escaped;if(i&&t>i)return this}return r});cr(at,function(e,t){let n=this.expression._eval(e,t,!0);return n===uu?void 0:n===this.expression?this:n});var CT={Array,Math,Number,Object,String},f6=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);cr(se,function(e,t,n){let r=(n||this.property==="length"||e.option("unsafe"))&&this.expression._eval(e,t+1,n);if(n&&(r===uu||this.optional&&r==null))return uu;if(this.property==="length"){if(typeof r=="string")return r.length;if(r instanceof Re&&r.elements.every(d=>!(d instanceof Te))&&r.elements.every(d=>!d.has_side_effects(e)))return r.elements.length}if(e.option("unsafe")){var i=this.property;if(i instanceof X&&(i=i._eval(e,t),i===this.property))return this;var o=this.expression;if(Xr(o)){var a,s=o.name==="hasOwnProperty"&&i==="call"&&(a=e.parent()&&e.parent().args)&&a&&a[0]&&a[0].evaluate(e);if(s=s instanceof He?s.expression:s,s==null||s.thedef&&s.thedef.undeclared)return this.clone();if(!e.is_pure_native_static_property(o.name,i))return this;r=CT[o.name]}else{if(r instanceof RegExp){if(i=="source")return ia(r.source);if(i=="flags"||f6.has(i))return r[i]}if(!r||r===o||!hn(r,i))return this;if(typeof r=="function")switch(i){case"name":return r.node.name?r.node.name.name:"";case"length":return r.node.length_property();default:return this}}return r[i]}return this});cr(ee,function(e,t,n){var r=this.expression;if(n){let b=r._eval(e,t,n);if(b===uu||this.optional&&b==null)return uu}if(e.option("unsafe")&&r instanceof se){var i=r.property;if(i instanceof X&&(i=i._eval(e,t),typeof i!="string"&&typeof i!="number"))return this;var o,a=r.expression;if(Xr(a)){var s=a.name==="hasOwnProperty"&&i==="call"&&this.args[0]&&this.args[0].evaluate(e);if(s=s instanceof He?s.expression:s,s==null||s.thedef&&s.thedef.undeclared)return this.clone();if(!e.is_pure_native_static_fn(a.name,i))return this;o=CT[a.name]}else{if(o=a._eval(e,t+1),o===a||!o)return this;if(!e.is_pure_native_method(o.constructor.name,i))return this}for(var c=[],d=0,p=this.args.length;d<p;d++){var m=this.args[d],g=m._eval(e,t);if(m===g)return this;if(m instanceof oe)return this;c.push(g)}try{return o[i].apply(o,c)}catch{}}return this});cr(Xt,Yi);function jt(e,t){for(let n of[].concat(e))n.DEFMETHOD("drop_side_effect_free",t)}function sc(e,t,n){var r=e.length;if(!r)return null;for(var i=[],o=!1,a=0;a<r;a++){var s=e[a].drop_side_effect_free(t,n);o|=s!==e[a],s&&(i.push(s),n=!1)}return o?i.length?i:null:e}jt(X,Yi);jt(ze,bo);jt(Ot,bo);jt(ee,function(e,t){if(is(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.is_callee_pure(e)){if(this.expression.is_call_pure(e)){var n=this.args.slice();return n.unshift(this.expression.expression),n=sc(n,e,t),n&&Pe(this,n)}if(pa(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}var i=sc(this.args,e,t);return i&&Pe(this,i)});jt(qr,bo);jt(Ze,bo);jt(ot,bo);jt(Oe,function(e){let t=[];if(this.is_self_referential()&&this.has_side_effects(e))return this;let n=this.extends&&this.extends.drop_side_effect_free(e);n&&t.push(n);for(let i of this.properties)if(i instanceof Lt){if(i.has_side_effects(e))return this}else{let o=i.drop_side_effect_free(e);o&&t.push(o)}if(!t.length)return null;let r=Pe(this,t);return this instanceof $n?D(ie,this,{body:r}):r});jt([Rn,yn],function(e){let t=this.computed_key()&&this.key.drop_side_effect_free(e),n=this.static&&this.value&&this.value.drop_side_effect_free(e);return t&&n?Pe(this,[t,n]):t||n||null});jt(B,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);if(so.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var i=this.left.drop_side_effect_free(e,t);return i?Pe(this,[i,n]):this.right.drop_side_effect_free(e,t)}});jt(Ae,function(e){if(this.logical)return this;var t=this.left;if(t.has_side_effects(e)||e.has_directive("use strict")&&t instanceof se&&t.expression.is_constant())return this;for(sr(this,32);t instanceof se;)t=t.expression;return t.is_constant_expression(e.find_parent(he))?this.right.drop_side_effect_free(e):this});jt(me,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?D(B,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return D(B,this,{operator:"&&",left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r});jt(Je,function(e,t){if(su.has(this.operator))return this.expression.has_side_effects(e)?Ao(this,32):sr(this,32),this;if(this.operator=="typeof"&&this.expression instanceof Y)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&n&&ac(n)?n===this.expression&&this.operator=="!"?this:n.negate(e,t):n});jt(Y,function(e){return this.is_declared(e)||rs.has(this.name)?null:this});jt(Le,function(e,t){var n=sc(this.properties,e,t);return n&&Pe(this,n)});jt($e,function(e,t){let r=this.key instanceof X&&this.key.drop_side_effect_free(e,t),i=this.value.drop_side_effect_free(e,t);return r&&i?Pe(this,[r,i]):r||i});jt([Gt,or,vr],function(e,t){return this.computed_key()?this.key.drop_side_effect_free(e,t):null});jt([Sn,Mn,Yn],function(){return null});jt(Re,function(e,t){var n=sc(this.elements,e,t);return n&&Pe(this,n)});jt(He,function(e,t){return is(this,e)?this.expression.drop_side_effect_free(e,t):!this.optional&&this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)});jt(mt,function(e,t){if(is(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.optional&&this.expression.may_throw_on_access(e))return this;var n=this.property.drop_side_effect_free(e);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(e,t);return r&&n?Pe(this,[r,n]):r||n});jt(at,function(e,t){return this.expression.drop_side_effect_free(e,t)});jt(pe,function(e){var t=this.tail_node(),n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?Pe(this,r):D(le,this,{value:0})});jt(Te,function(e,t){return this.expression.drop_side_effect_free(e,t)});jt(Dr,bo);jt(Ft,function(e){var t=sc(this.segments,e,Wr);return t&&Pe(this,t)});var d6=/keep_assign/;he.DEFMETHOD("drop_unused",function(e){if(!e.option("unused")||e.has_directive("use asm")||!this.variables)return;var t=this;if(t.pinned())return;var n=!(t instanceof tt)||e.toplevel.funcs,r=!(t instanceof tt)||e.toplevel.vars;let i=d6.test(e.option("unused"))?Ge:function(b){if(b instanceof Ae&&!b.logical&&(ln(b,32)||b.operator=="="))return b.left;if(b instanceof Je&&ln(b,32))return b.expression};var o=new Map,a=new Map;t instanceof tt&&e.top_retain&&t.variables.forEach(function(b){e.top_retain(b)&&o.set(b.id,b)});var s=new Map,c=new Map,d=this,p=new Pt(function(b,h){if(b instanceof oe&&b.uses_arguments&&!p.has_directive("use strict")&&b.argnames.forEach(function(u){if(u instanceof It){var v=u.definition();o.set(v.id,v)}}),b===t)return;if(b instanceof Oe&&b.has_side_effects(e)&&(b.is_self_referential()?h():b.visit_nondeferred_class_parts(p)),b instanceof st||b instanceof $n){var w=b.name.definition();return(p.parent()instanceof dt||!n&&d===t)&&w.global&&o.set(w.id,w),Qu(c,w.id,b),!0}let l=d===t;if(b instanceof xt&&l&&Qu(s,b.definition().id,b),b instanceof gn&&l){let u=p.parent()instanceof dt;return b.definitions.forEach(function(v){if(v.name instanceof Jr&&Qu(s,v.name.definition().id,v),(u||!r)&&yt(v.name,S=>{if(S instanceof It){let C=S.definition();C.global&&o.set(C.id,C)}}),v.name instanceof Xe&&v.walk(p),v.name instanceof It&&v.value){var y=v.name.definition();Qu(c,y.id,v.value),!y.chained&&v.name.fixed_value()===v.value&&a.set(y.id,v),v.value.has_side_effects(e)&&v.value.walk(p)}}),!0}return g(b,h)});t.walk(p),p=new Pt(g),o.forEach(function(b){var h=c.get(b.id);h&&h.forEach(function(w){w.walk(p)})});var m=new wn(function(h,w,l){var u=m.parent();if(r){let W=i(h);if(W instanceof Y){var y=W.definition(),v=o.has(y.id);if(h instanceof Ae){if(!v||a.has(y.id)&&a.get(y.id)!==h){let Z=h.right.transform(m);return!v&&!Z.has_side_effects(e)&&!vf(m)?l?ft.skip:D(le,h,{value:0}):Ro(u,h,Z)}}else if(!v)return l?ft.skip:D(le,h,{value:0})}}if(d===t){var y;if(h.name&&(h instanceof Vr&&!ra(e.option("keep_classnames"),(y=h.name.definition()).name)||h instanceof Ze&&!ra(e.option("keep_fnames"),(y=h.name.definition()).name))&&(!o.has(y.id)||y.orig.length>1)&&(h.name=null),h instanceof oe&&!(h instanceof qr))for(var S=!e.option("keep_fargs")||u instanceof ee&&u.expression===h&&!h.pinned()&&(!h.name||h.name.unreferenced()),C=h.argnames,f=C.length;--f>=0;){var _=C[f];_ instanceof Te&&(_=_.expression),_ instanceof on&&(_=_.left),!(_ instanceof Xe)&&!o.has(_.definition().id)?(sr(_,1),S&&C.pop()):S=!1}if(h instanceof $n&&h!==t){let W=h.name.definition();if(w(h,this),!(W.global&&!n||o.has(W.id))){let Z=h.drop_side_effect_free(e);return Z??(W.eliminated++,l?ft.skip:D(Ye,h))}return h}if(h instanceof st&&h!==t){let W=h.name.definition();if(!(W.global&&!n||o.has(W.id)))return W.eliminated++,l?ft.skip:D(Ye,h)}if(h instanceof gn&&!(u instanceof wt&&u.init===h)){var T=!(u instanceof tt)&&!(h instanceof vt),O=[],A=[],N=[],P=[];switch(h.definitions.forEach(function(W){W.value&&(W.value=W.value.transform(m));var ae=W.name instanceof Xe,Z=ae?new es(null,{name:"<destructure>"}):W.name.definition();if(T&&Z.global)return N.push(W);if(!(r||T)||ae&&(W.name.names.length||W.name.is_array||e.option("pure_getters")!=!0)||o.has(Z.id)){if(W.value&&a.has(Z.id)&&a.get(Z.id)!==W&&(W.value=W.value.drop_side_effect_free(e)),W.name instanceof Jr){var ke=s.get(Z.id);if(ke.length>1&&(!W.value||Z.orig.indexOf(W.name)>Z.eliminated)){if(W.value){var Ve=D(Y,W.name,W.name);Z.references.push(Ve);var Be=D(Ae,W,{operator:"=",logical:!1,left:Ve,right:W.value});a.get(Z.id)===W&&a.set(Z.id,Be),P.push(Be.transform(m))}Bo(ke,W),Z.eliminated++;return}}W.value?(P.length>0&&(N.length>0?(P.push(W.value),W.value=Pe(W.value,P)):O.push(D(ie,h,{body:Pe(h,P)})),P=[]),N.push(W)):A.push(W)}else if(Z.orig[0]instanceof xr){var ge=W.value&&W.value.drop_side_effect_free(e);ge&&P.push(ge),W.value=null,A.push(W)}else{var ge=W.value&&W.value.drop_side_effect_free(e);ge&&P.push(ge),Z.eliminated++}}),(A.length>0||N.length>0)&&(h.definitions=A.concat(N),O.push(h)),P.length>0&&O.push(D(ie,h,{body:Pe(h,P)})),O.length){case 0:return l?ft.skip:D(Ye,h);case 1:return O[0];default:return l?ft.splice(O):D(we,h,{body:O})}}if(h instanceof ht){w(h,this);var L;return h.init instanceof we&&(L=h.init,h.init=L.body.pop(),L.body.push(h)),h.init instanceof ie?h.init=h.init.body:ao(h.init)&&(h.init=null),L?l?ft.splice(L.body):L:h}if(h instanceof Ct&&h.body instanceof ht){if(w(h,this),h.body instanceof we){var L=h.body;return h.body=L.body.pop(),L.body.push(h),l?ft.splice(L.body):L}return h}if(h instanceof we)return w(h,this),l&&h.body.every(ts)?ft.splice(h.body):h;if(h instanceof he&&!(h instanceof Lt)){let W=d;return d=h,w(h,this),d=W,h}}},function(h,w){if(h instanceof pe)switch(h.expressions.length){case 0:return w?ft.skip:D(le,h,{value:0});case 1:return h.expressions[0]}});t.transform(m);function g(b,h){var w;let l=i(b);if(l instanceof Y&&!iu(b.left,Mi)&&t.variables.get(l.name)===(w=l.definition()))return b instanceof Ae&&(b.right.walk(p),!w.chained&&b.left.fixed_value()===b.right&&a.set(w.id,b)),!0;if(b instanceof Y){if(w=b.definition(),!o.has(w.id)&&(o.set(w.id,w),w.orig[0]instanceof xr)){let v=w.scope.is_block_scope()&&w.scope.get_defun_scope().variables.get(w.name);v&&o.set(v.id,v)}return!0}if(b instanceof Oe)return h(),!0;if(b instanceof he&&!(b instanceof Lt)){var u=d;return d=b,h(),d=u,!0}}});function Wt(e,t){e.DEFMETHOD("reduce_vars",t)}Wt(X,er);function hm(e,t){t.assignments=0,t.chained=!1,t.direct_access=!1,t.escaped=0,t.recursive_refs=0,t.references=[],t.single_use=void 0,t.scope.pinned()||t.orig[0]instanceof xt&&t.scope.uses_arguments?t.fixed=!1:t.orig[0]instanceof Di||!e.exposed(t)?t.fixed=t.init:t.fixed=!1}function _m(e,t,n){n.variables.forEach(function(r){hm(t,r),r.fixed===null?(e.defs_to_safe_ids.set(r.id,e.safe_ids),Ko(e,r,!0)):r.fixed&&(e.loop_ids.set(r.id,e.in_loop),Ko(e,r,!0))})}function as(e,t){t.block_scope&&t.block_scope.variables.forEach(n=>{hm(e,n)})}function fn(e){e.safe_ids=Object.create(e.safe_ids)}function Dn(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function Ko(e,t,n){e.safe_ids[t.id]=n}function OT(e,t){if(t.single_use=="m")return!1;if(e.safe_ids[t.id]){if(t.fixed==null){var n=t.orig[0];if(n instanceof xt||n.name=="arguments")return!1;t.fixed=kt(n)}return!0}return t.fixed instanceof st}function gm(e,t,n,r){if(t.fixed===void 0)return!0;let i;return t.fixed===null&&(i=e.defs_to_safe_ids.get(t.id))?(i[t.id]=!1,e.defs_to_safe_ids.delete(t.id),!0):!hn(e.safe_ids,t.id)||!OT(e,t)||t.fixed===!1||t.fixed!=null&&(!r||t.references.length>t.assignments)?!1:t.fixed instanceof st?r instanceof X&&t.fixed.parent_scope===n:t.orig.every(o=>!(o instanceof Di||o instanceof kr||o instanceof Sr))}function p6(e,t,n){return t.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&e.loop_ids.get(n.id)===e.in_loop}function m6(e){return e?e.is_constant()||e instanceof oe||e instanceof Ot:!1}function uc(e,t,n,r,i,o=0,a=1){var s=e.parent(o);if(!(i&&(i.is_constant()||i instanceof Vr))){if(s instanceof Ae&&(s.operator==="="||s.logical)&&r===s.right||s instanceof ee&&(r!==s.expression||s instanceof Xt)||s instanceof Jn&&r===s.value&&r.scope!==t.scope||s instanceof ni&&r===s.value||s instanceof vn&&r===s.value&&r.scope!==t.scope){a>1&&!(i&&i.is_constant_expression(n))&&(a=1),(!t.escaped||t.escaped>a)&&(t.escaped=a);return}else if(s instanceof Re||s instanceof An||s instanceof B&&so.has(s.operator)||s instanceof me&&r!==s.condition||s instanceof Te||s instanceof pe&&r===s.tail_node())uc(e,t,n,s,s,o+1,a);else if(s instanceof $e&&r===s.value){var c=e.parent(o+1);uc(e,t,n,c,c,o+2,a)}else if(s instanceof se&&r===s.expression&&(i=mf(i,s.property),uc(e,t,n,s,i,o+1,a+1),i))return;o>0||s instanceof pe&&r!==s.tail_node()||s instanceof ie||(t.direct_access=!0)}}var Sf=e=>yt(e,t=>{if(t instanceof Fe){var n=t.definition();n&&(t instanceof Y&&n.references.push(t),n.fixed=!1)}});Wt(qr,function(e,t,n){return fn(e),_m(e,n,this),t(),Dn(e),!0});Wt(Ae,function(e,t,n){var r=this;if(r.left instanceof Xe){Sf(r.left);return}let i=()=>{if(r.logical)return r.left.walk(e),fn(e),r.right.walk(e),Dn(e),!0};var o=r.left;if(!(o instanceof Y))return i();var a=o.definition(),s=gm(e,a,o.scope,r.right);if(a.assignments++,!s)return i();var c=a.fixed;if(!c&&r.operator!="="&&!r.logical)return i();var d=r.operator=="=",p=d?r.right:r;return ma(n,e,r,p,0)?i():(a.references.push(o),r.logical||(d||(a.chained=!0),a.fixed=d?function(){return r.right}:function(){return D(B,r,{operator:r.operator.slice(0,-1),left:c instanceof X?c:c(),right:r.right})}),r.logical?(Ko(e,a,!1),fn(e),r.right.walk(e),Dn(e),!0):(Ko(e,a,!1),r.right.walk(e),Ko(e,a,!0),uc(e,a,o.scope,r,p,0,1),!0))});Wt(B,function(e){if(so.has(this.operator))return this.left.walk(e),fn(e),this.right.walk(e),Dn(e),!0});Wt(St,function(e,t,n){as(n,this)});Wt(ir,function(e){return fn(e),this.expression.walk(e),Dn(e),fn(e),ua(this,e),Dn(e),!0});Wt(Oe,function(e,t){return Ao(this,16),fn(e),t(),Dn(e),!0});Wt(Lt,function(e,t,n){as(n,this)});Wt(me,function(e){return this.condition.walk(e),fn(e),this.consequent.walk(e),Dn(e),fn(e),this.alternative.walk(e),Dn(e),!0});Wt(at,function(e,t){let n=e.safe_ids;return t(),e.safe_ids=n,!0});Wt(ee,function(e){this.expression.walk(e),this.optional&&fn(e);for(let t of this.args)t.walk(e);return!0});Wt(se,function(e){if(this.optional)return this.expression.walk(e),fn(e),this.property instanceof X&&this.property.walk(e),!0});Wt(ci,function(e,t){return fn(e),t(),Dn(e),!0});function h6(e,t,n){Ao(this,16),fn(e),_m(e,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=e.parent())instanceof ee&&r.expression===this&&!r.args.some(i=>i instanceof Te)&&this.argnames.every(i=>i instanceof Fe)&&this.argnames.forEach((i,o)=>{if(i.definition){var a=i.definition();a.orig.length>1||(a.fixed===void 0&&(!this.uses_arguments||e.has_directive("use strict"))?(a.fixed=function(){return r.args[o]||kt(r)},e.loop_ids.set(a.id,e.in_loop),Ko(e,a,!0)):a.fixed=!1)}}),t(),Dn(e),kT(this),!0}function kT(e){let t=[];yt(e,d=>{if(d!==e){if(d instanceof st)return t.push(d),!0;if(d instanceof he||d instanceof ie)return!0}});let n=new Map,r=new Map,i=new Set,o=new Set;for(let d of t){let p=d.name.definition(),m=[];for(let g of d.enclosed)if(!(g.fixed===!1||g===p||g.scope.get_defun_scope()!==e)){if(i.add(g.id),g.assignments===0&&g.orig.length===1&&g.orig[0]instanceof kr){o.add(g.id),i.add(g.id),o.add(p.id),i.add(p.id),n.has(p.id)||n.set(p.id,[]),n.get(p.id).push(g.id);continue}m.push(g)}m.length&&(r.set(p.id,m),o.add(p.id),i.add(p.id))}if(!r.size)return;let a=1,s=new Map,c=new Map;Zs(e,(d,p)=>{if(d instanceof Fe&&d.thedef){let m=d.definition().id;a++,i.has(m)&&(d instanceof It||uo(d,p.parent()))&&c.set(m,a),o.has(m)&&!s.has(m)&&!au(p,m)&&s.set(m,a)}});for(let[d,p]of s){let m=new Set(n.get(d));for(let g of m){let b=s.get(g);if(!(b!=null&&b<p)){s.set(g,p);for(let h of n.get(g)||[])m.add(h)}}}for(let[d,p]of r){let m=s.get(d);if(m!==void 0)for(let g of p){if(g.fixed===!1)continue;let b=c.get(g.id)||0;m<b&&(g.fixed=!1)}}}Wt(oe,h6);Wt(gr,function(e,t,n){as(n,this);let r=e.in_loop;return e.in_loop=this,fn(e),this.body.walk(e),oc(this)&&(Dn(e),fn(e)),this.condition.walk(e),Dn(e),e.in_loop=r,!0});Wt(ht,function(e,t,n){as(n,this),this.init&&this.init.walk(e);let r=e.in_loop;return e.in_loop=this,fn(e),this.condition&&this.condition.walk(e),this.body.walk(e),this.step&&(oc(this)&&(Dn(e),fn(e)),this.step.walk(e)),Dn(e),e.in_loop=r,!0});Wt(wt,function(e,t,n){as(n,this),Sf(this.init),this.object.walk(e);let r=e.in_loop;return e.in_loop=this,fn(e),this.body.walk(e),Dn(e),e.in_loop=r,!0});Wt(Qe,function(e){return this.condition.walk(e),fn(e),this.body.walk(e),Dn(e),this.alternative&&(fn(e),this.alternative.walk(e),Dn(e)),!0});Wt(Ct,function(e){return fn(e),this.body.walk(e),Dn(e),!0});Wt(xr,function(){this.definition().fixed=!1});Wt(Y,function(e,t,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof kr&&e.loop_ids.set(r.id,e.in_loop);var i;r.fixed===void 0||!OT(e,r)?r.fixed=!1:r.fixed&&(i=this.fixed_value(),i instanceof oe&&au(e,r)?r.recursive_refs++:i&&!n.exposed(r)&&p6(e,n,r)?r.single_use=i instanceof oe&&!i.pinned()||i instanceof Oe||r.scope===this.scope&&i.is_constant_expression():r.single_use=!1,ma(n,e,this,i,0,m6(i))&&(r.single_use?r.single_use="m":r.fixed=!1)),uc(e,r,this.scope,this,i,0,1)});Wt(tt,function(e,t,n){return this.globals.forEach(function(r){hm(n,r)}),_m(e,n,this),t(),kT(this),!0});Wt(un,function(e,t,n){return as(n,this),fn(e),this.body.walk(e),Dn(e),this.bcatch&&(fn(e),this.bcatch.walk(e),Dn(e)),this.bfinally&&this.bfinally.walk(e),!0});Wt(Je,function(e){var t=this;if(!(t.operator!=="++"&&t.operator!=="--")){var n=t.expression;if(n instanceof Y){var r=n.definition(),i=gm(e,r,n.scope,!0);if(r.assignments++,!!i){var o=r.fixed;if(o)return r.references.push(n),r.chained=!0,r.fixed=function(){return D(B,t,{operator:t.operator.slice(0,-1),left:D(de,t,{operator:"+",expression:o instanceof X?o:o()}),right:D(le,t,{value:1})})},Ko(e,r,!0),!0}}}});Wt(At,function(e,t){var n=this;if(n.name instanceof Xe){Sf(n.name);return}var r=n.name.definition();if(n.value){if(gm(e,r,n.name.scope,n.value))return r.fixed=function(){return n.value},e.loop_ids.set(r.id,e.in_loop),Ko(e,r,!1),t(),Ko(e,r,!0),!0;r.fixed=!1}});Wt(ja,function(){Sf(this.name)});Wt(Or,function(e,t,n){as(n,this);let r=e.in_loop;return e.in_loop=this,fn(e),t(),Dn(e),e.in_loop=r,!0});function bm(e){return e instanceof Cr&&e.body instanceof we?e.body:e}function xT(e){if(e instanceof Ot)return!0;if(e instanceof Y)return e.definition().orig[0]instanceof Sr;if(e instanceof se){if(e=e.expression,e instanceof Y){if(e.is_immutable())return!1;e=e.fixed_value()}return e?e instanceof $t?!1:e instanceof ze?!0:xT(e):!0}return!1}function _6(e){var t=[];return e.definitions.forEach(function(n){n.name instanceof It?(n.value=null,t.push(n)):n.declarations_as_names().forEach(r=>{t.push(D(At,n,{name:r,value:null}))})}),t.length?D(vt,e,{definitions:t}):null}function _a(e,t,n){yt(t,r=>{if(r instanceof vt){let i=_6(r);return i&&n.push(i),!0}if(r instanceof st&&(r===t||!e.has_directive("use strict")))return n.push(r===t?r:D(vt,r,{definitions:[D(At,r,{name:D(Jr,r.name,r.name),value:null})]})),!0;if(r instanceof dt||r instanceof cn)return n.push(r),!0;if(r instanceof he||r instanceof Oe)return!0})}function cc(e,t){let n=t.find_scope(),r=n.get_defun_scope(),{in_loop:i,in_try:o}=c();var a,s=10;do a=!1,p(e),t.option("dead_code")&&g(e,t),t.option("if_return")&&m(e,t),t.sequences_limit>0&&(h(e,t),l(e,t)),t.option("join_vars")&&v(e),t.option("collapse_vars")&&d(e,t);while(a&&s-- >0);function c(){var y=t.self(),S=0,C=!1,f=!1;do if(y instanceof Cr)C=!0;else{if(y instanceof he)break;y instanceof aa&&(f=!0)}while(y=t.parent(S++));return{in_loop:C,in_try:f}}function d(y,S){if(n.pinned()||r.pinned())return y;for(var C,f=[],_=y.length,T=new wn(function(k){if(V)return k;if(!De)return k!==A[N]?k:(N++,N<A.length?it(k):(De=!0,W=H(k,0),W===k&&(V=!0),k));var ne=T.parent();if(k instanceof Ae&&(k.logical||k.operator!="="&&Z.equivalent_to(k.left))||k instanceof An||k instanceof Pn||k instanceof ee&&Z instanceof se&&Z.equivalent_to(k.expression)||(k instanceof ee||k instanceof se)&&k.optional||k instanceof zr||k instanceof Xe||k instanceof Te&&k.expression instanceof Fe&&(k.expression instanceof Ot||k.expression.definition().references.length>1)||k instanceof Cr&&!(k instanceof ht)||k instanceof Ir||k instanceof un||k instanceof sn||k instanceof vn||k instanceof dt||k instanceof Oe||ne instanceof ht&&k!==ne.init||!ge&&k instanceof Y&&!k.is_declared(S)&&!rs.has(k)||k instanceof Y&&ne instanceof ee&&In(ne,io)||k instanceof gt&&k.key instanceof X)return V=!0,k;if(!ae&&(!Ve||!ge)&&(ne instanceof B&&so.has(ne.operator)&&ne.left!==k||ne instanceof me&&ne.condition!==k||ne instanceof Qe&&ne.condition!==k)&&(ae=ne),Q&&!(k instanceof It)&&Z.equivalent_to(k)&&!ls(T.find_scope()||n,ke)){if(ae)return V=!0,k;if(uo(k,ne))return L&&q++,k;if(q++,L&&P instanceof At)return k;if(a=V=!0,P instanceof Gr)return D(de,P,P);if(P instanceof At){var Ce=P.name.definition(),be=P.value;return Ce.references.length-Ce.replaced==1&&!S.exposed(Ce)?(Ce.replaced++,J&&hf(be)?be.transform(S):Ro(ne,k,be)):D(Ae,P,{operator:"=",logical:!1,left:D(Y,P.name,P.name),right:be})}return Ao(P,32),P}var Rt;return(k instanceof ee||k instanceof Jn&&(Be||Z instanceof se||qt(Z))||k instanceof se&&(Be||k.expression.may_throw_on_access(S))||k instanceof Y&&(ke.has(k.name)&&ke.get(k.name).modified||Be&&qt(k))||k instanceof At&&k.value&&(ke.has(k.name.name)||Be&&qt(k.name))||k instanceof Pn||(Rt=uo(k.left,k))&&(Rt instanceof se||ke.has(Rt.name))||Qt&&(o?k.has_side_effects(S):Cn(k)))&&(W=k,k instanceof he&&(V=!0)),it(k)},function(k){V||(W===k&&(V=!0),ae===k&&(ae=null))}),O=new wn(function(k){if(V)return k;if(!De)return k!==A[N]?k:(N++,N<A.length?void 0:(De=!0,k));if(k instanceof Y&&k.name==te.name)return--q||(V=!0),uo(k,O.parent())?k:(te.replaced++,L.replaced--,P.value);if(k instanceof ci||k instanceof he)return k});--_>=0;){_==0&&S.option("unused")&&xe();var A=[];for(F(y[_]);f.length>0;){A=f.pop();var N=0,P=A[A.length-1],L=null,W=null,ae=null,Z=Ie(P);if(!(!Z||xT(Z)||Z.has_side_effects(S))){var ke=et(P),Ve=Et(Z);Z instanceof Y&&ke.set(Z.name,{def:Z.definition(),modified:!1});var Be=Vt(P),ge=Dt(),Qt=P.may_throw(S),J=P.name instanceof xt,De=J,V=!1,q=0,Q=!C||!De;if(!Q){for(let k=S.self().argnames.lastIndexOf(P.name)+1;!V&&k<C.length;k++)C[k].transform(T);Q=!0}for(var $=_;!V&&$<y.length;$++)y[$].transform(T);if(L){var te=P.name.definition();if(V&&te.references.length-te.replaced>q)q=!1;else{V=!1,N=0,De=J;for(var $=_;!V&&$<y.length;$++)y[$].transform(O);L.single_use=!1}}q&&!Ut(P)&&y.splice(_,1)}}}function it(k){if(k instanceof he)return k;if(k instanceof Mt){k.expression=k.expression.transform(T);for(var ne=0,Ce=k.body.length;!V&&ne<Ce;ne++){var be=k.body[ne];if(be instanceof ir){if(!De){if(be!==A[N])continue;N++}if(be.expression=be.expression.transform(T),!ge)break}}return V=!0,k}}function Vn(k,ne){if(k.global)return!1;let Ce=k.scope;for(;Ce&&Ce!==ne;){if(Ce.variables.has(k.name))return!0;Ce=Ce.parent_scope}return!1}function ye(k,ne,Ce){var be=!1,Rt=!(k instanceof ot);return ne.walk(new Pt(function(qn,ut){if(be)return!0;if(qn instanceof Y&&(k.variables.has(qn.name)||Vn(qn.definition(),k))){var lr=qn.definition().scope;if(lr!==r){for(;lr=lr.parent_scope;)if(lr===r)return!0}return be=!0}if((Ce||Rt)&&qn instanceof Ot)return be=!0;if(qn instanceof he&&!(qn instanceof ot)){var fo=Rt;return Rt=!1,ut(),Rt=fo,!0}})),be}function fe(k){return!(k instanceof Te||yt(k,Ce=>{if(Ce instanceof An)return Un}))}function xe(){var k,ne=S.self();if(pa(ne)&&!ne.name&&!ne.uses_arguments&&!ne.pinned()&&(k=S.parent())instanceof ee&&k.expression===ne&&k.args.every(fe)){var Ce=S.has_directive("use strict");Ce&&!Yu(Ce,ne.body)&&(Ce=!1);var be=ne.argnames.length;C=k.args.slice(be);for(var Rt=new Set,qn=be;--qn>=0;){var ut=ne.argnames[qn],lr=k.args[qn];let Ra=ut.definition&&ut.definition();if(!(Ra&&Ra.orig.length>1)&&(C.unshift(D(At,ut,{name:ut,value:lr})),!Rt.has(ut.name)))if(Rt.add(ut.name),ut instanceof Te){var fo=k.args.slice(qn);fo.every(Bf=>!ye(ne,Bf,Ce))&&f.unshift([D(At,ut,{name:ut.expression,value:D(Re,k,{elements:fo})})])}else lr?(lr instanceof oe&&lr.pinned()||ye(ne,lr,Ce))&&(lr=null):lr=kt(ut).transform(S),lr&&f.unshift([D(At,ut,{name:ut,value:lr})])}}}function F(k){if(A.push(k),k instanceof Ae)!k.left.has_side_effects(S)&&!(k.right instanceof at)&&f.push(A.slice()),F(k.right);else if(k instanceof B)F(k.left),F(k.right);else if(k instanceof ee&&!In(k,io))F(k.expression),k.args.forEach(F);else if(k instanceof ir)F(k.expression);else if(k instanceof me)F(k.condition),F(k.consequent),F(k.alternative);else if(k instanceof gn){var ne=k.definitions.length,Ce=ne-200;for(Ce<0&&(Ce=0);Ce<ne;Ce++)F(k.definitions[Ce])}else k instanceof Qs?(F(k.condition),k.body instanceof St||F(k.body)):k instanceof Jn?k.value&&F(k.value):k instanceof ht?(k.init&&F(k.init),k.condition&&F(k.condition),k.step&&F(k.step),k.body instanceof St||F(k.body)):k instanceof wt?(F(k.object),k.body instanceof St||F(k.body)):k instanceof Qe?(F(k.condition),k.body instanceof St||F(k.body),k.alternative&&!(k.alternative instanceof St)&&F(k.alternative)):k instanceof pe?k.expressions.forEach(F):k instanceof ie?F(k.body):k instanceof Mt?(F(k.expression),k.body.forEach(F)):k instanceof Je?(k.operator=="++"||k.operator=="--")&&f.push(A.slice()):k instanceof At&&k.value&&!(k.value instanceof at)&&(f.push(A.slice()),F(k.value));A.pop()}function H(k,ne,Ce){var be=T.parent(ne);return be instanceof Ae?Ce&&!be.logical&&!(be.left instanceof se||ke.has(be.left.name))?H(be,ne+1,Ce):k:be instanceof B?Ce&&(!so.has(be.operator)||be.left===k)?H(be,ne+1,Ce):k:be instanceof ee||be instanceof ir?k:be instanceof me?Ce&&be.condition===k?H(be,ne+1,Ce):k:be instanceof gn?H(be,ne+1,!0):be instanceof Jn?Ce?H(be,ne+1,Ce):k:be instanceof Qe?Ce&&be.condition===k?H(be,ne+1,Ce):k:be instanceof Cr?k:be instanceof pe?H(be,ne+1,be.tail_node()!==k):be instanceof ie?H(be,ne+1,!0):be instanceof Mt||be instanceof At?k:null}function j(k){var ne=k.value;if(ne instanceof Y&&ne.name!="arguments"){var Ce=ne.definition();if(!Ce.undeclared)return L=Ce}}function Ie(k){if(k instanceof Ae&&k.logical)return!1;if(k instanceof At&&k.name instanceof It){var ne=k.name.definition();if(!Yu(k.name,ne.orig))return;var Ce=ne.references.length-ne.replaced;if(!Ce)return;var be=ne.orig.length-ne.eliminated;if(be>1&&!(k.name instanceof xt)||(Ce>1?j(k):!S.exposed(ne)))return D(Y,k.name,k.name)}else{let Rt=k instanceof Ae?k.left:k.expression;return!iu(Rt,Di)&&!iu(Rt,no)&&!iu(Rt,Ti)&&Rt}}function Ke(k){return k instanceof Ae?k.right:k.value}function et(k){var ne=new Map;if(k instanceof Je)return ne;var Ce=new Pt(function(be){for(var Rt=be;Rt instanceof se;)Rt=Rt.expression;if(Rt instanceof Y){let qn=ne.get(Rt.name);(!qn||!qn.modified)&&ne.set(Rt.name,{def:Rt.definition(),modified:ma(S,Ce,be,be,0)})}});return Ke(k).walk(Ce),ne}function Ut(k){if(k.name instanceof xt){var ne=S.parent(),Ce=S.self().argnames,be=Ce.indexOf(k.name);if(be<0)ne.args.length=Math.min(ne.args.length,Ce.length-1);else{var Rt=ne.args;Rt[be]&&(Rt[be]=D(le,Rt[be],{value:0}))}return!0}var qn=!1;return y[_].transform(new wn(function(ut,lr,fo){if(qn)return ut;if(ut===k||ut.body===k)return qn=!0,ut instanceof At?(ut.value=ut.name instanceof Di?kt(ut.value):null,ut):fo?ft.skip:null},function(ut){if(ut instanceof pe)switch(ut.expressions.length){case 0:return null;case 1:return ut.expressions[0]}}))}function Et(k){for(;k instanceof se;)k=k.expression;return k instanceof Y&&k.definition().scope.get_defun_scope()===r&&!(i&&(ke.has(k.name)||P instanceof Je||P instanceof Ae&&!P.logical&&P.operator!="="))}function Vt(k){return k instanceof Je?su.has(k.operator):Ke(k).has_side_effects(S)}function Dt(){if(Be)return!1;if(L)return!0;if(Z instanceof Y){var k=Z.definition();if(k.references.length-k.replaced==(P instanceof At?1:2))return!0}return!1}function qt(k){if(!k.definition)return!0;var ne=k.definition();return ne.orig.length==1&&ne.orig[0]instanceof kr?!1:ne.scope.get_defun_scope()!==r?!0:ne.references.some(Ce=>Ce.scope.get_defun_scope()!==r)}function Cn(k,ne){if(k instanceof Ae)return Cn(k.left,!0);if(k instanceof Je)return Cn(k.expression,!0);if(k instanceof At)return k.value&&Cn(k.value);if(ne){if(k instanceof He||k instanceof mt)return Cn(k.expression,!0);if(k instanceof Y)return k.definition().scope.get_defun_scope()!==r}return!1}function ls(k,ne){for(let{def:Ce}of ne.values()){let be=k.find_variable(Ce.name);if(be){if(be===Ce)continue;return!0}}return!1}}function p(y){for(var S=[],C=0;C<y.length;){var f=y[C];f instanceof we&&f.body.every(ts)?(a=!0,p(f.body),y.splice(C,1,...f.body),C+=f.body.length):f instanceof Ye?(a=!0,y.splice(C,1)):f instanceof bn?S.indexOf(f.value)<0?(C++,S.push(f.value)):(a=!0,y.splice(C,1)):C++}}function m(y,S){var C=S.self(),f=ae(y),_=C instanceof oe;let T=Math.min(y.length,500);for(var O=T;--O>=0;){var A=y[O],N=ge(O),P=y[N];if(_&&!P&&A instanceof pt){if(!A.value){a=!0,y.splice(O,1);continue}if(A.value instanceof de&&A.value.operator=="void"){a=!0,y[O]=D(ie,A,{body:A.value.expression});continue}}if(A instanceof Qe){let J,De;if(J=ri(A.body),ke(J)&&(De=Be(A.body,J))){J.label&&Bo(J.label.thedef.references,J),a=!0,A=A.clone(),A.condition=A.condition.negate(S),A.body=D(we,A,{body:ou(A.alternative).concat(Ve())}),A.alternative=D(we,A,{body:De}),y[O]=A.transform(S);continue}if(J=ri(A.alternative),ke(J)&&(De=Be(A.alternative,J))){J.label&&Bo(J.label.thedef.references,J),a=!0,A=A.clone(),A.body=D(we,A.body,{body:ou(A.body).concat(Ve())}),A.alternative=D(we,A.alternative,{body:De}),y[O]=A.transform(S);continue}}if(A instanceof Qe&&A.body instanceof pt){var L=A.body.value;if(!L&&!A.alternative&&(_&&!P||P instanceof pt&&!P.value)){a=!0,y[O]=D(ie,A.condition,{body:A.condition});continue}if(L&&!A.alternative&&P instanceof pt&&P.value){a=!0,A=A.clone(),A.alternative=P,y[O]=A.transform(S),y.splice(N,1);continue}if(L&&!A.alternative&&(!P&&_&&f||P instanceof pt)){a=!0,A=A.clone(),A.alternative=P||D(pt,A,{value:null}),y[O]=A.transform(S),P&&y.splice(N,1);continue}var W=y[Qt(O)];if(S.option("sequences")&&_&&!A.alternative&&W instanceof Qe&&W.body instanceof pt&&ge(N)==y.length&&P instanceof ie){a=!0,A=A.clone(),A.alternative=D(we,P,{body:[P,D(pt,P,{value:null})]}),y[O]=A.transform(S),y.splice(N,1);continue}}}function ae(J){for(var De=0,V=J.length;--V>=0;){var q=J[V];if(q instanceof Qe&&q.body instanceof pt&&++De>1)return!0}return!1}function Z(J){return!J||J instanceof de&&J.operator=="void"}function ke(J){if(!J)return!1;for(var De=O+1,V=y.length;De<V;De++){var q=y[De];if(q instanceof Nn&&!(q instanceof vt))return!1}var Q=J instanceof Ir?S.loopcontrol_target(J):null;return J instanceof pt&&_&&Z(J.value)||J instanceof Ei&&C===bm(Q)||J instanceof rr&&Q instanceof we&&C===Q}function Ve(){var J=y.slice(O+1);return y.length=O+1,J.filter(function(De){return De instanceof st?(y.push(De),!1):!0})}function Be(J,De){var V=ou(J);if(De===V[V.length-1]&&(V=V.slice(0,-1),!!V.every(q=>ts(q))))return De.value&&V.push(D(ie,De.value,{body:De.value.expression})),V}function ge(J){for(var De=J+1,V=y.length;De<V;De++){var q=y[De];if(!(q instanceof vt&&b(q)))break}return De}function Qt(J){for(var De=J;--De>=0;){var V=y[De];if(!(V instanceof vt&&b(V)))break}return De}}function g(y,S){for(var C,f=S.self(),_=0,T=0,O=y.length;_<O;_++){var A=y[_];if(A instanceof Ir){var N=S.loopcontrol_target(A);A instanceof rr&&!(N instanceof Cr)&&bm(N)===f||A instanceof Ei&&bm(N)===f?A.label&&Bo(A.label.thedef.references,A):y[T++]=A}else y[T++]=A;if(ri(A)){C=y.slice(_+1);break}}y.length=T,a=T!=O,C&&C.forEach(function(P){_a(S,P,y)})}function b(y){return y.definitions.every(S=>!S.value)}function h(y,S){if(y.length<2)return;var C=[],f=0;function _(){if(C.length){var P=Pe(C[0],C);y[f++]=D(ie,P,{body:P}),C=[]}}for(var T=0,O=y.length;T<O;T++){var A=y[T];if(A instanceof ie){C.length>=S.sequences_limit&&_();var N=A.body;C.length>0&&(N=N.drop_side_effect_free(S)),N&&ic(C,N)}else A instanceof gn&&b(A)||A instanceof st||_(),y[f++]=A}_(),y.length=f,f!=O&&(a=!0)}function w(y,S){if(!(y instanceof we))return y;for(var C=null,f=0,_=y.body.length;f<_;f++){var T=y.body[f];if(T instanceof vt&&b(T))S.push(T);else{if(C||T instanceof Nn&&!(T instanceof vt))return!1;C=T}}return C}function l(y,S){function C(W){f--,a=!0;var ae=_.body;return Pe(ae,[ae,W]).transform(S)}for(var f=0,_,T=0;T<y.length;T++){var O=y[T];if(_&&(O instanceof Jn?O.value=C(O.value||kt(O).transform(S)):O instanceof ht?O.init instanceof Nn||yt(_.body,ae=>{if(ae instanceof he)return!0;if(ae instanceof B&&ae.operator==="in")return Un})||(O.init?O.init=C(O.init):(O.init=_.body,f--,a=!0)):O instanceof wt?(!(O.init instanceof Nn)||O.init instanceof vt)&&(O.object=C(O.object)):O instanceof Qe?O.condition=C(O.condition):(O instanceof Mt||O instanceof sn)&&(O.expression=C(O.expression))),S.option("conditionals")&&O instanceof Qe){var A=[],N=w(O.body,A),P=w(O.alternative,A);if(N!==!1&&P!==!1&&A.length>0){var L=A.length;A.push(D(Qe,O,{condition:O.condition,body:N||D(Ye,O.body),alternative:P})),A.unshift(f,1),[].splice.apply(y,A),T+=L,f+=L+1,_=null,a=!0;continue}}y[f++]=O,_=O instanceof ie?O:null}y.length=f}function u(y,S){if(y instanceof gn){var C=y.definitions[y.definitions.length-1];if(C.value instanceof Le){var f;if(S instanceof Ae&&!S.logical?f=[S]:S instanceof pe&&(f=S.expressions.slice()),!!f){var _=!1;do{var T=f[0];if(!(T instanceof Ae)||T.operator!="="||!(T.left instanceof se))break;var O=T.left.expression;if(!(O instanceof Y)||C.name.name!=O.name||!T.right.is_constant_expression(n))break;var A=T.left.property;if(A instanceof X&&(A=A.evaluate(t)),A instanceof X)break;A=""+A;var N=t.option("ecma")<2015&&t.has_directive("use strict")?function(L){return L.key!=A&&L.key&&L.key.name!=A}:function(L){return L.key&&L.key.name!=A};if(!C.value.properties.every(N))break;var P=C.value.properties.filter(function(L){return L.key===A})[0];P?P.value=new pe({start:P.start,expressions:[P.value.clone(),T.right.clone()],end:P.end}):C.value.properties.push(D($e,T,{key:A,value:T.right})),f.shift(),_=!0}while(f.length);return _&&f}}}}function v(y){for(var S,C=0,f=-1,_=y.length;C<_;C++){var T=y[C],O=y[f];if(T instanceof gn)O&&O.TYPE==T.TYPE?(O.definitions=O.definitions.concat(T.definitions),a=!0):S&&S.TYPE==T.TYPE&&b(T)?(S.definitions=S.definitions.concat(T.definitions),a=!0):(y[++f]=T,S=T);else if(T instanceof Pn&&O instanceof Pn&&O.await===T.await)O.definitions=O.definitions.concat(T.definitions);else if(T instanceof Jn)T.value=N(T.value);else if(T instanceof ht){var A=u(O,T.init);A?(a=!0,T.init=A.length?Pe(T.init,A):null,y[++f]=T):O instanceof vt&&(!T.init||T.init.TYPE==O.TYPE)?(T.init&&(O.definitions=O.definitions.concat(T.init.definitions)),T.init=O,y[f]=T,a=!0):S instanceof vt&&T.init instanceof vt&&b(T.init)?(S.definitions=S.definitions.concat(T.init.definitions),T.init=null,y[++f]=T,a=!0):y[++f]=T}else if(T instanceof wt)T.object=N(T.object);else if(T instanceof Qe)T.condition=N(T.condition);else if(T instanceof ie){var A=u(O,T.body);if(A){if(a=!0,!A.length)continue;T.body=Pe(T.body,A)}y[++f]=T}else T instanceof Mt||T instanceof sn?T.expression=N(T.expression):y[++f]=T}y.length=f+1;function N(P){y[++f]=T;var L=u(O,P);return L?(a=!0,L.length?Pe(P,L):P instanceof pe?P.tail_node().left:P.left):P}}}function g6(e){for(var t,n=0;t=e.parent(n++);){if(t instanceof Nt)return!1;if(t instanceof Re||t instanceof $e||t instanceof Le)return!0}return!1}function vm(e,t){for(let n of t.enclosed){if(t.variables.has(n.name))continue;let r=e.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function b6(e,t){if(e.orig.length===1&&t){let n=t.size(),r=e.name.length;return n>r}return!0}function IT(e,t){if(t.in_computed_key())return e;let n=t.parent(),r=e.definition(),i=t.find_scope(),o=e.fixed_value();if(t.top_retain&&r.global&&t.top_retain(r)&&b6(r,o))return r.fixed=!1,r.single_use=!1,e;if(NT(t,o))return e;let a=r.single_use&&!(n instanceof ee&&n.is_callee_pure(t)||In(n,io))&&!(n instanceof dt&&o instanceof oe&&o.name);if(a&&o instanceof X&&(a=!o.has_side_effects(t)&&!o.may_throw(t)),o instanceof Oe&&r.scope!==e.scope)return e;if(a&&(o instanceof oe||o instanceof Oe)){if(fm(o,t))a=!1;else if(r.scope!==e.scope&&(r.escaped==1||ln(o,16)||g6(t)||!t.option("reduce_funcs")))a=!1;else if(au(t,r))a=!1;else if((r.scope!==e.scope||r.orig[0]instanceof xt)&&(a=o.is_constant_expression(e.scope),a=="f")){var s=e.scope;do(s instanceof st||pa(s))&&sr(s,16);while(s=s.parent_scope)}}if(a&&(o instanceof oe||o instanceof Oe)&&(a=r.scope===e.scope&&!vm(i,o)||n instanceof ee&&n.expression===e&&!vm(i,o)&&!(o.name&&o.name.definition().recursive_refs>0)),a&&o){if(o instanceof $n&&(sr(o,256),o=D(Vr,o,o)),o instanceof st&&(sr(o,256),o=D(Ze,o,o)),r.recursive_refs>0&&o.name instanceof kr){let d=o.name.definition(),p=o.variables.get(o.name.name),m=p&&p.orig[0];m instanceof Sr||(m=D(Sr,o.name,o.name),m.scope=o,o.name=m,p=o.def_function(m)),yt(o,g=>{g instanceof Y&&g.definition()===d&&(g.thedef=p,p.references.push(g))})}return(o instanceof oe||o instanceof Oe)&&o.parent_scope!==i&&(o=o.clone(!0,t.get_toplevel()),i.add_child_scope(o)),o.optimize(t)}if(o){let d;if(o instanceof Ot)!(r.orig[0]instanceof xt)&&r.references.every(p=>r.scope===p.scope)&&(d=o);else{var c=o.evaluate(t);c!==o&&(t.option("unsafe_regexp")||!(c instanceof RegExp))&&(d=ur(c,o))}if(d){let p=e.size(t),m=d.size(t),g=0;if(t.option("unused")&&!t.exposed(r)&&(g=(p+2+o.size(t))/(r.references.length-r.assignments)),m<=p+g)return d}}return e}function PT(e,t){if(t.in_computed_key())return e;var n=e.expression,r=n,i=e.args.every(T=>!(T instanceof Te));if(t.option("reduce_vars")&&r instanceof Y&&!In(e,io)){let T=r.fixed_value();if(fm(T,t)||!t.toplevel.funcs&&n.definition().global)return e;r=T}if(NT(t,r)&&!In(e,Ys))return e;var o=r instanceof oe,a=o&&r.body[0],s=o&&!r.is_generator&&!r.async,c=s&&t.option("inline")&&!e.is_callee_pure(t);if(c&&a instanceof pt){let T=a.value;if(!T||T.is_constant_expression()){T?T=T.clone(!0):T=kt(e);let O=e.args.concat(T);return Pe(e,O).optimize(t)}if(r.argnames.length===1&&r.argnames[0]instanceof xt&&e.args.length<2&&!(e.args[0]instanceof Te)&&T instanceof Y&&T.name===r.argnames[0].name){let O=(e.args[0]||kt()).optimize(t),A;return O instanceof se&&(A=t.parent())instanceof ee&&A.expression===e?Pe(e,[D(le,e,{value:0}),O]):O}}if(c){var d,p,m=-1;let T,O,A;if(i&&!r.uses_arguments&&!(t.parent()instanceof Oe)&&!(r.name&&r instanceof Ze)&&(O=l(a))&&(n===r||In(e,Ys)||t.option("unused")&&(T=n.definition()).references.length==1&&!au(t,T)&&r.is_constant_expression(n.scope))&&!In(e,js|io)&&!r.contains_this()&&y()&&(A=t.find_scope())&&!vm(A,r)&&!(function(){let P=0,L;for(;L=t.parent(P++);){if(L instanceof on)return!0;if(L instanceof St)break}return!1})()&&!(d instanceof Oe))return sr(r,256),A.add_child_scope(r),Pe(e,_(O)).optimize(t)}if(c&&In(e,Ys))return sr(r,256),r=D(r.CTOR===st?Ze:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:t.find_scope(),toplevel:t.get_toplevel()}),D(ee,e,{expression:r,args:e.args}).optimize(t);if(s&&t.option("side_effects")&&r.body.every(ao)){var b=e.args.concat(kt(e));return Pe(e,b).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof ie&&ac(e))return e.negate(t,!0);var h=e.evaluate(t);if(h!==e)return h=ur(h,e).optimize(t),Hr(t,h,e);return e;function w(T){if(!T)return kt(e);if(T instanceof pt)return T.value?T.value.clone(!0):kt(e);if(T instanceof ie)return D(de,T,{operator:"void",expression:T.body.clone(!0)})}function l(T){var O=r.body,A=O.length;if(t.option("inline")<3)return A==1&&w(T);T=null;for(var N=0;N<A;N++){var P=O[N];if(P instanceof vt){if(T&&!P.definitions.every(L=>!L.value))return!1}else{if(T)return!1;P instanceof Ye||(T=P)}}return w(T)}function u(T,O){for(var A=0,N=r.argnames.length;A<N;A++){var P=r.argnames[A];if(P instanceof on){if(ln(P.left,1))continue;return!1}if(P instanceof Xe)return!1;if(P instanceof Te){if(ln(P.expression,1))continue;return!1}if(!ln(P,1)){if(!O||T.has(P.name)||lm.has(P.name)||d.conflicting_def(P.name))return!1;p&&p.push(P.definition())}}return!0}function v(T,O){for(var A=r.body.length,N=0;N<A;N++){var P=r.body[N];if(P instanceof vt){if(!O)return!1;for(var L=P.definitions.length;--L>=0;){var W=P.definitions[L].name;if(W instanceof Xe||T.has(W.name)||lm.has(W.name)||d.conflicting_def(W.name))return!1;p&&p.push(W.definition())}}}return!0}function y(){var T=new Set;do if(d=t.parent(++m),d.is_block_scope()&&d.block_scope&&d.block_scope.variables.forEach(function(N){T.add(N.name)}),d instanceof br)d.argname&&T.add(d.argname.name);else if(d instanceof Cr)p=[];else if(d instanceof Y&&d.fixed_value()instanceof he)return!1;while(!(d instanceof he));var O=!(d instanceof tt)||t.toplevel.vars,A=t.option("inline");return!v(T,A>=3&&O)||!u(T,A>=2&&O)?!1:!p||p.length==0||!_f(r,p)}function S(T,O,A,N){var P=A.definition();d.variables.has(A.name)||(d.variables.set(A.name,P),d.enclosed.push(P),T.push(D(At,A,{name:A,value:null})));var W=D(Y,A,A);P.references.push(W),N&&O.push(D(Ae,e,{operator:"=",logical:!1,left:W,right:N.clone()}))}function C(T,O){for(var A=r.argnames.length,N=e.args.length;--N>=A;)O.push(e.args[N]);for(N=A;--N>=0;){var P=r.argnames[N],L=e.args[N];if(ln(P,1)||!P.name||d.conflicting_def(P.name))L&&O.push(L);else{var W=D(Jr,P,P);P.definition().orig.push(W),!L&&p&&(L=kt(e)),S(T,O,W,L)}}T.reverse(),O.reverse()}function f(T,O){for(var A=O.length,N=0,P=r.body.length;N<P;N++){var L=r.body[N];if(L instanceof vt)for(var W=0,ae=L.definitions.length;W<ae;W++){var Z=L.definitions[W],ke=Z.name;if(S(T,O,ke,Z.value),p&&r.argnames.every(ge=>ge.name!=ke.name)){var Ve=r.variables.get(ke.name),Be=D(Y,ke,ke);Ve.references.push(Be),O.splice(A++,0,D(Ae,Z,{operator:"=",logical:!1,left:Be,right:kt(ke)}))}}}}function _(T){var O=[],A=[];if(C(O,A),f(O,A),A.push(T),O.length){let N=d.body.indexOf(t.parent(m-1))+1;d.body.splice(N,0,D(vt,r,{definitions:O}))}return A.map(N=>N.clone(!0))}}function NT(e,t){return(t instanceof oe||t instanceof Oe)&&!!e.is_within_loop()}(function(e){function t(n,r){if(n instanceof X)return n instanceof ze||(n=n.clone(!0)),D(n.CTOR,r,n);if(Array.isArray(n))return D(Re,r,{elements:n.map(function(a){return t(a,r)})});if(n&&typeof n=="object"){var i=[];for(var o in n)hn(n,o)&&i.push(D($e,r,{key:o,value:t(n[o],r)}));return D(Le,r,{properties:i})}return ur(n,r)}tt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new wn(function(r){var i=r._find_defs(n,"");if(i){for(var o=0,a=r,s;(s=this.parent(o++))&&!(!(s instanceof se)||s.expression!==a);)a=s;if(!uo(a,s))return i}}))):this}),e(X,er),e(at,function(n,r){return this.expression._find_defs(n,r)}),e(He,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),e(It,function(){this.global()}),e(Y,function(n,r){if(this.global()){var i=n.option("global_defs"),o=this.name+r;if(hn(i,o))return t(i[o],this)}}),e(Kr,function(n,r){var i=n.option("global_defs"),o="import.meta"+r;if(hn(i,o))return t(i[o],this)})})(function(e,t){e.DEFMETHOD("_find_defs",t)});var lc=class extends Pt{constructor(t,{false_by_default:n=!1,mangle_options:r=!1}){super(),t.defaults!==void 0&&!t.defaults&&(n=!0),this.options=wr(t,{arguments:!1,arrows:!n,booleans:!n,booleans_as_integers:!1,collapse_vars:!n,comparisons:!n,computed_props:!n,conditionals:!n,dead_code:!n,defaults:!0,directives:!n,drop_console:!1,drop_debugger:!n,ecma:5,builtins_ecma:5,builtins_pure:!1,evaluate:!n,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!n,hoist_vars:!1,ie8:!1,if_return:!n,inline:!n,join_vars:!n,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!n,loops:!n,module:!1,negate_iife:!n,passes:1,properties:!n,pure_getters:!n&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!n,reduce_vars:!n,sequences:!n,side_effects:!n,switches:!n,top_retain:null,toplevel:!!(t&&t.top_retain),typeofs:!n,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!n,warnings:!1},!0);var i=this.options.global_defs;if(typeof i=="object")for(var o in i)o[0]==="@"&&hn(i,o)&&(i[o.slice(1)]=qo(i[o],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var a=this.options.pure_funcs;typeof a=="function"?this.pure_funcs=a:this.pure_funcs=a?function(p){return!a.includes(p.expression.print_to_string())}:_n;var s=this.options.top_retain;s instanceof RegExp?this.top_retain=function(p){return s.test(p.name)}:typeof s=="function"?this.top_retain=s:s&&(typeof s=="string"&&(s=s.split(/,/)),this.top_retain=function(p){return s.includes(p.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var c=this.options.toplevel;this.toplevel=typeof c=="string"?{funcs:/funcs/.test(c),vars:/vars/.test(c)}:{funcs:c,vars:c};var d=this.options.sequences;this.sequences_limit=d==1?800:d|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=r&&rc(r),this.pure_access_globals=yT(this),this.is_pure_native_fn=ET(this),this.is_pure_native_method=TT(this),this.is_pure_native_static_fn=AT(this),this.is_pure_native_static_property=RT(this)}mangle_options(){var t=this._mangle_options&&this._mangle_options.nth_identifier||da,n=this._mangle_options&&this._mangle_options.module||this.option("module");return{ie8:this.option("ie8"),nth_identifier:t,module:n}}option(t){return this.options[t]}exposed(t){if(t.export)return!0;if(t.global){for(var n=0,r=t.orig.length;n<r;n++)if(!this.toplevel[t.orig[n]instanceof kr?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var t=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof ie||r instanceof me&&r.condition===t||r instanceof Qs&&r.condition===t||r instanceof ht&&r.condition===t||r instanceof Qe&&r.condition===t||r instanceof de&&r.operator=="!"&&r.expression===t)return!0;if(r instanceof B&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof me||r.tail_node()===t)t=r;else return!1}}in_32_bit_context(t){if(!this.option("evaluate"))return!1;for(var n=this.self(),r=0,i;i=this.parent(r);r++){if(i instanceof B&&bf.has(i.operator))return t?(n===i.left?i.right:i.left).is_number(this):!0;if(i instanceof de)return i.operator==="~";if(i instanceof B&&(i.operator=="&&"&&i.right===n||i.operator=="||"&&i.right===n||i.operator=="??"&&i.right===n)||i instanceof me&&i.condition!==n||i.tail_node()===n)n=i;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var t=this.self(),n=0,r;r=this.parent(n);n++)if(r instanceof gt&&r.key===t)return!0;return!1}get_toplevel(){return this._toplevel}compress(t){t=t.resolve_defines(this),this._toplevel=t,this.option("expression")&&this._toplevel.process_expression(!0);for(var n=+this.options.passes||1,r=1/0,i=!1,o=this.mangle_options(),a=0;a<n;a++)if(this._toplevel.figure_out_scope(o),a===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(a>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let s=0;if(yt(this._toplevel,()=>{s++}),s<r)r=s,i=!1;else{if(i)break;i=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),t=this._toplevel,this._toplevel=void 0,t}before(t,n){if(ln(t,256))return t;var r=!1;t instanceof he&&(t=t.hoist_properties(this),t=t.hoist_declarations(this),r=!0),n(t,this),n(t,this);var i=t.optimize(this);return r&&i instanceof he&&(i.drop_unused(this),n(i,this)),i===t&&sr(i,256),i}is_lhs(){let t=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return uo(t,n)}};function Ue(e,t){e.DEFMETHOD("optimize",function(n){var r=this;if(ln(r,512)||n.has_directive("use asm"))return r;var i=t(r,n);return sr(i,512),i})}Ue(X,function(e){return e});tt.DEFMETHOD("drop_console",function(e){let t=Array.isArray(e),n=new wn(function(r){if(r.TYPE==="Call"){var i=r.expression;if(i instanceof se){for(var o=i.expression,a=i.property,s=2;o.expression;)a=o.property,o=o.expression,s++;if(!(t&&!e.includes(a))&&Xr(o)&&o.name=="console")if(s===3&&!["call","apply"].includes(i.property)&&vf(n))i.expression=pf(r),sr(i.expression,256),r.args=[];else return kt(r)}}});return this.transform(n)});X.DEFMETHOD("equivalent_to",function(e){return gT(this,e)});he.DEFMETHOD("process_expression",function(e,t){var n=this,r=new wn(function(i){if(e&&i instanceof ie)return D(pt,i,{value:i.body});if(!e&&i instanceof pt){if(t){var o=i.value&&i.value.drop_side_effect_free(t,!0);return o?D(ie,i,{body:o}):D(Ye,i)}return D(ie,i,{body:i.value||kt(i)})}if(i instanceof Oe||i instanceof oe&&i!==n)return i;if(i instanceof St){var a=i.body.length-1;a>=0&&(i.body[a]=i.body[a].transform(r))}else i instanceof Qe?(i.body=i.body.transform(r),i.alternative&&(i.alternative=i.alternative.transform(r))):i instanceof sn&&(i.body=i.body.transform(r));return i});n.transform(r)});tt.DEFMETHOD("reset_opt_flags",function(e){let t=this,n=e.option("reduce_vars"),r=new Pt(function(i,o){if(Ao(i,1792),n)return e.top_retain&&i instanceof st&&r.parent()===t&&sr(i,1024),i.reduce_vars(r,o,e)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,t.walk(r)});Fe.DEFMETHOD("fixed_value",function(){var e=this.thedef.fixed;return!e||e instanceof X?e:e()});Y.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return e.length==1&&e[0]instanceof Sr});function Em(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof he);)if(n instanceof br&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(t)}Y.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||(e.option("unsafe")||e.option("builtins_pure"))&&e.pure_access_globals(this.name)});var S6=new Set(["use asm","use strict"]);Ue(bn,function(e,t){return t.option("directives")&&(!S6.has(e.value)||t.has_directive(e.value)!==e)?D(Ye,e):e});Ue(zr,function(e,t){return t.option("drop_debugger")?D(Ye,e):e});Ue(Ct,function(e,t){return e.body instanceof rr&&t.loopcontrol_target(e.body)===e.body?D(Ye,e):e.label.references.length==0?e.body:e});Ue(St,function(e,t){return cc(e.body,t),e});function y6(e){return!(e instanceof wi||e instanceof Ri||e instanceof Pn||e instanceof Oe)}Ue(we,function(e,t){switch(cc(e.body,t),e.body.length){case 1:if(!t.has_directive("use strict")&&t.parent()instanceof Qe&&y6(e.body[0])||ts(e.body[0]))return e.body[0];break;case 0:return D(Ye,e)}return e});function Tm(e,t){return cc(e.body,t),t.option("side_effects")&&e.body.length==1&&e.body[0]===t.has_directive("use strict")&&(e.body.length=0),e}Ue(oe,Tm);he.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),r=e.option("hoist_vars");if(n||r){var i=[],o=[],a=new Map,s=0,c=0;yt(t,l=>{if(l instanceof he&&l!==t)return!0;if(l instanceof vt)return++c,!0}),r=r&&c>1;var d=new wn(function(u){if(u!==t){if(u instanceof bn)return i.push(u),D(Ye,u);if(n&&u instanceof st&&!(d.parent()instanceof dt)&&d.parent()===t)return o.push(u),D(Ye,u);if(r&&u instanceof vt&&!u.definitions.some(C=>C.name instanceof Xe)){u.definitions.forEach(function(C){a.set(C.name.name,C),++s});var v=u.to_assignments(e),y=d.parent();if(y instanceof wt&&y.init===u){if(v==null){var S=u.definitions[0].name;return D(Y,S,S)}return v}return y instanceof ht&&y.init===u?v:v?D(ie,u,{body:v}):D(Ye,u)}if(u instanceof he)return u}});if(t=t.transform(d),s>0){var p=[];let l=t instanceof oe,u=l?t.args_as_names():null;if(a.forEach((v,y)=>{l&&u.some(S=>S.name===v.name.name)?a.delete(y):(v=v.clone(),v.value=null,p.push(v),a.set(y,v))}),p.length>0){for(var m=0;m<t.body.length;){if(t.body[m]instanceof ie){var g=t.body[m].body,b,h;if(g instanceof Ae&&g.operator=="="&&(b=g.left)instanceof Fe&&a.has(b.name)){var w=a.get(b.name);if(w.value)break;w.value=g.right,Bo(p,w),p.push(w),t.body.splice(m,1);continue}if(g instanceof pe&&(h=g.expressions[0])instanceof Ae&&h.operator=="="&&(b=h.left)instanceof Fe&&a.has(b.name)){var w=a.get(b.name);if(w.value)break;w.value=h.right,Bo(p,w),p.push(w),t.body[m].body=Pe(g,g.expressions.slice(1));continue}}if(t.body[m]instanceof Ye){t.body.splice(m,1);continue}if(t.body[m]instanceof we){t.body.splice(m,1,...t.body[m].body);continue}break}p=D(vt,t,{definitions:p}),o.push(p)}}t.body=i.concat(o,t.body)}return t});he.DEFMETHOD("hoist_properties",function(e){var t=this;if(!e.option("hoist_props")||e.has_directive("use asm"))return t;var n=t instanceof tt&&e.top_retain||Ge,r=new Map,i=new wn(function(o,a){if(o instanceof At){let s=o.name,c,d;if(s.scope===t&&!(s instanceof Ti)&&(c=s.definition()).escaped!=1&&!c.assignments&&!c.direct_access&&!c.single_use&&!e.exposed(c)&&!n(c)&&(d=s.fixed_value())===o.value&&d instanceof Le&&!d.properties.some(p=>p instanceof Te||p.computed_key())){a(o,this);let p=new Map,m=[];return d.properties.forEach(({key:g,value:b})=>{let h=i.find_scope(),w=t.create_symbol(s.CTOR,{source:s,scope:h,conflict_scopes:new Set([h,...s.definition().references.map(l=>l.scope)]),tentative_name:s.name+"_"+g});p.set(String(g),w.definition()),m.push(D(At,o,{name:w,value:b}))}),r.set(c.id,p),ft.splice(m)}}else if(o instanceof se&&o.expression instanceof Y){let s=r.get(o.expression.definition().id);if(s){let c=s.get(String(um(o.property))),d=D(Y,o,{name:c.name,scope:o.expression.scope,thedef:c});return d.reference({}),d}}});return t.transform(i)});Ue(ie,function(e,t){if(t.option("side_effects")){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return D(Ye,e);if(r!==n)return D(ie,e,{body:r})}return e});Ue(Or,function(e,t){return t.option("loops")?D(ht,e,e).optimize(t):e});Ue(gr,function(e,t){if(!t.option("loops"))return e;var n=e.condition.tail_node().evaluate(t);if(!(n instanceof X)){if(n)return D(ht,e,{body:D(we,e.body,{body:[e.body,D(ie,e.condition,{body:e.condition})]})}).optimize(t);if(!oc(e,t.parent()))return D(we,e.body,{body:[e.body,D(ie,e.condition,{body:e.condition})]}).optimize(t)}return e});function MT(e,t){var n=e.body instanceof we?e.body.body[0]:e.body;if(t.option("dead_code")&&i(n)){var r=[];return e.init instanceof Nt?r.push(e.init):e.init&&r.push(D(ie,e.init,{body:e.init})),e.condition&&r.push(D(ie,e.condition,{body:e.condition})),_a(t,e.body,r),D(we,e,{body:r})}return n instanceof Qe&&(i(n.body)?(e.condition?e.condition=D(B,e.condition,{left:e.condition,operator:"&&",right:n.condition.negate(t)}):e.condition=n.condition.negate(t),o(n.alternative)):i(n.alternative)&&(e.condition?e.condition=D(B,e.condition,{left:e.condition,operator:"&&",right:n.condition}):e.condition=n.condition,o(n.body))),e;function i(a){return a instanceof rr&&t.loopcontrol_target(a)===t.self()}function o(a){a=ou(a),e.body instanceof we?(e.body=e.body.clone(),e.body.body=a.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=D(we,e.body,{body:a}).transform(t),e=MT(e,t)}}Ue(ht,function(e,t){if(!t.option("loops"))return e;if(t.option("side_effects")&&e.init&&(e.init=e.init.drop_side_effect_free(t)),e.condition){var n=e.condition.evaluate(t);if(!(n instanceof X)){if(n)e.condition=null;else if(!t.option("dead_code")){var r=e.condition;e.condition=ur(n,e.condition),e.condition=oo(e.condition.transform(t),r)}}if(t.option("dead_code")&&(n instanceof X&&(n=e.condition.tail_node().evaluate(t)),!n)){var i=[];return _a(t,e.body,i),e.init instanceof Nt?i.push(e.init):e.init&&i.push(D(ie,e.init,{body:e.init})),i.push(D(ie,e.condition,{body:e.condition})),D(we,e,{body:i}).optimize(t)}}return MT(e,t)});Ue(Qe,function(e,t){if(ao(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(!t.option("dead_code")&&!(n instanceof X)){var r=e.condition;e.condition=ur(n,r),e.condition=oo(e.condition.transform(t),r)}if(t.option("dead_code"))if(n instanceof X&&(n=e.condition.tail_node().evaluate(t)),n){if(!(n instanceof X)){var i=[];return i.push(D(ie,e.condition,{body:e.condition})),i.push(e.body),e.alternative&&_a(t,e.alternative,i),D(we,e,{body:i}).optimize(t)}}else{var i=[];return _a(t,e.body,i),i.push(D(ie,e.condition,{body:e.condition})),e.alternative&&i.push(e.alternative),D(we,e,{body:i}).optimize(t)}var o=e.condition.negate(t),a=e.condition.size(),s=o.size(),c=s<a;if(e.alternative&&c){c=!1,e.condition=o;var d=e.body;e.body=e.alternative||D(Ye,e),e.alternative=d}if(ao(e.body)&&ao(e.alternative))return D(ie,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof ie&&e.alternative instanceof ie)return D(ie,e,{body:D(me,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(ao(e.alternative)&&e.body instanceof ie)return a===s&&!c&&e.condition instanceof B&&e.condition.operator=="||"&&(c=!0),c?D(ie,e,{body:D(B,e,{operator:"||",left:o,right:e.body.body})}).optimize(t):D(ie,e,{body:D(B,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof Ye&&e.alternative instanceof ie)return D(ie,e,{body:D(B,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Jn&&e.alternative instanceof Jn&&e.body.TYPE==e.alternative.TYPE)return D(e.body.CTOR,e,{value:D(me,e,{condition:e.condition,consequent:e.body.value||kt(e.body),alternative:e.alternative.value||kt(e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Qe&&!e.body.alternative&&!e.alternative&&(e=D(Qe,e,{condition:D(B,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),ri(e.body)&&e.alternative){var p=e.alternative;return e.alternative=null,D(we,e,{body:[e,p]}).optimize(t)}if(ri(e.alternative)){var i=e.body;return e.body=e.alternative,e.condition=c?o:e.condition.negate(t),e.alternative=null,D(we,e,{body:[e,i]}).optimize(t)}return e});Ue(Mt,function(e,t){if(!t.option("switches"))return e;var n,r=e.expression.evaluate(t);if(!(r instanceof X)){var i=e.expression;e.expression=ur(r,i),e.expression=oo(e.expression.transform(t),i)}if(!t.option("dead_code"))return e;r instanceof X&&(r=e.expression.tail_node().evaluate(t));for(var o=[],a=[],s,c,d=0,p=e.body.length;d<p&&!c;d++){if(n=e.body[d],n instanceof ci)s?h(n,a[a.length-1]):s=n;else if(!(r instanceof X)){var m=n.expression.evaluate(t);if(!(m instanceof X)&&m!==r){h(n,a[a.length-1]);continue}if(m instanceof X&&!m.has_side_effects(t)&&(m=n.expression.tail_node().evaluate(t)),m===r&&(c=n,s)){var g=a.indexOf(s);a.splice(g,1),h(s,a[g-1]),s=null}}a.push(n)}for(;d<p;)h(e.body[d++],a[a.length-1]);e.body=a;let b=s||c;if(s=null,c=null,a.every((S,C)=>(S===b||S.expression instanceof ze)&&(S.body.length===0||ri(S)||a.length-1===C)))for(let S=0;S<a.length;S++){let C=a[S];for(let f=S+1;f<a.length;f++){let _=a[f];if(_.body.length===0)continue;let T=f===a.length-1,O=w(_,C,!1);if(O||T&&w(_,C,!0)){!O&&T&&_.body.push(D(rr));let A=f-1,N=0;for(;A>S&&y(a[A--]);)N++;let P=a.splice(f-N,1+N);a.splice(S+1,0,...P),S+=P.length}}}for(let S=0;S<a.length;S++){let C=a[S];if(C.body.length!==0&&ri(C))for(let f=S+1;f<a.length;S++,f++){let _=a[f];if(_.body.length!==0){if(w(_,C,!1)||f===a.length-1&&w(_,C,!0)){C.body=[],C=_;continue}break}}}{let S=a.length-1;for(;S>=0;S--){let C=a[S].body;for(;v(C[C.length-1],t);)C.pop();if(!y(a[S]))break}if(S++,!b||a.indexOf(b)>=S)for(let C=a.length-1;C>=S;C--){let f=a[C];if(f===b)b=null,h(a.pop());else if(!f.expression.has_side_effects(t))h(a.pop());else break}}e:if(b){let S=a.indexOf(b),C=S;for(;C<a.length-1&&y(a[C]);C++);if(C<a.length-1)break e;let f=a.length-1;for(;f>=0;f--){let _=a[f];if(_!==b&&_.expression.has_side_effects(t))break}if(C>f){let _=S-1;for(;_>=0&&y(a[_]);_--);let T=Math.max(f,_)+1,O=S;f>S?(O=f,a[f].body=a[C].body):b.body=a[C].body,a.splice(O+1,C-O),a.splice(T,S-T)}}e:if(b){let S=a.findIndex(T=>!y(T)),C;if(S===a.length-1){let T=a[S];if(u(e))break e;C=D(we,T,{body:T.body}),T.body=[]}else if(S!==-1)break e;if(!a.find(T=>T!==b&&T.expression.has_side_effects(t)))return D(we,e,{body:o.concat(l(e.expression),b.expression?l(b.expression):[],C||[])}).optimize(t);let _=a.indexOf(b);if(a.splice(_,1),b=null,C)return D(we,e,{body:o.concat(e,C)}).optimize(t)}if(a.length>0&&(a[0].body=o.concat(a[0].body)),a.length==0)return D(we,e,{body:o.concat(l(e.expression))}).optimize(t);if(a.length==1&&!u(e)){let S=a[0];return D(Qe,e,{condition:D(B,e,{operator:"===",left:e.expression,right:S.expression}),body:D(we,S,{body:S.body}),alternative:null}).optimize(t)}if(a.length===2&&b&&!u(e)){let S=a[0]===b?a[1]:a[0],C=b.expression&&l(b.expression);if(ri(a[0])){let O=a[0];return v(O.body[O.body.length-1],t)&&O.body.pop(),D(Qe,e,{condition:D(B,e,{operator:"===",left:e.expression,right:S.expression}),body:D(we,S,{body:S.body}),alternative:D(we,b,{body:[].concat(C||[],b.body)})}).optimize(t)}let f="===",_=D(we,S,{body:S.body}),T=D(we,b,{body:[].concat(C||[],b.body)});if(a[0]===b){f="!==";let O=T;T=_,_=O}return D(we,e,{body:[D(Qe,e,{condition:D(B,e,{operator:f,left:e.expression,right:S.expression}),body:_,alternative:null}),T]}).optimize(t)}return e;function h(S,C){C&&!ri(C)?C.body=C.body.concat(S.body):_a(t,S,o)}function w(S,C,f){let _=S.body,T=C.body;if(f&&(_=_.concat(D(rr))),_.length!==T.length)return!1;let O=D(we,S,{body:_}),A=D(we,C,{body:T});return O.equivalent_to(A)}function l(S){return D(ie,S,{body:S})}function u(S){let C=!1,f=new Pt(_=>{if(C||_ instanceof oe||_ instanceof ie)return!0;if(!v(_,f))return;let T=f.parent();T instanceof ti&&T.body[T.body.length-1]===_||(C=!0)});return S.walk(f),C}function v(S,C){return S instanceof rr&&C.loopcontrol_target(S)===e}function y(S){return!ri(S)&&!D(we,S,{body:S.body}).has_side_effects(t)}});Ue(un,function(e,t){if(e.bcatch&&e.bfinally&&e.bfinally.body.every(ao)&&(e.bfinally=null),t.option("dead_code")&&e.body.body.every(ao)){var n=[];return e.bcatch&&_a(t,e.bcatch,n),e.bfinally&&n.push(...e.bfinally.body),D(we,e,{body:n}).optimize(t)}return e});gn.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=[];for(let i of this.definitions){if(i.value){var r=D(Y,i.name,i.name);n.push(D(Ae,i,{operator:"=",logical:!1,left:r,right:i.value})),t&&(r.definition().fixed=!1)}let o=i.name.definition();o.eliminated++,o.replaced--}return n.length==0?null:Pe(this,n)});Ue(gn,function(e){return e.definitions.length==0?D(Ye,e):e});Ue(At,function(e,t){return e.name instanceof no&&e.value!=null&&Bi(e.value,t)&&(e.value=null),e});Ue(cn,function(e){return e});Ue(ee,function(e,t){var n=e.expression,r=n;UT(e.args);var i=e.args.every(P=>!(P instanceof Te));t.option("reduce_vars")&&r instanceof Y&&(r=r.fixed_value());var o=r instanceof oe;if(o&&r.pinned())return e;if(t.option("unused")&&i&&o&&!r.uses_arguments){for(var a=0,s=0,c=0,d=e.args.length;c<d;c++){if(r.argnames[c]instanceof Te){if(ln(r.argnames[c].expression,1))for(;c<d;){var p=e.args[c++].drop_side_effect_free(t);p&&(e.args[a++]=p)}else for(;c<d;)e.args[a++]=e.args[c++];s=a;break}var m=c>=r.argnames.length;if(m||ln(r.argnames[c],1)){var p=e.args[c].drop_side_effect_free(t);if(p)e.args[a++]=p;else if(!m){e.args[a++]=D(le,e.args[c],{value:0});continue}}else e.args[a++]=e.args[c];s=a}e.args.length=s}if(n instanceof He&&n.expression instanceof Y&&n.expression.name==="console"&&n.expression.definition().undeclared&&n.property==="assert"){let P=e.args[0];if(P){let L=P.evaluate(t);if(L===1||L===!0)return kt(e).optimize(t)}}if(t.option("unsafe")&&!n.contains_optional()){if(n instanceof He&&n.start.value==="Array"&&n.property==="from"&&e.args.length===1){let[P]=e.args;if(P instanceof Re)return D(Re,P,{elements:P.elements}).optimize(t)}if(Xr(n))switch(n.name){case"Array":if(e.args.length!=1)return D(Re,e,{elements:e.args}).optimize(t);if(e.args[0]instanceof le&&e.args[0].value<=11){let P=[];for(let L=0;L<e.args[0].value;L++)P.push(new jn);return new Re({elements:P})}break;case"Object":if(e.args.length==0)return D(Le,e,{properties:[]});break;case"String":if(e.args.length==0)return D(Ne,e,{value:""});if(e.args.length<=1)return D(B,e,{left:e.args[0],operator:"+",right:D(Ne,e,{value:""})}).optimize(t);break;case"Number":if(e.args.length==0)return D(le,e,{value:0});if(e.args.length==1&&t.option("unsafe_math"))return D(de,e,{expression:e.args[0],operator:"+"}).optimize(t);break;case"Symbol":e.args.length==1&&e.args[0]instanceof Ne&&t.option("unsafe_symbols")&&(e.args.length=0);break;case"Boolean":if(e.args.length==0)return D(ei,e);if(e.args.length==1)return D(de,e,{expression:D(de,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"RegExp":var g=[];if(e.args.length>=1&&e.args.length<=2&&e.args.every(P=>{var L=P.evaluate(t);return g.push(L),P!==L})&&Jl(g[0])){let[P,L]=g;P=ia(new RegExp(P).source);let W=D($t,e,{value:{source:P,flags:L}});if(W._eval(t)!==W)return W}break}else if(n instanceof He)switch(n.property){case"toString":if(e.args.length==0&&!n.expression.may_throw_on_access(t))return D(B,e,{left:D(Ne,e,{value:""}),operator:"+",right:n.expression}).optimize(t);break;case"join":if(n.expression instanceof Re)e:{var b;if(e.args.length>0&&(b=e.args[0].evaluate(t),b===e.args[0]))break e;for(var h=[],w=[],c=0,d=n.expression.elements.length;c<d;c++){var l=n.expression.elements[c];if(l instanceof Te)break e;var u=l.evaluate(t);u!==l?w.push(u):(w.length>0&&(h.push(D(Ne,e,{value:w.join(b)})),w.length=0),h.push(l))}if(w.length>0&&h.push(D(Ne,e,{value:w.join(b)})),h.length==0)return D(Ne,e,{value:""});if(h.length==1)return h[0].is_string(t)?h[0]:D(B,h[0],{operator:"+",left:D(Ne,e,{value:""}),right:h[0]});if(b==""){var v;return h[0].is_string(t)||h[1].is_string(t)?v=h.shift():v=D(Ne,e,{value:""}),h.reduce(function(L,W){return D(B,W,{operator:"+",left:L,right:W})},v).optimize(t)}var p=e.clone();return p.expression=p.expression.clone(),p.expression.expression=p.expression.expression.clone(),p.expression.expression.elements=h,Hr(t,e,p)}break;case"charAt":if(n.expression.is_string(t)){var y=e.args[0],S=y?y.evaluate(t):0;if(S!==y)return D(mt,n,{expression:n.expression,property:ur(S|0,y||n)}).optimize(t)}break;case"apply":if(e.args.length==2&&e.args[1]instanceof Re){var C=e.args[1].elements.slice();return C.unshift(e.args[0]),D(ee,e,{expression:D(He,n,{expression:n.expression,optional:!1,property:"call"}),args:C}).optimize(t)}break;case"call":var f=n.expression;if(f instanceof Y&&(f=f.fixed_value()),f instanceof oe&&!f.contains_this())return(e.args.length?Pe(this,[e.args[0],D(ee,e,{expression:n.expression,args:e.args.slice(1)})]):D(ee,e,{expression:n.expression,args:[]})).optimize(t);break}}if(t.option("unsafe_Function")&&Xr(n)&&n.name=="Function"){if(e.args.length==0)return pf(e).optimize(t);if(e.args.every(P=>P instanceof Ne))try{var N="n(function("+e.args.slice(0,-1).map(function(P){return P.value}).join(",")+"){"+e.args[e.args.length-1].value+"})",_=qo(N),T=t.mangle_options();_.figure_out_scope(T);var O=new lc(t.options,{mangle_options:t._mangle_options});_=_.transform(O),_.figure_out_scope(T),_.compute_char_frequency(T),_.mangle_names(T);var A;yt(_,P=>{if(pa(P))return A=P,Un});var N=eu();return we.prototype._codegen.call(A,A,N),e.args=[D(Ne,e,{value:A.argnames.map(function(P){return P.print_to_string()}).join(",")}),D(Ne,e.args[e.args.length-1],{value:N.get().replace(/^{|}$/g,"")})],e}catch(P){if(!(P instanceof tc))throw P}}return PT(e,t)});X.DEFMETHOD("contains_optional",function(){return this instanceof se||this instanceof ee||this instanceof at?this.optional?!0:this.expression.contains_optional():!1});Ue(Xt,function(e,t){return t.option("unsafe")&&Xr(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name)?D(ee,e,e).transform(t):e});Ue(pe,function(e,t){if(!t.option("side_effects"))return e;var n=[];i();var r=n.length-1;if(o(),r==0)return e=Ro(t.parent(),t.self(),n[0]),e instanceof pe||(e=e.optimize(t)),e;return e.expressions=n,e;function i(){var a=Wr(t),s=e.expressions.length-1;e.expressions.forEach(function(c,d){d<s&&(c=c.drop_side_effect_free(t,a)),c&&(ic(n,c),a=!1)})}function o(){for(;r>0&&Bi(n[r],t);)r--;r<n.length-1&&(n[r]=D(de,e,{operator:"void",expression:n[r]}),n.length=r+1)}});Je.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof pe){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),Pe(this,t).optimize(e)}return this});Ue(Gr,function(e,t){return e.lift_sequences(t)});Ue(de,function(e,t){var n=e.expression;if(e.operator=="delete"&&!(n instanceof Y||n instanceof se||n instanceof at||hf(n)))return Pe(e,[n,D(Qn,e)]).optimize(t);if(e.operator==="void"&&n instanceof le&&n.value===0)return LT(e,t)||e;var r=e.lift_sequences(t);if(r!==e)return r;if(t.option("side_effects")&&e.operator=="void")return n=n.drop_side_effect_free(t),n?(e.expression=n,e):kt(e).optimize(t);if(t.in_boolean_context())switch(e.operator){case"!":if(n instanceof de&&n.operator=="!")return n.expression;n instanceof B&&(e=Hr(t,e,n.negate(t,Wr(t))));break;case"typeof":return(n instanceof Y?D(Qn,e):Pe(e,[n,D(Qn,e)])).optimize(t)}if(e.operator=="-"&&n instanceof Ci&&(n=n.transform(t)),n instanceof B&&(e.operator=="+"||e.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return D(B,e,{operator:n.operator,left:D(de,n.left,{operator:e.operator,expression:n.left}),right:n.right});if(t.option("evaluate")){if(e.operator==="~"&&e.expression instanceof de&&e.expression.operator==="~"&&(t.in_32_bit_context(!1)||e.expression.expression.is_32_bit_integer(t)))return e.expression.expression;if(e.operator==="~"&&n instanceof B&&n.operator==="^")return n.left instanceof de&&n.left.operator==="~"?n.left=n.left.bitwise_negate(t,!0):n.right=n.right.bitwise_negate(t,!0),n}if(e.operator!="-"||!(n instanceof le||n instanceof Ci||n instanceof Ln)){var i=e.evaluate(t);if(i!==e)return i=ur(i,e).optimize(t),Hr(t,i,e)}return e});B.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof pe){var t=this.left.expressions.slice(),n=this.clone();return n.left=t.pop(),t.push(n),Pe(this,t).optimize(e)}if(this.right instanceof pe&&!this.left.has_side_effects(e)){for(var r=this.operator=="="&&this.left instanceof Y,t=this.right.expressions,i=t.length-1,o=0;o<i&&!(!r&&t[o].has_side_effects(e));o++);if(o==i){t=t.slice();var n=this.clone();return n.right=t.pop(),t.push(n),Pe(this,t).optimize(e)}else if(o>0){var n=this.clone();return n.right=Pe(this.right,t.slice(o)),t=t.slice(0,o),t.push(n),Pe(this,t).optimize(e)}}}return this});var E6=We("== === != !== * & | ^");function T6(e){return e instanceof Re||e instanceof oe||e instanceof Le||e instanceof Oe}Ue(B,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function r(f){if(n()){f&&(e.operator=f);var _=e.left;e.left=e.right,e.right=_}}if(t.option("lhs_constants")&&E6.has(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof B&&Qr[e.left.operator]>=Qr[e.operator]||r()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":var i=!0;(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_bigint(t)&&e.right.is_bigint(t)||e.left.is_boolean()&&e.right.is_boolean()||e.left.equivalent_to(e.right))&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(!i&&Bi(e.left,t))e.left=D(Bn,e.left);else if(!i&&Bi(e.right,t))e.right=D(Bn,e.right);else if(t.option("typeofs")&&e.left instanceof Ne&&e.left.value=="undefined"&&e.right instanceof de&&e.right.operator=="typeof"){var o=e.right.expression;(o instanceof Y?o.is_declared(t):!(o instanceof se&&t.option("ie8")))&&(e.right=o,e.left=kt(e.left).optimize(t),e.operator.length==2&&(e.operator+="="))}else if(t.option("typeofs")&&e.left instanceof de&&e.left.operator=="typeof"&&e.right instanceof Ne&&e.right.value=="undefined"){var o=e.left.expression;(o instanceof Y?o.is_declared(t):!(o instanceof se&&t.option("ie8")))&&(e.left=o,e.right=kt(e.right).optimize(t),e.operator.length==2&&(e.operator+="="))}else{if(e.left instanceof Y&&e.right instanceof Y&&e.left.definition()===e.right.definition()&&T6(e.left.fixed_value()))return D(e.operator[0]=="="?Qn:ei,e);if(e.left.is_32_bit_integer(t)&&e.right.is_32_bit_integer(t)){let f=N=>D(de,N,{operator:"!",expression:N}),_=(N,P)=>P?t.in_boolean_context()?N:f(f(N)):f(N);if(e.left instanceof le&&e.left.value===0)return _(e.right,e.operator[0]==="!");if(e.right instanceof le&&e.right.value===0)return _(e.left,e.operator[0]==="!");let T,O,A;if((T=e.left instanceof B?e.left:e.right instanceof B?e.right:null)&&(A=T===e.left?e.right:e.left)&&T.operator==="&"&&A instanceof le&&A.is_32_bit_integer(t)&&(O=T.left.equivalent_to(A)?T.right:T.right.equivalent_to(A)?T.left:null)){let N=_(D(B,e,{operator:"&",left:A,right:D(de,e,{operator:"~",expression:O})}),e.operator[0]==="!");return Hr(t,N,e)}}}break;case"&&":case"||":var a=e.left;if(a.operator==e.operator&&(a=a.right),a instanceof B&&a.operator==(e.operator=="&&"?"!==":"===")&&e.right instanceof B&&a.operator==e.right.operator&&(Bi(a.left,t)&&e.right.left instanceof Bn||a.left instanceof Bn&&Bi(e.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(e.right.right)){var s=D(B,e,{operator:a.operator.slice(0,-1),left:D(Bn,e),right:a.right});return a!==e.left&&(s=D(B,e,{operator:e.operator,left:e.left.left,right:s})),s}break}if(e.operator=="+"&&t.in_boolean_context()){var c=e.left.evaluate(t),d=e.right.evaluate(t);if(c&&typeof c=="string")return Pe(e,[e.right,D(Qn,e)]).optimize(t);if(d&&typeof d=="string")return Pe(e,[e.left,D(Qn,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof B)||t.parent()instanceof Ae){var p=D(de,e,{operator:"!",expression:e.negate(t,Wr(t))});e=Hr(t,e,p)}if(t.option("unsafe_comps"))switch(e.operator){case"<":r(">");break;case"<=":r(">=");break}}if(e.operator=="+"){if(e.right instanceof Ne&&e.right.getValue()==""&&e.left.is_string(t))return e.left;if(e.left instanceof Ne&&e.left.getValue()==""&&e.right.is_string(t))return e.right;if(e.left instanceof B&&e.left.operator=="+"&&e.left.left instanceof Ne&&e.left.left.getValue()==""&&e.right.is_string(t))return e.left=e.left.right,e}if(t.option("evaluate")){switch(e.operator){case"&&":var c=ln(e.left,2)?!0:ln(e.left,4)?!1:e.left.evaluate(t);if(c){if(!(c instanceof X))return Pe(e,[e.left,e.right]).optimize(t)}else return Ro(t.parent(),t.self(),e.left).optimize(t);var d=e.right.evaluate(t);if(d){if(!(d instanceof X)){var m=t.parent();if(m.operator=="&&"&&m.left===t.self()||t.in_boolean_context())return e.left.optimize(t)}}else{if(t.in_boolean_context())return Pe(e,[e.left,D(ei,e)]).optimize(t);sr(e,4)}if(e.left.operator=="||"){var g=e.left.right.evaluate(t);if(!g)return D(me,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t)}break;case"||":var c=ln(e.left,2)?!0:ln(e.left,4)?!1:e.left.evaluate(t);if(c){if(!(c instanceof X))return Ro(t.parent(),t.self(),e.left).optimize(t)}else return Pe(e,[e.left,e.right]).optimize(t);var d=e.right.evaluate(t);if(d){if(!(d instanceof X)){if(t.in_boolean_context())return Pe(e,[e.left,D(Qn,e)]).optimize(t);sr(e,2)}}else{var m=t.parent();if(m.operator=="||"&&m.left===t.self()||t.in_boolean_context())return e.left.optimize(t)}if(e.left.operator=="&&"){var g=e.left.right.evaluate(t);if(g&&!(g instanceof X))return D(me,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t)}break;case"??":if(Li(e.left,t))return e.right;var c=e.left.evaluate(t);if(!(c instanceof X))return c==null?e.right:e.left;if(t.in_boolean_context()){let T=e.right.evaluate(t);if(!(T instanceof X)&&!T)return e.left}}var b=!0;switch(e.operator){case"+":if(e.right instanceof ze&&e.left instanceof B&&e.left.operator=="+"&&e.left.is_string(t)){var h=D(B,e,{operator:"+",left:e.left.right,right:e.right}),w=h.optimize(t);h!==w&&(e=D(B,e,{operator:"+",left:e.left.left,right:w}))}if(e.left instanceof B&&e.left.operator=="+"&&e.left.is_string(t)&&e.right instanceof B&&e.right.operator=="+"&&e.right.is_string(t)){var h=D(B,e,{operator:"+",left:e.left.right,right:e.right.left}),l=h.optimize(t);h!==l&&(e=D(B,e,{operator:"+",left:D(B,e.left,{operator:"+",left:e.left.left,right:l}),right:e.right.right}))}if(e.right instanceof de&&e.right.operator=="-"&&e.left.is_number_or_bigint(t)){e=D(B,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof de&&e.left.operator=="-"&&n()&&e.right.is_number_or_bigint(t)){e=D(B,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof Ft){var u=e.left,w=e.right.evaluate(t);if(w!=e.right)return u.segments[u.segments.length-1].value+=String(w),u}if(e.right instanceof Ft){var w=e.right,u=e.left.evaluate(t);if(u!=e.left)return w.segments[0].value=String(u)+w.segments[0].value,w}if(e.left instanceof Ft&&e.right instanceof Ft){var u=e.left,v=u.segments,w=e.right;v[v.length-1].value+=w.segments[0].value;for(var y=1;y<w.segments.length;y++)v.push(w.segments[y]);return u}case"*":b=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number_or_bigint(t)&&e.right.is_number_or_bigint(t)&&n()&&!(e.left instanceof B&&e.left.operator!=e.operator&&Qr[e.left.operator]>=Qr[e.operator])){var S=D(B,e,{operator:e.operator,left:e.right,right:e.left});e.right instanceof ze&&!(e.left instanceof ze)?e=Hr(t,S,e):e=Hr(t,e,S)}b&&e.is_number_or_bigint(t)&&(e.right instanceof B&&e.right.operator==e.operator&&(e=D(B,e,{operator:e.operator,left:D(B,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof ze&&e.left instanceof B&&e.left.operator==e.operator&&(e.left.left instanceof ze?e=D(B,e,{operator:e.operator,left:D(B,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof ze&&(e=D(B,e,{operator:e.operator,left:D(B,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof B&&e.left.operator==e.operator&&e.left.right instanceof ze&&e.right instanceof B&&e.right.operator==e.operator&&e.right.left instanceof ze&&(e=D(B,e,{operator:e.operator,left:D(B,e.left,{operator:e.operator,left:D(B,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}if(bf.has(e.operator)){let f,_,T,O,A=e.left;if(e.operator==="&"&&e.right instanceof B&&e.right.operator==="|"&&typeof(_=e.left.evaluate(t))=="number"&&(typeof(f=e.right.right.evaluate(t))=="number"?(T=e.right.left,O=e.right.right):typeof(f=e.right.left.evaluate(t))=="number"&&(T=e.right.right,O=e.right.left),T&&O))if((f&_)===0)e=D(B,e,{operator:e.operator,left:A,right:T});else{let Z=D(B,e,{operator:"|",left:D(B,e,{operator:"&",left:T,right:A}),right:ur(f&_,O)});e=Hr(t,e,Z)}(e.operator==="|"||e.operator==="&")&&e.left.equivalent_to(e.right)&&!e.left.has_side_effects(t)&&t.in_32_bit_context(!0)&&(e.left=D(le,e,{value:0}),e.operator="|"),e.operator==="^"&&e.left instanceof de&&e.left.operator==="~"&&e.right instanceof de&&e.right.operator==="~"&&(e=D(B,e,{operator:"^",left:e.left.expression,right:e.right.expression})),(e.operator==="<<"||e.operator===">>")&&e.right instanceof le&&e.right.value===0&&(e.operator="|");let N=e.right instanceof le&&e.right.value===0?e.right:e.left instanceof le&&e.left.value===0?e.left:null,P=N&&(N===e.right?e.left:e.right);if(N&&(e.operator==="|"||e.operator==="^")&&(P.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return P;if(N&&e.operator==="&"&&!P.has_side_effects(t)&&P.is_32_bit_integer(t))return N;let L=Z=>Z instanceof le&&Z.value===-1||Z instanceof de&&Z.operator==="-"&&Z.expression instanceof le&&Z.expression.value===1,W=L(e.right)?e.right:L(e.left)?e.left:null,ae=W===e.right?e.left:e.right;if(W&&e.operator==="&"&&(ae.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return ae;if(W&&e.operator==="^"&&(ae.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return ae.bitwise_negate(t)}}if(e.right instanceof B&&e.right.operator==e.operator&&(so.has(e.operator)||e.operator=="+"&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=D(B,e.left,{operator:e.operator,left:e.left.transform(t),right:e.right.left.transform(t)}),e.right=e.right.right.transform(t),e.transform(t);var C=e.evaluate(t);return C!==e?(C=ur(C,e).optimize(t),Hr(t,C,e)):e});Ue(Zi,function(e){return e});Ue(Y,function(e,t){if(!t.option("ie8")&&Xr(e)&&!t.find_parent(sn))switch(e.name){case"undefined":return D(Eo,e).optimize(t);case"NaN":return D(fa,e).optimize(t);case"Infinity":return D(Ci,e).optimize(t)}return t.option("reduce_vars")&&!t.is_lhs()?IT(e,t):e});function yf(e,t){return e instanceof Y||e.TYPE===t.TYPE}function LT(e,t){if(t.option("unsafe_undefined")){var n=Em(t,"undefined");if(n){var r=D(Y,e,{name:"undefined",scope:n.scope,thedef:n});return sr(r,8),r}}return null}Ue(Eo,function(e,t){var n=LT(e,t);if(n)return n;var r=t.is_lhs();return r&&yf(r,e)?e:kt(e)});Ue(Ci,function(e,t){var n=t.is_lhs();return n&&yf(n,e)||t.option("keep_infinity")&&!(n&&!yf(n,e))&&!Em(t,"Infinity")?e:D(B,e,{operator:"/",left:D(le,e,{value:1}),right:D(le,e,{value:0})})});Ue(fa,function(e,t){var n=t.is_lhs();return n&&!yf(n,e)||Em(t,"NaN")?D(B,e,{operator:"/",left:D(le,e,{value:0}),right:D(le,e,{value:0})}):e});var A6=We("+ - / * % >> << >>> | ^ &"),R6=We("* | ^ &");Ue(Ae,function(e,t){if(e.logical)return e.lift_sequences(t);var n;if(e.operator==="="&&e.left instanceof Y&&e.left.name!=="arguments"&&!(n=e.left.definition()).undeclared&&e.right.equivalent_to(e.left))return e.right;if(t.option("dead_code")&&e.left instanceof Y&&(n=e.left.definition()).scope===t.find_parent(oe)){var r=0,i,o=e;do if(i=o,o=t.parent(r++),o instanceof Jn){if(a(r,o)||_f(n.scope,[n]))break;return e.operator=="="?e.right:(n.fixed=!1,D(B,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t))}while(o instanceof B&&o.right===i||o instanceof pe&&o.tail_node()===i)}return e=e.lift_sequences(t),e.operator=="="&&e.left instanceof Y&&e.right instanceof B&&(e.right.left instanceof Y&&e.right.left.name==e.left.name&&A6.has(e.right.operator)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof Y&&e.right.right.name==e.left.name&&R6.has(e.right.operator)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e;function a(s,c){function d(){let g=e.right;e.right=D(Bn,g);let b=c.may_throw(t);return e.right=g,b}for(var p=e.left.definition().scope.get_defun_scope(),m;(m=t.parent(s++))!==p;)if(m instanceof un&&(m.bfinally||m.bcatch&&d()))return!0}});Ue(on,function(e,t){if(!t.option("evaluate"))return e;var n=e.right.evaluate(t);let r,i;return n===void 0?(!((r=t.parent())instanceof oe)||t.option("keep_fargs")===!1||(i=t.parent(1)).TYPE==="Call"&&i.expression===r)&&(e=e.left):n!==e.right&&(n=ur(n,e.right),e.right=oo(n,e.right)),e});function w6(e,t,n){if(t.may_throw(n))return!1;let r;if(e instanceof B&&e.operator==="=="&&((r=Li(e.left,n)&&e.left)||(r=Li(e.right,n)&&e.right))&&(r===e.left?e.right:e.left).equivalent_to(t))return!0;if(e instanceof B&&e.operator==="||"){let i,o,a=s=>{if(!(s instanceof B&&(s.operator==="==="||s.operator==="==")))return!1;let c=0,d;return s.left instanceof Bn&&(c++,i=s,d=s.right),s.right instanceof Bn&&(c++,i=s,d=s.left),Bi(s.left,n)&&(c++,o=s,d=s.right),Bi(s.right,n)&&(c++,o=s,d=s.left),!(c!==1||!d.equivalent_to(t))};if(!a(e.left)||!a(e.right))return!1;if(i&&o&&i!==o)return!0}return!1}Ue(me,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof pe){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),Pe(e,n)}var r=e.condition.evaluate(t);if(r!==e.condition)return r?Ro(t.parent(),t.self(),e.consequent):Ro(t.parent(),t.self(),e.alternative);var i=r.negate(t,Wr(t));Hr(t,r,i)===i&&(e=D(me,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var o=e.condition,a=e.consequent,s=e.alternative;if(o instanceof Y&&a instanceof Y&&o.definition()===a.definition())return D(B,e,{operator:"||",left:o,right:s});if(a instanceof Ae&&s instanceof Ae&&a.operator===s.operator&&a.logical===s.logical&&a.left.equivalent_to(s.left)&&(!e.condition.has_side_effects(t)||a.operator=="="&&!a.left.has_side_effects(t)))return D(Ae,e,{operator:a.operator,left:a.left,logical:a.logical,right:D(me,e,{condition:e.condition,consequent:a.right,alternative:s.right})});var c;if(a instanceof ee&&s.TYPE===a.TYPE&&a.args.length>0&&a.args.length==s.args.length&&a.expression.equivalent_to(s.expression)&&!e.condition.has_side_effects(t)&&!a.expression.has_side_effects(t)&&typeof(c=h())=="number"){var d=a.clone();return d.args[c]=D(me,e,{condition:e.condition,consequent:a.args[c],alternative:s.args[c]}),d}if(s instanceof me&&a.equivalent_to(s.consequent))return D(me,e,{condition:D(B,e,{operator:"||",left:o,right:s.condition}),consequent:a,alternative:s.alternative}).optimize(t);if(t.option("ecma")>=2020&&w6(o,s,t))return D(B,e,{operator:"??",left:s,right:a}).optimize(t);if(s instanceof pe&&a.equivalent_to(s.expressions[s.expressions.length-1]))return Pe(e,[D(B,e,{operator:"||",left:o,right:Pe(e,s.expressions.slice(0,-1))}),a]).optimize(t);if(s instanceof B&&s.operator=="&&"&&a.equivalent_to(s.right))return D(B,e,{operator:"&&",left:D(B,e,{operator:"||",left:o,right:s.left}),right:a}).optimize(t);if(a instanceof me&&a.alternative.equivalent_to(s))return D(me,e,{condition:D(B,e,{left:e.condition,operator:"&&",right:a.condition}),consequent:a.consequent,alternative:s});if(a.equivalent_to(s))return Pe(e,[e.condition,a]).optimize(t);if(a instanceof B&&a.operator=="||"&&a.right.equivalent_to(s))return D(B,e,{operator:"||",left:D(B,e,{operator:"&&",left:e.condition,right:a.left}),right:s}).optimize(t);let p=t.in_boolean_context();if(g(e.consequent))return b(e.alternative)?m(e.condition):D(B,e,{operator:"||",left:m(e.condition),right:e.alternative});if(b(e.consequent))return g(e.alternative)?m(e.condition.negate(t)):D(B,e,{operator:"&&",left:m(e.condition.negate(t)),right:e.alternative});if(g(e.alternative))return D(B,e,{operator:"||",left:m(e.condition.negate(t)),right:e.consequent});if(b(e.alternative))return D(B,e,{operator:"&&",left:m(e.condition),right:e.consequent});return e;function m(w){return w.is_boolean()?w:D(de,w,{operator:"!",expression:w.negate(t)})}function g(w){return w instanceof Qn||p&&w instanceof ze&&w.getValue()||w instanceof de&&w.operator=="!"&&w.expression instanceof ze&&!w.expression.getValue()}function b(w){return w instanceof ei||p&&w instanceof ze&&!w.getValue()||w instanceof de&&w.operator=="!"&&w.expression instanceof ze&&w.expression.getValue()}function h(){for(var w=a.args,l=s.args,u=0,v=w.length;u<v;u++){if(w[u]instanceof Te)return;if(!w[u].equivalent_to(l[u])){if(l[u]instanceof Te)return;for(var y=u+1;y<v;y++)if(w[y]instanceof Te||!w[y].equivalent_to(l[y]))return;return u}}}});Ue(Js,function(e,t){if(t.in_boolean_context())return D(le,e,{value:+e.value});var n=t.parent();return t.option("booleans_as_integers")?(n instanceof B&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),D(le,e,{value:+e.value})):t.option("booleans")?n instanceof B&&(n.operator=="=="||n.operator=="!=")?D(le,e,{value:+e.value}):D(de,e,{operator:"!",expression:D(le,e,{value:1-e.value})}):e});function BT(e,t){return e instanceof Y&&(e=e.fixed_value()),e?!(e instanceof oe||e instanceof Oe)||!(e instanceof oe&&e.contains_this())?!0:t.parent()instanceof Xt:!1}se.DEFMETHOD("flatten_object",function(e,t){if(t.option("properties")&&e!=="__proto__"&&!(this instanceof Fn)){var n=t.option("unsafe_arrows")&&t.option("ecma")>=2015,r=this.expression;if(r instanceof Le)for(var i=r.properties,o=i.length;--o>=0;){var a=i[o];if(""+(a instanceof Gt?a.key.name:a.key)==e)return!i.every(c=>(c instanceof $e||n&&c instanceof Gt&&!c.value.is_generator)&&!c.computed_key())||!BT(a.value,t)?void 0:D(mt,this,{expression:D(Re,r,{elements:i.map(function(c){var d=c.value;d instanceof qr&&(d=D(Ze,d,d));var p=c.key;return p instanceof X&&!(p instanceof an)?Pe(c,[p,d]):d})}),property:D(le,this,{value:o})})}}});Ue(mt,function(e,t){var n=e.expression,r=e.property;if(t.option("properties")){var i=r.evaluate(t);if(i!==r){if(typeof i=="string")if(i=="undefined")i=void 0;else{var o=parseFloat(i);o.toString()==i&&(i=o)}r=e.property=oo(r,ur(i,r).transform(t));var a=""+i;if($a(a)&&a.length<=r.size()+1)return D(He,e,{expression:n,optional:e.optional,property:a,quote:r.quote}).optimize(t)}}var s;e:if(t.option("arguments")&&n instanceof Y&&n.name=="arguments"&&n.definition().orig.length==1&&(s=n.scope)instanceof oe&&s.uses_arguments&&!(s instanceof ot)&&r instanceof le){for(var c=r.getValue(),d=new Set,p=s.argnames,m=0;m<p.length;m++){if(!(p[m]instanceof xt))break e;var g=p[m].name;if(d.has(g))break e;d.add(g)}var b=s.argnames[c];if(b&&t.has_directive("use strict")){var h=b.definition();(!t.option("reduce_vars")||h.assignments||h.orig.length>1)&&(b=null)}else if(!b&&!t.option("keep_fargs")&&c<s.argnames.length+5)for(;c>=s.argnames.length;)b=s.create_symbol(xt,{source:s,scope:s,tentative_name:"argument_"+s.argnames.length}),s.argnames.push(b);if(b){var w=D(Y,e,b);return w.reference({}),Ao(b,1),w}}if(t.is_lhs())return e;if(i!==r){var l=e.flatten_object(a,t);l&&(n=e.expression=l.expression,r=e.property=l.property)}if(t.option("properties")&&t.option("side_effects")&&r instanceof le&&n instanceof Re){var c=r.getValue(),u=n.elements,v=u[c];e:if(BT(v,t)){for(var y=!0,S=[],C=u.length;--C>c;){var o=u[C].drop_side_effect_free(t);o&&(S.unshift(o),y&&o.has_side_effects(t)&&(y=!1))}if(v instanceof Te)break e;for(v=v instanceof jn?kt(v):v,y||S.unshift(v);--C>=0;){var o=u[C];if(o instanceof Te)break e;o=o.drop_side_effect_free(t),o?S.unshift(o):c--}return y?(S.push(v),Pe(e,S).optimize(t)):D(mt,e,{expression:D(Re,n,{elements:S}),property:D(le,r,{value:c})})}}var f=e.evaluate(t);return f!==e?(f=ur(f,e).optimize(t),Hr(t,f,e)):e});Ue(at,function(e,t){if(Li(e.expression,t)){let n=t.parent();return n instanceof de&&n.operator==="delete"?ur(0,e):kt(e).optimize(t)}return e.expression instanceof se||e.expression instanceof ee?e:e.expression});Ue(He,function(e,t){let n=t.parent();if(t.is_lhs())return e;if(t.option("unsafe_proto")&&e.expression instanceof He&&e.expression.property=="prototype"){var r=e.expression.expression;if(Xr(r))switch(r.name){case"Array":e.expression=D(Re,e.expression,{elements:[]});break;case"Function":e.expression=pf(e.expression);break;case"Number":e.expression=D(le,e.expression,{value:0});break;case"Object":e.expression=D(Le,e.expression,{properties:[]});break;case"RegExp":e.expression=D($t,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=D(Ne,e.expression,{value:""});break}}if(!(n instanceof ee)||!In(n,io)){let o=e.flatten_object(e.property,t);if(o)return o.optimize(t)}if(e.expression instanceof se&&n instanceof se)return e;let i=e.evaluate(t);return i!==e?(i=ur(i,e).optimize(t),Hr(t,i,e)):e});function Am(e,t){return t.in_boolean_context()?Hr(t,e,Pe(e,[e,D(Qn,e)]).optimize(t)):e}function UT(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof Te){var r=n.expression;r instanceof Re&&!r.elements.some(i=>i instanceof jn)&&(e.splice(t,1,...r.elements),t--)}}}Ue(Re,function(e,t){var n=Am(e,t);return n!==e?n:(UT(e.elements),e)});function D6(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof Te){let r=n.expression;r instanceof Le&&r.properties.every(i=>i instanceof $e)?(e.splice(t,1,...r.properties),t--):(r instanceof ze||r.is_constant())&&!(r instanceof Ne)&&(e.splice(t,1),t--)}}}Ue(Le,function(e,t){var n=Am(e,t);return n!==e?n:(D6(e.properties),e)});Ue($t,Am);Ue(pt,function(e,t){return e.value&&Bi(e.value,t)&&(e.value=null),e});Ue(ot,Tm);Ue(Ze,function(e,t){return e=Tm(e,t),t.option("unsafe_arrows")&&t.option("ecma")>=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()&&!yt(e,r=>{if(r instanceof Ot)return Un})?D(ot,e,e).optimize(t):e});Ue(Oe,function(e){for(let t=0;t<e.properties.length;t++){let n=e.properties[t];n instanceof Lt&&n.body.length==0&&(e.properties.splice(t,1),t--)}return e});Ue(Lt,function(e,t){return cc(e.body,t),e});Ue(vn,function(e,t){return e.expression&&!e.is_star&&Bi(e.expression,t)&&(e.expression=null),e});Ue(Ft,function(e,t){if(!t.option("evaluate")||t.parent()instanceof nr)return e;for(var n=[],r=0;r<e.segments.length;r++){var i=e.segments[r];if(i instanceof X){var o=i.evaluate(t);if(o!==i&&(o+"").length<=i.size()+3){n[n.length-1].value=n[n.length-1].value+o+e.segments[++r].value;continue}if(i instanceof Ft){var a=i.segments;n[n.length-1].value+=a[0].value;for(var s=1;s<a.length;s++)i=a[s],n.push(i);continue}}n.push(i)}if(e.segments=n,n.length==1)return D(Ne,e,n[0]);if(n.length===3&&n[1]instanceof X&&(n[1].is_string(t)||n[1].is_number_or_bigint(t)||Li(n[1],t)||t.option("unsafe"))){if(n[2].value==="")return D(B,e,{operator:"+",left:D(Ne,e,{value:n[0].value}),right:n[1]});if(n[0].value==="")return D(B,e,{operator:"+",left:n[1],right:D(Ne,e,{value:n[2].value})})}return e});Ue(nr,function(e){return e});function Rm(e,t){if(!t.option("computed_props")||!(e.key instanceof ze))return e;if(e.key instanceof Ne||e.key instanceof le){let n=e.key.value.toString();if(n==="__proto__"||n=="constructor"&&t.parent()instanceof Oe)return e;e instanceof $e?(e.quote=e.key.quote,e.key=n):e instanceof Rn?(e.quote=e.key.quote,e.key=D(Zr,e.key,{name:n})):(e.quote=e.key.quote,e.key=D(an,e.key,{name:n}))}return e}Ue(gt,Rm);Ue(Gt,function(e,t){if(Rm(e,t),t.option("arrows")&&t.parent()instanceof Le&&!e.value.is_generator&&!e.value.uses_arguments&&!e.value.pinned()&&e.value.body.length==1&&e.value.body[0]instanceof pt&&e.value.body[0].value&&!e.value.contains_this()){var n=D(ot,e.value,e.value);return n.async=e.value.async,n.is_generator=e.value.is_generator,D($e,e,{key:e.key instanceof an?e.key.name:e.key,value:n,quote:e.quote})}return e});Ue($e,function(e,t){Rm(e,t);var n=t.option("unsafe_methods");if(n&&t.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(e.key+""))){var r=e.key,i=e.value,o=i instanceof ot&&Array.isArray(i.body)&&!i.contains_this();if((o||i instanceof Ze)&&!i.name)return D(Gt,e,{key:r instanceof X?r:D(an,e,{name:r}),value:D(qr,i,i),quote:e.quote})}return e});Ue(Xe,function(e,t){if(t.option("pure_getters")==!0&&t.option("unused")&&!e.is_array&&Array.isArray(e.names)&&!o(t)&&!(e.names[e.names.length-1]instanceof Te)){for(var n=[],r=0;r<e.names.length;r++){var i=e.names[r];i instanceof $e&&typeof i.key=="string"&&i.value instanceof It&&!a(t,i.value.definition())||n.push(i)}n.length!=e.names.length&&(e.names=n)}return e;function o(s){for(var c=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],d=0,p=0,m=c.length;d<m;p++){var g=s.parent(p);if(!g)return!1;if(!(d===0&&g.TYPE=="Destructuring")){if(!c[d].test(g.TYPE))return!1;d++}}return!0}function a(s,c){return c.references.length?!0:c.global?s.toplevel.vars?s.top_retain?s.top_retain(c):!1:!0:!1}});var GT=44,C6=59,VT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",WT=new Uint8Array(64),HT=new Uint8Array(128);for(let e=0;e<VT.length;e++){let t=VT.charCodeAt(e);WT[e]=t,HT[t]=e}function fc(e,t){let n=0,r=0,i=0;do{let a=e.next();i=HT[a],n|=(i&31)<<r,r+=5}while(i&32);let o=n&1;return n>>>=1,o&&(n=-2147483648|-n),t+n}function dc(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let i=r&31;r>>>=5,r>0&&(i|=32),e.write(WT[i])}while(r>0);return t}function qT(e,t){return e.pos>=t?!1:e.peek()!==GT}var zT=1024*16,KT=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},O6=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(zT)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===zT&&(this.out+=KT.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+KT.decode(e.subarray(0,n)):t}},k6=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:n}=this,r=t.indexOf(e,n);return r===-1?t.length:r}};function XT(e){let{length:t}=e,n=new k6(e),r=[],i=0,o=0,a=0,s=0,c=0;do{let d=n.indexOf(";"),p=[],m=!0,g=0;for(i=0;n.pos<d;){let b;i=fc(n,i),i<g&&(m=!1),g=i,qT(n,d)?(o=fc(n,o),a=fc(n,a),s=fc(n,s),qT(n,d)?(c=fc(n,c),b=[i,o,a,s,c]):b=[i,o,a,s]):b=[i],p.push(b),n.pos++}m||x6(p),r.push(p),n.pos=d+1}while(n.pos<=t);return r}function x6(e){e.sort(I6)}function I6(e,t){return e[0]-t[0]}function Ef(e){let t=new O6,n=0,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(C6),s.length===0)continue;let c=0;for(let d=0;d<s.length;d++){let p=s[d];d>0&&t.write(GT),c=dc(t,p[0],c),p.length!==1&&(n=dc(t,p[1],n),r=dc(t,p[2],r),i=dc(t,p[3],i),p.length!==4&&(o=dc(t,p[4],o)))}}return t.flush()}var P6=/^[\w+.-]+:\/\//,N6=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,F6=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function M6(e){return P6.test(e)}function L6(e){return e.startsWith("//")}function YT(e){return e.startsWith("/")}function B6(e){return e.startsWith("file:")}function $T(e){return/^[.?#]/.test(e)}function Tf(e){let t=N6.exec(e);return QT(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function U6(e){let t=F6.exec(e),n=t[2];return QT("file:","",t[1]||"","",YT(n)?n:"/"+n,t[3]||"",t[4]||"")}function QT(e,t,n,r,i,o,a){return{scheme:e,user:t,host:n,port:r,path:i,query:o,hash:a,type:7}}function jT(e){if(L6(e)){let n=Tf("http:"+e);return n.scheme="",n.type=6,n}if(YT(e)){let n=Tf("http://foo.com"+e);return n.scheme="",n.host="",n.type=5,n}if(B6(e))return U6(e);if(M6(e))return Tf(e);let t=Tf("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function V6(e){if(e.endsWith("/.."))return e;let t=e.lastIndexOf("/");return e.slice(0,t+1)}function q6(e,t){JT(t,t.type),e.path==="/"?e.path=t.path:e.path=V6(t.path)+e.path}function JT(e,t){let n=t<=4,r=e.path.split("/"),i=1,o=0,a=!1;for(let c=1;c<r.length;c++){let d=r[c];if(!d){a=!0;continue}if(a=!1,d!=="."){if(d===".."){o?(a=!0,o--,i--):n&&(r[i++]=d);continue}r[i++]=d,o++}}let s="";for(let c=1;c<i;c++)s+="/"+r[c];(!s||a&&!s.endsWith("/.."))&&(s+="/"),e.path=s}function ZT(e,t){if(!e&&!t)return"";let n=jT(e),r=n.type;if(t&&r!==7){let o=jT(t),a=o.type;switch(r){case 1:n.hash=o.hash;case 2:n.query=o.query;case 3:case 4:q6(n,o);case 5:n.user=o.user,n.host=o.host,n.port=o.port;case 6:n.scheme=o.scheme}a>r&&(r=a)}JT(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let o=n.path.slice(1);return o?$T(t||e)&&!$T(o)?"./"+o+i:o+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}function z6(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}function K6(e,t){let n=z6(e),r=t?t+"/":"";return i=>ZT(r+(i||""),n)}var co=0,Dm=1,Cm=2,Om=3,tA=4,nA=1,rA=2;function G6(e,t){let n=eA(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=eA(e,r+1))e[r]=H6(e[r],t);return e}function eA(e,t){for(let n=t;n<e.length;n++)if(!W6(e[n]))return n;return e.length}function W6(e){for(let t=1;t<e.length;t++)if(e[t][co]<e[t-1][co])return!1;return!0}function H6(e,t){return t||(e=e.slice()),e.sort(iA)}function iA(e,t){return e[co]-t[co]}function X6(e,t){let n=t.map(()=>[]);for(let r=0;r<e.length;r++){let i=e[r];for(let o=0;o<i.length;o++){let a=i[o];if(a.length===1)continue;let s=a[Dm],c=a[Cm],d=a[Om],p=n[s];(p[c]||(p[c]=[])).push([d,r,a[co]])}}for(let r=0;r<n.length;r++){let i=n[r];for(let o=0;o<i.length;o++){let a=i[o];a&&a.sort(iA)}}return n}var ss=!1;function $6(e,t,n,r){for(;n<=r;){let i=n+(r-n>>1),o=e[i][co]-t;if(o===0)return ss=!0,i;o<0?n=i+1:r=i-1}return ss=!1,n-1}function oA(e,t,n){for(let r=n+1;r<e.length&&e[r][co]===t;n=r++);return n}function aA(e,t,n){for(let r=n-1;r>=0&&e[r][co]===t;n=r--);return n}function sA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j6(e,t,n,r){let{lastKey:i,lastNeedle:o,lastIndex:a}=n,s=0,c=e.length-1;if(r===i){if(t===o)return ss=a!==-1&&e[a][co]===t,a;t>=o?s=a===-1?0:a:c=a}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=$6(e,t,s,c)}function km(e){return typeof e=="string"?JSON.parse(e):e}var uA=function(e,t){let n=km(e);if(!("sections"in n))return new mc(n,t);let r=[],i=[],o=[],a=[],s=[];cA(n,t,r,i,o,a,s,0,0,1/0,1/0);let c={version:3,file:n.file,names:a,sources:i,sourcesContent:o,mappings:r,ignoreList:s};return Z6(c)};function cA(e,t,n,r,i,o,a,s,c,d,p){let{sections:m}=e;for(let g=0;g<m.length;g++){let{map:b,offset:h}=m[g],w=d,l=p;if(g+1<m.length){let u=m[g+1].offset;w=Math.min(d,s+u.line),w===d?l=Math.min(p,c+u.column):w<d&&(l=c+u.column)}Y6(b,t,n,r,i,o,a,s+h.line,c+h.column,w,l)}}function Y6(e,t,n,r,i,o,a,s,c,d,p){let m=km(e);if("sections"in m)return cA(...arguments);let g=new mc(m,t),b=r.length,h=o.length,w=cu(g),{resolvedSources:l,sourcesContent:u,ignoreList:v}=g;if(wm(r,l),wm(o,g.names),u)wm(i,u);else for(let y=0;y<l.length;y++)i.push(null);if(v)for(let y=0;y<v.length;y++)a.push(v[y]+b);for(let y=0;y<w.length;y++){let S=s+y;if(S>d)return;let C=Q6(n,S),f=y===0?c:0,_=w[y];for(let T=0;T<_.length;T++){let O=_[T],A=f+O[co];if(S===d&&A>=p)return;if(O.length===1){C.push([A]);continue}let N=b+O[Dm],P=O[Cm],L=O[Om];C.push(O.length===4?[A,N,P,L]:[A,N,P,L,h+O[tA]])}}}function wm(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function Q6(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}var lA="`line` must be greater than 0 (lines start at line 1)",fA="`column` must be greater than or equal to 0 (columns start at column 0)",Rf=-1,xm=1,mc=class{constructor(e,t){let n=typeof e=="string";if(!n&&e._decodedMemo)return e;let r=km(e),{version:i,file:o,names:a,sourceRoot:s,sources:c,sourcesContent:d}=r;this.version=i,this.file=o,this.names=a||[],this.sourceRoot=s,this.sources=c,this.sourcesContent=d,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;let p=K6(t,s);this.resolvedSources=c.map(p);let{mappings:m}=r;if(typeof m=="string")this._encoded=m,this._decoded=void 0;else if(Array.isArray(m))this._encoded=void 0,this._decoded=G6(m,n);else throw r.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(r)}`);this._decodedMemo=sA(),this._bySources=void 0,this._bySourceMemos=void 0}};function dA(e){var t,n;return(n=(t=e)._encoded)!=null?n:t._encoded=Ef(e._decoded)}function cu(e){var t;return(t=e)._decoded||(t._decoded=XT(e._encoded))}function pA(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw new Error(lA);if(r<0)throw new Error(fA);let o=cu(e);if(n>=o.length)return Af(null,null,null,null);let a=o[n],s=Im(a,e._decodedMemo,n,r,i||xm);if(s===-1)return Af(null,null,null,null);let c=a[s];if(c.length===1)return Af(null,null,null,null);let{names:d,resolvedSources:p}=e;return Af(p[c[Dm]],c[Cm]+1,c[Om],c.length===5?d[c[tA]]:null)}function mA(e,t){let{source:n,line:r,column:i,bias:o}=t;return bA(e,n,r,i,o||xm,!1)}function hA(e,t){let{source:n,line:r,column:i,bias:o}=t;return bA(e,n,r,i,o||Rf,!0)}function _A(e,t){let n=cu(e),{names:r,resolvedSources:i}=e;for(let o=0;o<n.length;o++){let a=n[o];for(let s=0;s<a.length;s++){let c=a[s],d=o+1,p=c[0],m=null,g=null,b=null,h=null;c.length!==1&&(m=i[c[1]],g=c[2]+1,b=c[3]),c.length===5&&(h=r[c[4]]),t({generatedLine:d,generatedColumn:p,source:m,originalLine:g,originalColumn:b,name:h})}}}function J6(e,t){let{sources:n,resolvedSources:r}=e,i=n.indexOf(t);return i===-1&&(i=r.indexOf(t)),i}function gA(e,t){let{sourcesContent:n}=e;if(n==null)return null;let r=J6(e,t);return r===-1?null:n[r]}function Z6(e,t){let n=new mc(e8(e,[]),t);return n._decoded=e.mappings,n}function e8(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function Af(e,t,n,r){return{source:e,line:t,column:n,name:r}}function pc(e,t){return{line:e,column:t}}function Im(e,t,n,r,i){let o=j6(e,r,t,n);return ss?o=(i===Rf?oA:aA)(e,r,o):i===Rf&&o++,o===-1||o===e.length?-1:o}function t8(e,t,n,r,i){let o=Im(e,t,n,r,xm);if(!ss&&i===Rf&&o++,o===-1||o===e.length)return[];let a=ss?r:e[o][co];ss||(o=aA(e,a,o));let s=oA(e,a,o),c=[];for(;o<=s;o++){let d=e[o];c.push(pc(d[nA]+1,d[rA]))}return c}function bA(e,t,n,r,i,o){var a,s;if(n--,n<0)throw new Error(lA);if(r<0)throw new Error(fA);let{sources:c,resolvedSources:d}=e,p=c.indexOf(t);if(p===-1&&(p=d.indexOf(t)),p===-1)return o?[]:pc(null,null);let m=(a=e)._bySourceMemos||(a._bySourceMemos=c.map(sA)),b=((s=e)._bySources||(s._bySources=X6(cu(e),m)))[p][n];if(b==null)return o?[]:pc(null,null);let h=m[p];if(o)return t8(b,h,n,r,i);let w=Im(b,h,n,r,i);if(w===-1)return pc(null,null);let l=b[w];return pc(l[nA]+1,l[rA])}var Pm=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function n8(e,t){return e._indexes[t]}function wf(e,t){let n=n8(e,t);if(n!==void 0)return n;let{array:r,_indexes:i}=e,o=r.push(t);return i[t]=o-1}var r8=0,i8=1,o8=2,a8=3,s8=4,yA=-1,Df=class{constructor({file:e,sourceRoot:t}={}){this._names=new Pm,this._sources=new Pm,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new Pm}};var EA=(e,t)=>p8(!0,e,t);function TA(e,t,n){let{_sources:r,_sourcesContent:i}=e,o=wf(r,t);i[o]=n}function Fm(e){let{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:o}=e;return l8(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:o.array}}function AA(e){let t=Fm(e);return Object.assign({},t,{mappings:Ef(t.mappings)})}function RA(e){let t=new mc(e),n=new Df({file:t.file,sourceRoot:t.sourceRoot});return Nm(n._names,t.names),Nm(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map(()=>null),n._mappings=cu(t),t.ignoreList&&Nm(n._ignoreList,t.ignoreList),n}function vA(e,t,n,r,i,o,a,s,c){let{_mappings:d,_sources:p,_sourcesContent:m,_names:g}=t,b=u8(d,n),h=c8(b,r);if(!i)return e&&f8(b,h)?void 0:SA(b,h,[r]);let w=wf(p,i),l=s?wf(g,s):yA;if(w===m.length&&(m[w]=c??null),!(e&&d8(b,h,w,o,a,l)))return SA(b,h,s?[r,w,o,a,l]:[r,w,o,a])}function u8(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}function c8(e,t){let n=e.length;for(let r=n-1;r>=0;n=r--){let i=e[r];if(t>=i[r8])break}return n}function SA(e,t,n){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=n}function l8(e){let{length:t}=e,n=t;for(let r=n-1;r>=0&&!(e[r].length>0);n=r,r--);n<t&&(e.length=n)}function Nm(e,t){for(let n=0;n<t.length;n++)wf(e,t[n])}function f8(e,t){return t===0?!0:e[t-1].length===1}function d8(e,t,n,r,i,o){if(t===0)return!1;let a=e[t-1];return a.length===1?!1:n===a[i8]&&r===a[o8]&&i===a[a8]&&o===(a.length===5?a[s8]:yA)}function p8(e,t,n){let{generated:r,source:i,original:o,name:a,content:s}=n;return i?vA(e,t,r.line-1,r.column,i,o.line-1,o.column,a,s):vA(e,t,r.line-1,r.column,null,null,null,null,null)}var wA=class Mm{constructor(t,n){let r=this._map=new uA(t,n);this.file=r.file,this.names=r.names,this.sourceRoot=r.sourceRoot,this.sources=r.resolvedSources,this.sourcesContent=r.sourcesContent,this.version=r.version}static fromSourceMap(t,n){return t.toDecodedMap?new Mm(t.toDecodedMap(),n):new Mm(t.toJSON(),n)}get mappings(){return dA(this._map)}originalPositionFor(t){return pA(this._map,t)}generatedPositionFor(t){return mA(this._map,t)}allGeneratedPositionsFor(t){return hA(this._map,t)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(let t of this.sourcesContent)if(t==null)return!1;return!0}sourceContentFor(t,n){let r=gA(this._map,t);if(r!=null)return r;if(n)return null;throw new Error(`"${t}" is not in the SourceMap.`)}eachMapping(t,n){_A(this._map,n?t.bind(n):t)}destroy(){}},DA=class CA{constructor(t){this._map=t instanceof Df?t:new Df(t)}static fromSourceMap(t){return new CA(RA(t))}addMapping(t){EA(this._map,t)}setSourceContent(t,n){TA(this._map,t,n)}toJSON(){return AA(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return Fm(this._map)}};function*OA(e){e=wr(e,{file:null,root:null,orig:null,files:{}});var t,n=new DA({file:e.file,sourceRoot:e.root});let r={__proto__:null},i=e.files;for(var o in i)hn(i,o)&&(r[o]=i[o]);e.orig&&(t=yield new wA(e.orig),t.sourcesContent&&t.sources.forEach(function(m,g){var b=t.sourcesContent[g];b&&(r[m]=b)}));function a(m,g,b,h,w,l){let u={line:g,column:b};if(t){var v=t.originalPositionFor({line:h,column:w});if(v.source===null){n.addMapping({generated:u,original:null,source:null,name:null});return}m=v.source,h=v.line,w=v.column,l=v.name||l}n.addMapping({generated:u,original:{line:h,column:w},source:m,name:l}),n.setSourceContent(m,r[m])}function s(m){return m.sourcesContent&&m.sourcesContent.every(b=>b==null)&&delete m.sourcesContent,m.file===void 0&&delete m.file,m.sourceRoot===void 0&&delete m.sourceRoot,m}function c(){return n.toDecodedMap?s(n.toDecodedMap()):null}function d(){return s(n.toJSON())}function p(){t&&t.destroy&&t.destroy()}return{add:a,getDecoded:c,getEncoded:d,destroy:p}}var kA=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-fill-mode","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-border-end","-moz-border-end-color","-moz-border-end-style","-moz-border-end-width","-moz-border-image","-moz-border-start","-moz-border-start-color","-moz-border-start-style","-moz-border-start-width","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-float-edge","-moz-font-feature-settings","-moz-font-language-override","-moz-force-broken-image-icon","-moz-hyphens","-moz-image-region","-moz-margin-end","-moz-margin-start","-moz-orient","-moz-osx-font-smoothing","-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-padding-end","-moz-padding-start","-moz-perspective","-moz-perspective-origin","-moz-tab-size","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transform-style","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-input","-moz-user-modify","-moz-user-select","-moz-window-dragging","-webkit-align-content","-webkit-align-items","-webkit-align-self","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-origin","-webkit-background-size","-webkit-border-bottom-left-radius","-webkit-border-bottom-right-radius","-webkit-border-image","-webkit-border-radius","-webkit-border-top-left-radius","-webkit-border-top-right-radius","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-shadow","-webkit-box-sizing","-webkit-clip-path","-webkit-filter","-webkit-flex","-webkit-flex-basis","-webkit-flex-direction","-webkit-flex-flow","-webkit-flex-grow","-webkit-flex-shrink","-webkit-flex-wrap","-webkit-font-feature-settings","-webkit-justify-content","-webkit-line-clamp","-webkit-mask","-webkit-mask-clip","-webkit-mask-composite","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-position","-webkit-mask-position-x","-webkit-mask-position-y","-webkit-mask-repeat","-webkit-mask-size","-webkit-order","-webkit-perspective","-webkit-perspective-origin","-webkit-text-fill-color","-webkit-text-security","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-transform","-webkit-transform-origin","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-select","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ACTIVE_UNIFORM_BLOCKS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALL","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALREADY_SIGNALED","ALT_MASK","ALWAYS","ANY_SAMPLES_PASSED","ANY_SAMPLES_PASSED_CONSERVATIVE","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AbortController","AbortSignal","AbsoluteOrientationSensor","AbstractRange","Accelerometer","AddSearchProvider","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","AnonXMLHttpRequest","Any","AnyPermissions","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","ArrayType","AsyncDisposableStack","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioData","AudioDecoder","AudioDestinationNode","AudioEncoder","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioSinkInfo","AudioStreamTrack","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BAD_REQUEST","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BackgroundFetchManager","BackgroundFetchRecord","BackgroundFetchRegistration","BarProp","BarcodeDetector","BaseAudioContext","BaseHref","BatteryManager","BeforeInstallPromptEvent","BeforeLoadEvent","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Bluetooth","BluetoothCharacteristicProperties","BluetoothDevice","BluetoothRemoteGATTCharacteristic","BluetoothRemoteGATTDescriptor","BluetoothRemoteGATTServer","BluetoothRemoteGATTService","BluetoothUUID","Boolean","BroadcastChannel","BrowserCaptureMediaStreamTrack","BrowserInfo","ByteLengthQueuingStrategy","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR","COLOR_ATTACHMENT0","COLOR_ATTACHMENT1","COLOR_ATTACHMENT10","COLOR_ATTACHMENT11","COLOR_ATTACHMENT12","COLOR_ATTACHMENT13","COLOR_ATTACHMENT14","COLOR_ATTACHMENT15","COLOR_ATTACHMENT2","COLOR_ATTACHMENT3","COLOR_ATTACHMENT4","COLOR_ATTACHMENT5","COLOR_ATTACHMENT6","COLOR_ATTACHMENT7","COLOR_ATTACHMENT8","COLOR_ATTACHMENT9","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPARE_REF_TO_TEXTURE","COMPILE_STATUS","COMPLETION_STATUS_KHR","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","COMPUTE","CONDITION_SATISFIED","CONFIGURATION_UNSUPPORTED","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COPY_DST","COPY_READ_BUFFER","COPY_READ_BUFFER_BINDING","COPY_SRC","COPY_WRITE_BUFFER","COPY_WRITE_BUFFER_BINDING","COUNTER_STYLE_RULE","CSPViolationReportBody","CSS","CSS2Properties","CSSAnimation","CSSCharsetRule","CSSConditionRule","CSSContainerRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSFontPaletteValuesRule","CSSFunctionDeclarations","CSSFunctionDescriptors","CSSFunctionRule","CSSGroupingRule","CSSImageValue","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSKeywordValue","CSSLayerBlockRule","CSSLayerStatementRule","CSSMarginRule","CSSMathClamp","CSSMathInvert","CSSMathMax","CSSMathMin","CSSMathNegate","CSSMathProduct","CSSMathSum","CSSMathValue","CSSMatrixComponent","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSNamespaceRule","CSSNestedDeclarations","CSSNumericArray","CSSNumericValue","CSSPageDescriptors","CSSPageRule","CSSPerspective","CSSPositionTryDescriptors","CSSPositionTryRule","CSSPositionValue","CSSPrimitiveValue","CSSPropertyRule","CSSRotate","CSSRule","CSSRuleList","CSSScale","CSSScopeRule","CSSSkew","CSSSkewX","CSSSkewY","CSSStartingStyleRule","CSSStyleDeclaration","CSSStyleProperties","CSSStyleRule","CSSStyleSheet","CSSStyleValue","CSSSupportsRule","CSSTransformComponent","CSSTransformValue","CSSTransition","CSSTranslate","CSSUnitValue","CSSUnknownRule","CSSUnparsedValue","CSSValue","CSSValueList","CSSVariableReferenceValue","CSSVariablesDeclaration","CSSVariablesRule","CSSViewTransitionRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_QUERY","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","Cache","CacheStorage","CanvasCaptureMediaStream","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaptureController","CaretPosition","ChannelMergerNode","ChannelSplitterNode","ChapterInformation","CharacterBoundsUpdateEvent","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","CloseWatcher","Collator","ColorArray","ColorValue","CommandEvent","Comment","CompileError","CompositionEvent","CompressionStream","Console","ConstantSourceNode","ContentVisibilityAutoStateChangeEvent","ContextFilter","ContextType","Controllers","ConvolverNode","CookieChangeEvent","CookieStore","CookieStoreManager","CountQueuingStrategy","Counter","CreateMonitor","CreateType","Credential","CredentialsContainer","CropTarget","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","CustomStateSet","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH","DEPTH24_STENCIL8","DEPTH32F_STENCIL8","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_COMPONENT24","DEPTH_COMPONENT32F","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DEVICE_INELIGIBLE","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DRAW_BUFFER0","DRAW_BUFFER1","DRAW_BUFFER10","DRAW_BUFFER11","DRAW_BUFFER12","DRAW_BUFFER13","DRAW_BUFFER14","DRAW_BUFFER15","DRAW_BUFFER2","DRAW_BUFFER3","DRAW_BUFFER4","DRAW_BUFFER5","DRAW_BUFFER6","DRAW_BUFFER7","DRAW_BUFFER8","DRAW_BUFFER9","DRAW_FRAMEBUFFER","DRAW_FRAMEBUFFER_BINDING","DST_ALPHA","DST_COLOR","DYNAMIC_COPY","DYNAMIC_DRAW","DYNAMIC_READ","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DecompressionStream","DelayNode","DelegatedInkTrailPresenter","DeprecationReportBody","DesktopNotification","DesktopNotificationCenter","Details","DeviceLightEvent","DeviceMotionEvent","DeviceMotionEventAcceleration","DeviceMotionEventRotationRate","DeviceOrientationEvent","DevicePosture","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","DigitalCredential","Directory","DisplayNames","DisposableStack","Document","DocumentFragment","DocumentPictureInPicture","DocumentPictureInPictureEvent","DocumentTimeline","DocumentType","DragEvent","Duration","DurationFormat","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","EditContext","Element","ElementInternals","ElementQuery","EncodedAudioChunk","EncodedVideoChunk","EnterPictureInPictureEvent","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventCounts","EventException","EventSource","EventTarget","Exception","ExtensionContext","ExtensionDisabledReason","ExtensionInfo","ExtensionInstallType","ExtensionType","External","EyeDropper","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_32_UNSIGNED_INT_24_8_REV","FLOAT_MAT2","FLOAT_MAT2x3","FLOAT_MAT2x4","FLOAT_MAT3","FLOAT_MAT3x2","FLOAT_MAT3x4","FLOAT_MAT4","FLOAT_MAT4x2","FLOAT_MAT4x3","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE","FRAMEBUFFER_ATTACHMENT_BLUE_SIZE","FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING","FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE","FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE","FRAMEBUFFER_ATTACHMENT_GREEN_SIZE","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_RED_SIZE","FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_DEFAULT","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_MULTISAMPLE","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","FeaturePolicy","FeaturePolicyViolationReportBody","FederatedCredential","Feed","FeedEntry","Fence","FencedFrameConfig","FetchLaterResult","File","FileError","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryHandle","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FileSystemFileHandle","FileSystemHandle","FileSystemObserver","FileSystemWritableFileStream","FinalizationRegistry","FindInPage","Float16Array","Float32Array","Float64Array","FocusEvent","FontData","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","FragmentDirective","Function","GENERATE_MIPMAP_HINT","GEQUAL","GPU","GPUAdapter","GPUAdapterInfo","GPUBindGroup","GPUBindGroupLayout","GPUBuffer","GPUBufferUsage","GPUCanvasContext","GPUColorWrite","GPUCommandBuffer","GPUCommandEncoder","GPUCompilationInfo","GPUCompilationMessage","GPUComputePassEncoder","GPUComputePipeline","GPUDevice","GPUDeviceLostInfo","GPUError","GPUExternalTexture","GPUInternalError","GPUMapMode","GPUOutOfMemoryError","GPUPipelineError","GPUPipelineLayout","GPUQuerySet","GPUQueue","GPURenderBundle","GPURenderBundleEncoder","GPURenderPassEncoder","GPURenderPipeline","GPUSampler","GPUShaderModule","GPUShaderStage","GPUSupportedFeatures","GPUSupportedLimits","GPUTexture","GPUTextureUsage","GPUTextureView","GPUUncapturedErrorEvent","GPUValidationError","GREATER","GREEN","GREEN_BITS","GainNode","Gamepad","GamepadAxisMoveEvent","GamepadButton","GamepadButtonEvent","GamepadEvent","GamepadHapticActuator","GamepadPose","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","GestureEvent","GetInfo","Global","GravitySensor","Gyroscope","HALF_FLOAT","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HID","HIDConnectionEvent","HIDDEN","HIDDevice","HIDInputReportEvent","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFencedFrameElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLSelectedContentElement","HTMLShadowElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","Highlight","HighlightRegistry","History","Hz","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRecord","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IIRFilterNode","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX","INDEX_SIZE_ERR","INDIRECT","INT","INTERLEAVED_ATTRIBS","INT_2_10_10_10_REV","INT_SAMPLER_2D","INT_SAMPLER_2D_ARRAY","INT_SAMPLER_3D","INT_SAMPLER_CUBE","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_INDEX","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","IconInfo","IdentityCredential","IdentityCredentialError","IdentityProvider","IdleDeadline","IdleDetector","Image","ImageBitmap","ImageBitmapRenderingContext","ImageCapture","ImageData","ImageDataType","ImageDecoder","ImageTrack","ImageTrackList","Infinity","Ink","InputDeviceCapabilities","InputDeviceInfo","InputEvent","InputMethodContext","InstallTrigger","InstallTriggerImpl","Instance","Instant","Int16Array","Int32Array","Int8Array","IntegrityViolationReportBody","Intent","InterestEvent","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","IsSearchProviderInstalled","Iterator","JSON","JSTag","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","Keyboard","KeyboardEvent","KeyboardLayoutMap","KeyframeEffect","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LanguageCode","LanguageDetector","LargestContentfulPaint","LaunchParams","LaunchQueue","LaunchType","LayoutShift","LayoutShiftAttribution","LinearAccelerationSensor","LinkError","ListFormat","LocalMediaStream","Locale","Location","Lock","LockManager","MAP_READ","MAP_WRITE","MARGIN_RULE","MAX","MAX_3D_TEXTURE_SIZE","MAX_ARRAY_TEXTURE_LAYERS","MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND","MAX_CLIENT_WAIT_TIMEOUT_WEBGL","MAX_COLOR_ATTACHMENTS","MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_COMBINED_UNIFORM_BLOCKS","MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_DRAW_BUFFERS","MAX_ELEMENTS_INDICES","MAX_ELEMENTS_VERTICES","MAX_ELEMENT_INDEX","MAX_FRAGMENT_INPUT_COMPONENTS","MAX_FRAGMENT_UNIFORM_BLOCKS","MAX_FRAGMENT_UNIFORM_COMPONENTS","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_PROGRAM_TEXEL_OFFSET","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_SAMPLES","MAX_SERVER_WAIT_TIMEOUT","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_LOD_BIAS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS","MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS","MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS","MAX_UNIFORM_BLOCK_SIZE","MAX_UNIFORM_BUFFER_BINDINGS","MAX_VALUE","MAX_VARYING_COMPONENTS","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_OUTPUT_COMPONENTS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_BLOCKS","MAX_VERTEX_UNIFORM_COMPONENTS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIDIAccess","MIDIConnectionEvent","MIDIInput","MIDIInputMap","MIDIMessageEvent","MIDIOutput","MIDIOutputMap","MIDIPort","MIN","MIN_PROGRAM_TEXEL_OFFSET","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MathMLElement","MediaCapabilities","MediaCapabilitiesInfo","MediaController","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSettingsRange","MediaSource","MediaSourceHandle","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackAudioSourceNode","MediaStreamTrackAudioStats","MediaStreamTrackEvent","MediaStreamTrackGenerator","MediaStreamTrackProcessor","MediaStreamTrackVideoStats","Memory","MessageChannel","MessageEvent","MessagePort","MessageSender","Methods","MimeType","MimeTypeArray","Module","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","MutedInfo","MutedInfoReason","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","NavigateEvent","Navigation","NavigationActivation","NavigationCurrentEntryChangeEvent","NavigationDestination","NavigationHistoryEntry","NavigationPrecommitController","NavigationPreloadManager","NavigationTransition","Navigator","NavigatorLogin","NavigatorManagedData","NavigatorUAData","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","NotRestoredReasonDetails","NotRestoredReasons","Notation","Notification","NotifyPaintEvent","Now","Number","NumberFormat","OBJECT_TYPE","OBSOLETE","OK","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OTHER_ERROR","OTPCredential","OUT_OF_MEMORY","Object","Observable","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","OffscreenCanvas","OffscreenCanvasRenderingContext2D","OnClickData","OnInstalledReason","OnPerformanceWarningCategory","OnPerformanceWarningSeverity","OnRestartRequiredReason","Option","OrientationSensor","OscillatorNode","OverconstrainedError","OverflowEvent","PACK_ALIGNMENT","PACK_ROW_LENGTH","PACK_SKIP_PIXELS","PACK_SKIP_ROWS","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PIXEL_PACK_BUFFER","PIXEL_PACK_BUFFER_BINDING","PIXEL_UNPACK_BUFFER","PIXEL_UNPACK_BUFFER_BINDING","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageRevealEvent","PageSettings","PageSwapEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","PasswordCredential","Path2D","PaymentAddress","PaymentInstruments","PaymentManager","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceElementTiming","PerformanceEntry","PerformanceEventTiming","PerformanceLongAnimationFrameTiming","PerformanceLongTaskTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceScriptTiming","PerformanceServerTiming","PerformanceTiming","PeriodicSyncManager","PeriodicWave","PermissionStatus","Permissions","PhotoCapabilities","PictureInPictureEvent","PictureInPictureWindow","PlainDate","PlainDateTime","PlainMonthDay","PlainTime","PlainYearMonth","PlatformArch","PlatformInfo","PlatformNaclArch","PlatformOs","Plugin","PluginArray","PluralRules","PointerEvent","PopStateEvent","PopupBlockedEvent","Port","Presentation","PresentationAvailability","PresentationConnection","PresentationConnectionAvailableEvent","PresentationConnectionCloseEvent","PresentationConnectionList","PresentationReceiver","PresentationRequest","PressureObserver","PressureRecord","ProcessingInstruction","Profiler","ProgressEvent","Promise","PromiseRejectionEvent","PropertyNodeList","ProtectedAudience","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","Q","QUERY_RESOLVE","QUERY_RESULT","QUERY_RESULT_AVAILABLE","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","QuotaExceededError","R11F_G11F_B10F","R16F","R16I","R16UI","R32F","R32I","R32UI","R8","R8I","R8UI","R8_SNORM","RASTERIZER_DISCARD","READ","READ_BUFFER","READ_FRAMEBUFFER","READ_FRAMEBUFFER_BINDING","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED","RED_BITS","RED_INTEGER","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_SAMPLES","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","RENDER_ATTACHMENT","REPEAT","REPLACE","RG","RG16F","RG16I","RG16UI","RG32F","RG32I","RG32UI","RG8","RG8I","RG8UI","RG8_SNORM","RGB","RGB10_A2","RGB10_A2UI","RGB16F","RGB16I","RGB16UI","RGB32F","RGB32I","RGB32UI","RGB565","RGB5_A1","RGB8","RGB8I","RGB8UI","RGB8_SNORM","RGB9_E5","RGBA","RGBA16F","RGBA16I","RGBA16UI","RGBA32F","RGBA32I","RGBA32UI","RGBA4","RGBA8","RGBA8I","RGBA8UI","RGBA8_SNORM","RGBA_INTEGER","RGBColor","RGB_INTEGER","RG_INTEGER","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCEncodedAudioFrame","RTCEncodedVideoFrame","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpScriptTransform","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","RangeException","ReadableByteStreamController","ReadableStream","ReadableStreamBYOBReader","ReadableStreamBYOBRequest","ReadableStreamDefaultController","ReadableStreamDefaultReader","RecordErrorEvent","Rect","ReferenceError","Reflect","RegExp","RelativeOrientationSensor","RelativeTimeFormat","RemotePlayback","Report","ReportBody","ReportingObserver","Request","RequestUpdateCheckStatus","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","RestrictionTarget","RuntimeError","SAMPLER_2D","SAMPLER_2D_ARRAY","SAMPLER_2D_ARRAY_SHADOW","SAMPLER_2D_SHADOW","SAMPLER_3D","SAMPLER_BINDING","SAMPLER_CUBE","SAMPLER_CUBE_SHADOW","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SEPARATE_ATTRIBS","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SIGNALED","SIGNED_NORMALIZED","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","SRGB","SRGB8","SRGB8_ALPHA8","START_TO_END","START_TO_START","STATIC_COPY","STATIC_DRAW","STATIC_READ","STENCIL","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STORAGE","STORAGE_BINDING","STREAM_COPY","STREAM_DRAW","STREAM_READ","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_LIGHTER","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_AUTO_START_REVERSE","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNC_CONDITION","SYNC_FENCE","SYNC_FLAGS","SYNC_FLUSH_COMMANDS_BIT","SYNC_GPU_COMMANDS_COMPLETE","SYNC_STATUS","SYNTAX_ERR","SavedPages","Scheduler","Scheduling","Screen","ScreenDetailed","ScreenDetails","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","ScrollTimeline","SecurityPolicyViolationEvent","Segmenter","Selection","Sensor","SensorErrorEvent","Serial","SerialPort","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedArrayBuffer","SharedStorage","SharedStorageAppendMethod","SharedStorageClearMethod","SharedStorageDeleteMethod","SharedStorageModifierMethod","SharedStorageSetMethod","SharedStorageWorklet","SharedWorker","SharingState","SimpleGestureEvent","SnapEvent","SourceBuffer","SourceBufferList","SpeechGrammar","SpeechGrammarList","SpeechRecognition","SpeechRecognitionErrorEvent","SpeechRecognitionEvent","SpeechRecognitionPhrase","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","StopIteration","Storage","StorageBucket","StorageBucketManager","StorageEvent","StorageManager","String","StructType","StylePropertyMap","StylePropertyMapReadOnly","StyleSheet","StyleSheetList","SubmitEvent","Subscriber","SubtleCrypto","Summarizer","SuppressedError","SuspendError","Suspending","Symbol","SyncManager","SyntaxError","TAB_ID_NONE","TAB_INDEX_NONE","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_2D_ARRAY","TEXTURE_3D","TEXTURE_BASE_LEVEL","TEXTURE_BINDING","TEXTURE_BINDING_2D","TEXTURE_BINDING_2D_ARRAY","TEXTURE_BINDING_3D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_COMPARE_FUNC","TEXTURE_COMPARE_MODE","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_IMMUTABLE_FORMAT","TEXTURE_IMMUTABLE_LEVELS","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MAX_LEVEL","TEXTURE_MAX_LOD","TEXTURE_MIN_FILTER","TEXTURE_MIN_LOD","TEXTURE_WRAP_R","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TIMEOUT_EXPIRED","TIMEOUT_IGNORED","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRANSFORM_FEEDBACK","TRANSFORM_FEEDBACK_ACTIVE","TRANSFORM_FEEDBACK_BINDING","TRANSFORM_FEEDBACK_BUFFER","TRANSFORM_FEEDBACK_BUFFER_BINDING","TRANSFORM_FEEDBACK_BUFFER_MODE","TRANSFORM_FEEDBACK_BUFFER_SIZE","TRANSFORM_FEEDBACK_BUFFER_START","TRANSFORM_FEEDBACK_PAUSED","TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN","TRANSFORM_FEEDBACK_VARYINGS","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Tab","TabStatus","Table","Tag","TaskAttributionTiming","TaskController","TaskPriorityChangeEvent","TaskSignal","Temporal","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextEvent","TextFormat","TextFormatUpdateEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TextUpdateEvent","TimeEvent","TimeRanges","ToggleEvent","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransformStreamDefaultController","TransitionEvent","Translator","TreeWalker","TrustedHTML","TrustedScript","TrustedScriptURL","TrustedTypePolicy","TrustedTypePolicyFactory","TypeError","TypedObject","U2F","UIEvent","UNCACHED","UNIFORM","UNIFORM_ARRAY_STRIDE","UNIFORM_BLOCK_ACTIVE_UNIFORMS","UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES","UNIFORM_BLOCK_BINDING","UNIFORM_BLOCK_DATA_SIZE","UNIFORM_BLOCK_INDEX","UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER","UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER","UNIFORM_BUFFER","UNIFORM_BUFFER_BINDING","UNIFORM_BUFFER_OFFSET_ALIGNMENT","UNIFORM_BUFFER_SIZE","UNIFORM_BUFFER_START","UNIFORM_IS_ROW_MAJOR","UNIFORM_MATRIX_STRIDE","UNIFORM_OFFSET","UNIFORM_SIZE","UNIFORM_TYPE","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_IMAGE_HEIGHT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_ROW_LENGTH","UNPACK_SKIP_IMAGES","UNPACK_SKIP_PIXELS","UNPACK_SKIP_ROWS","UNSCHEDULED_STATE","UNSENT","UNSIGNALED","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_INT_10F_11F_11F_REV","UNSIGNED_INT_24_8","UNSIGNED_INT_2_10_10_10_REV","UNSIGNED_INT_5_9_9_9_REV","UNSIGNED_INT_SAMPLER_2D","UNSIGNED_INT_SAMPLER_2D_ARRAY","UNSIGNED_INT_SAMPLER_3D","UNSIGNED_INT_SAMPLER_CUBE","UNSIGNED_INT_VEC2","UNSIGNED_INT_VEC3","UNSIGNED_INT_VEC4","UNSIGNED_NORMALIZED","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLPattern","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","USB","USBAlternateInterface","USBConfiguration","USBConnectionEvent","USBDevice","USBEndpoint","USBInTransferResult","USBInterface","USBIsochronousInTransferPacket","USBIsochronousInTransferResult","USBIsochronousOutTransferPacket","USBIsochronousOutTransferResult","USBOutTransferResult","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UpdateFilter","UpdatePropertyName","UserActivation","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX","VERTEX_ARRAY_BINDING","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_INTEGER","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VRDisplay","VRDisplayCapabilities","VRDisplayEvent","VREyeParameters","VRFieldOfView","VRFrameData","VRPose","VRStageParameters","VTTCue","VTTRegion","ValidityState","VideoColorSpace","VideoDecoder","VideoEncoder","VideoFrame","VideoPlaybackQuality","VideoStreamTrack","ViewTimeline","ViewTransition","ViewTransitionTypeSet","ViewType","Viewport","VirtualKeyboard","VirtualKeyboardGeometryChangeEvent","VisibilityStateEntry","VisualViewport","WAIT_FAILED","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WGSLLanguageFeatures","WINDOW_ID_CURRENT","WINDOW_ID_NONE","WRITE","WRONG_DOCUMENT_ERR","WakeLock","WakeLockSentinel","WasmAnyRef","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLObject","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArray","WebGLVertexArrayObject","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WebSocketError","WebSocketStream","WebTransport","WebTransportBidirectionalStream","WebTransportDatagramDuplexStream","WebTransportError","WebTransportReceiveStream","WebTransportSendStream","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxAlign","WebkitBoxDirection","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitBoxOrient","WebkitBoxPack","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitJustifyContent","WebkitLineClamp","WebkitMask","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskSize","WebkitOrder","WebkitPerspective","WebkitPerspectiveOrigin","WebkitTextFillColor","WebkitTextSecurity","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserSelect","WheelEvent","Window","WindowControlsOverlay","WindowControlsOverlayGeometryChangeEvent","WindowState","WindowType","Worker","Worklet","WritableStream","WritableStreamDefaultController","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XRAnchor","XRAnchorSet","XRBoundedReferenceSpace","XRCPUDepthInformation","XRCamera","XRDOMOverlayState","XRDepthInformation","XRFrame","XRHand","XRHitTestResult","XRHitTestSource","XRInputSource","XRInputSourceArray","XRInputSourceEvent","XRInputSourcesChangeEvent","XRJointPose","XRJointSpace","XRLayer","XRLightEstimate","XRLightProbe","XRPose","XRRay","XRReferenceSpace","XRReferenceSpaceEvent","XRRenderState","XRRigidTransform","XRSession","XRSessionEvent","XRSpace","XRSystem","XRTransientInputHitTestResult","XRTransientInputHitTestSource","XRView","XRViewerPose","XRViewport","XRWebGLBinding","XRWebGLDepthInformation","XRWebGLLayer","XSLTProcessor","ZERO","ZonedDateTime","ZoomSettings","ZoomSettingsMode","ZoomSettingsScope","_XD0M_","_YD0M_","__REACT_DEVTOOLS_GLOBAL_HOOK__","__brand","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","aborted","aboutConfigPrefs","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accent-color","accentColor","accept","acceptCharset","acceptNode","access","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","actions","activated","activation","activationStart","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","activeVRDisplays","activeViewTransition","activityLog","actualBoundingBoxAscent","actualBoundingBoxDescent","actualBoundingBoxLeft","actualBoundingBoxRight","adAuctionComponents","adAuctionHeaders","adapterInfo","add","addAll","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addModule","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTeardown","addTextTrack","addTrack","addTransceiver","addWakeLockListener","added","addedNodes","additionalName","additiveSymbols","addons","address","addressLine","addressModeU","addressModeV","addressModeW","adopt","adoptNode","adoptedCallback","adoptedStyleSheets","adr","advance","after","alarms","album","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allocationSize","allow","allowFullscreen","allowPaymentRequest","allowedDirections","allowedFeatures","allowedToPlay","allowsFeature","alpha","alphaMode","alphaToCoverageEnabled","alphabeticBaseline","alt","altGraphKey","altHtml","altKey","altLeft","alternate","alternateSetting","alternates","altitude","altitudeAccuracy","altitudeAngle","amplitude","ancestorOrigins","anchor","anchorName","anchorNode","anchorOffset","anchorScope","anchorSpace","anchors","and","angle","angularAcceleration","angularVelocity","animVal","animate","animated","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","annotation","antialias","anticipatedRemoval","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","appearance","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","applicationServerKey","apply","applyConstraints","applyElement","arc","arcTo","arch","architecture","archive","areas","arguments","ariaActiveDescendantElement","ariaAtomic","ariaAutoComplete","ariaBrailleLabel","ariaBrailleRoleDescription","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColIndexText","ariaColSpan","ariaControlsElements","ariaCurrent","ariaDescribedByElements","ariaDescription","ariaDetailsElements","ariaDisabled","ariaErrorMessageElements","ariaExpanded","ariaFlowToElements","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledByElements","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaNotify","ariaOrientation","ariaOwnsElements","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowIndexText","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","arrayBuffer","arrayLayerCount","arrayStride","artist","artwork","as","asIntN","asUintN","ascentOverride","asin","asinh","aspect","aspect-ratio","aspectRatio","assert","assign","assignedElements","assignedNodes","assignedSlot","async","asyncDispose","asyncIterator","at","atEnd","atan","atan2","atanh","atob","attachEvent","attachInternals","attachShader","attachShadow","attachedElements","attachments","attack","attestationObject","attrChange","attrName","attributeChangedCallback","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributeStyleMap","attributes","attribution","attributionSrc","audioBitrateMode","audioBitsPerSecond","audioTracks","audioWorklet","authenticatedSignedWrites","authenticatorAttachment","authenticatorData","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","automationRate","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","averageLatency","aversion","ax","axes","axis","ay","azimuth","azimuthAngle","b","back","backdrop-filter","backdropFilter","backends","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundFetch","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","badge","balance","baseArrayLayer","baseFrequencyX","baseFrequencyY","baseLatency","baseLayer","baseMipLevel","baseNode","baseOffset","basePalette","baseURI","baseVal","baseline-source","baselineShift","baselineSource","batchUpdate","battery","bday","before","beginComputePass","beginElement","beginElementAt","beginOcclusionQuery","beginPath","beginQuery","beginRenderPass","beginTransformFeedback","beginningOfPassWriteIndex","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","bigint64","biguint64","binaryType","bind","bindAttribLocation","bindBuffer","bindBufferBase","bindBufferRange","bindFramebuffer","bindGroupLayouts","bindRenderbuffer","bindSampler","bindTexture","bindTransformFeedback","bindVertexArray","binding","bitness","blend","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blitFramebuffer","blob","block-size","blockDirection","blockSize","blockedURI","blockedURL","blocking","blockingDuration","blue","bluetooth","blur","body","bodyUsed","bold","bookmarks","booleanValue","boost","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderBoxSize","borderCollapse","borderColor","borderColorDark","borderColorLight","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingRect","boundingTop","boundingWidth","bounds","boundsGeometry","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","brand","brands","break-after","break-before","break-inside","breakAfter","breakBefore","breakInside","broadcast","browser","browserLanguage","browserSettings","browsingData","browsingTopics","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","bufferedAmountLowThreshold","buffers","buildID","buildNumber","button","buttonID","buttons","byobRequest","byteLength","byteOffset","bytes","bytesPerRow","bytesWritten","c","cache","caches","calendar","call","caller","camera","canBeFormatted","canBeMounted","canBeShared","canConstructInDedicatedWorker","canGoBack","canGoForward","canHaveChildren","canHaveHTML","canInsertDTMF","canIntercept","canLoadAdAuctionFencedFrame","canLoadOpaqueURL","canMakePayment","canParse","canPlayType","canPresent","canShare","canTransition","canTrickleIceCandidates","cancel","cancelAndHoldAtTime","cancelAnimationFrame","cancelBubble","cancelIdleCallback","cancelScheduledValues","cancelVideoFrameCallback","cancelWatchAvailability","cancelable","candidate","canonicalUUID","canvas","cap","capabilities","caption","caption-side","captionSide","captivePortal","capture","captureEvents","captureStackTrace","captureStream","captureTab","captureVisibleTab","caret-color","caretBidiLevel","caretColor","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cause","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changeType","changed","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","chapterInfo","char","charAt","charCode","charCodeAt","charIndex","charLength","characterBounds","characterBoundsRangeStart","characterData","characterDataOldValue","characterSet","characterVariant","characteristic","charging","chargingTime","charset","check","checkDCE","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checkVisibility","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","city","claimInterface","claimed","classList","className","classid","clear","clearAppBadge","clearAttributes","clearBuffer","clearBufferfi","clearBufferfv","clearBufferiv","clearBufferuiv","clearColor","clearData","clearDepth","clearHalt","clearImmediate","clearInterval","clearLiveSeekableRange","clearMarks","clearMaxGCPauseAccumulator","clearMeasures","clearOriginJoinedAdInterestGroups","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearValue","clearWatch","click","clickCount","clientDataJSON","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWaitSync","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboard","clipboardData","clonable","clone","cloneContents","cloneNode","cloneRange","close","closeCode","closePath","closed","closedBy","closest","clz","clz32","cm","cmp","code","codeBase","codePointAt","codeType","codedHeight","codedRect","codedWidth","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","collections","colno","color","color-adjust","color-interpolation","color-interpolation-filters","color-scheme","colorAdjust","colorAttachments","colorDepth","colorFormats","colorInterpolation","colorInterpolationFilters","colorMask","colorScheme","colorSpace","colorType","cols","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commandForElement","commands","commit","commitLoadTime","commitPreferences","commitStyles","committed","commonAncestorContainer","compact","compare","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareExchange","compareNode","comparePoint","compatMode","compatible","compile","compileShader","compileStreaming","complete","completed","component","componentFromPoint","composed","composedPath","composite","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexImage3D","compressedTexSubImage2D","compressedTexSubImage3D","compute","computedStyleMap","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","config","configURL","configurable","configuration","configurationName","configurationValue","configurations","configure","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","congestionControl","connect","connectEnd","connectNative","connectShark","connectStart","connected","connectedCallback","connectedMoveCallback","connection","connectionInfo","connectionList","connectionSpeed","connectionState","connections","console","consolidate","constants","constraint","constrictionActive","construct","constructor","contactID","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","container-name","container-type","containerId","containerName","containerQuery","containerSrc","containerType","contains","containsNode","content","content-visibility","contentBoxSize","contentDocument","contentEditable","contentEncoding","contentHint","contentOverflow","contentRect","contentScriptType","contentStyleType","contentType","contentVisibility","contentWindow","context","contextId","contextIds","contextMenu","contextMenus","contextType","contextTypes","contextmenu","contextualIdentities","continue","continuePrimaryKey","continuous","control","controlTransferIn","controlTransferOut","controller","controls","controlsList","convertPointFromNode","convertQuadFromNode","convertRectFromNode","convertToBlob","convertToSpecifiedUnits","cookie","cookieEnabled","cookieStore","cookies","coords","copyBufferSubData","copyBufferToBuffer","copyBufferToTexture","copyExternalImageToTexture","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyTexSubImage3D","copyTextureToBuffer","copyTextureToTexture","copyTo","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","corruptedVideoFrames","cos","cosh","count","countReset","counter-increment","counter-reset","counter-set","counterIncrement","counterReset","counterSet","country","cpuClass","cpuSleepAllowed","cqb","cqh","cqi","cqmax","cqmin","cqw","create","createAnalyser","createAnchor","createAnswer","createAttribute","createAttributeNS","createAuctionNonce","createBidirectionalStream","createBindGroup","createBindGroupLayout","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createCommandEncoder","createComment","createComputePipeline","createComputePipelineAsync","createConicGradient","createConstantSource","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEncodedStreams","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTML","createHTMLDocument","createIIRFilter","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMediaStreamTrackSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPipelineLayout","createPolicy","createPopup","createProcessingInstruction","createProgram","createQuery","createQuerySet","createRadialGradient","createRange","createRangeCollection","createReader","createRenderBundleEncoder","createRenderPipeline","createRenderPipelineAsync","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createSampler","createScript","createScriptProcessor","createScriptURL","createSession","createShader","createShaderModule","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTask","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTransformFeedback","createTreeWalker","createUnidirectionalStream","createVertexArray","createView","createWaveShaper","createWorklet","createWritable","creationTime","credentialless","credentials","criticalCHRestart","cropTo","crossOrigin","crossOriginIsolated","crypto","csi","csp","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","cullMode","currentCSSZoom","currentDirection","currentEntry","currentLocalDescription","currentNode","currentPage","currentRect","currentRemoteDescription","currentScale","currentScreen","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customElements","customError","cx","cy","d","data","dataFld","dataFormatAs","dataLoss","dataLossMessage","dataPageSize","dataSrc","dataTransfer","database","databases","datagrams","dataset","dateStyle","dateTime","day","dayPeriod","days","db","debug","debuggerEnabled","declarativeNetRequest","declare","decode","decodeAudioData","decodeQueueSize","decodeURI","decodeURIComponent","decodedBodySize","decoding","decodingInfo","decreaseZoomLevel","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPolicy","defaultPrevented","defaultQueue","defaultRequest","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","define","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","deg","delay","delayTime","delegatesFocus","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteProperty","deleteQuery","deleteRenderbuffer","deleteRow","deleteRule","deleteSampler","deleteShader","deleteSync","deleteTFoot","deleteTHead","deleteTexture","deleteTransformFeedback","deleteVertexArray","deleted","deliverChangeRecords","deliveredFrames","deliveredFramesDuration","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","deliveryType","delta","deltaMode","deltaX","deltaY","deltaZ","dependentLocality","deprecatedReplaceInURN","deprecatedRunAdAuctionEnforcesKAnonymity","deprecatedURNToURL","depthActive","depthBias","depthBiasClamp","depthBiasSlopeScale","depthClearValue","depthCompare","depthDataFormat","depthFailOp","depthFar","depthFunc","depthLoadOp","depthMask","depthNear","depthOrArrayLayers","depthRange","depthReadOnly","depthStencil","depthStencilAttachment","depthStencilFormat","depthStoreOp","depthType","depthUsage","depthWriteEnabled","deref","deriveBits","deriveKey","descentOverride","description","deselectAll","designMode","desiredSize","destination","destinationURL","destroy","detach","detachEvent","detachShader","detached","detail","details","detect","detectLanguage","detune","device","deviceClass","deviceId","deviceMemory","devicePixelContentBoxSize","devicePixelRatio","devicePosture","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","deviceXDPI","deviceYDPI","devtools","devtools_panels","didTimeout","difference","diffuseConstant","digest","dimension","dimensions","dir","dirName","direction","dirxml","disable","disablePictureInPicture","disableRemotePlayback","disableVertexAttribArray","disabled","discard","discardedFrames","dischargingTime","disconnect","disconnectShark","disconnectedCallback","dispatchEvent","dispatchWorkgroups","dispatchWorkgroupsIndirect","display","displayHeight","displayId","displayName","displayWidth","dispose","disposeAsync","disposed","disposition","distanceModel","div","divisor","djsapi","djsproxy","dns","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentId","documentIds","documentLifecycle","documentMode","documentOrigin","documentOrigins","documentPictureInPicture","documentURI","documentURL","documentUrl","documentUrls","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","dom","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domOverlayState","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","dotAll","downDegrees","downlink","download","downloadRequest","downloadTotal","downloaded","downloads","dpcm","dpi","dppx","dragDrop","draggable","draw","drawArrays","drawArraysInstanced","drawArraysInstancedANGLE","drawBuffers","drawCustomFocusRing","drawElements","drawElementsInstanced","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawIndexed","drawIndexedIndirect","drawIndirect","drawRangeElements","drawSystemFocusRing","drawingBufferColorSpace","drawingBufferFormat","drawingBufferHeight","drawingBufferStorage","drawingBufferWidth","drop","dropEffect","droppedVideoFrames","dropzone","dstFactor","dtmf","dump","dumpProfile","duplex","duplicate","durability","duration","dvb","dvh","dvi","dvmax","dvmin","dvname","dvnum","dvw","dx","dy","dynamicId","dynsrc","e","edgeMode","editContext","effect","effectAllowed","effectiveDirective","effectiveType","effects","elapsedTime","element","elementFromPoint","elementTiming","elements","elementsFromPoint","elevation","ellipse","em","emHeightAscent","emHeightDescent","email","embeds","emit","emma","empty","empty-cells","emptyCells","emptyHTML","emptyScript","emulatedPosition","enable","enableBackground","enableDelegations","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledFeatures","enabledPlugin","encode","encodeInto","encodeQueueSize","encodeURI","encodeURIComponent","encodedBodySize","encoding","encodingInfo","encrypt","enctype","end","endContainer","endElement","endElementAt","endOcclusionQuery","endOfPassWriteIndex","endOfStream","endOffset","endQuery","endTime","endTransformFeedback","ended","endpoint","endpointNumber","endpoints","endsWith","enqueue","enterKeyHint","entities","entries","entry","entryPoint","entryType","enumerable","enumerate","enumerateDevices","enumerateEditable","environmentBlendMode","equals","era","error","errorCode","errorDetail","errorText","escape","estimate","eval","evaluate","event","eventCounts","eventPhase","events","every","ex","exception","exchange","exec","execCommand","execCommandShowHelp","execScript","executeBundles","executionStart","exitFullscreen","exitPictureInPicture","exitPointerLock","exitPresent","exp","expand","expandEntityReferences","expando","expansion","expectedContextLanguages","expectedImprovement","expectedInputLanguages","experiments","expiration","expirationTime","expires","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","exports","extend","extension","extensionTypes","extensions","extentNode","extentOffset","external","externalResourcesRequired","externalTexture","extractContents","extractable","eye","f","f16round","face","factoryReset","failOp","failureReason","fallback","family","familyName","farthestViewportElement","fastSeek","fatal","featureId","featurePolicy","featureSettings","features","fence","fenceSync","fetch","fetchLater","fetchPriority","fetchStart","fftSize","fgColor","fieldOfView","file","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","filesystem","fill","fill-opacity","fill-rule","fillJointRadii","fillLightMode","fillOpacity","fillPoses","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finalResponseHeadersStart","finally","find","findIndex","findLast","findLastIndex","findRule","findText","finish","finishDocumentLoadTime","finishLoadTime","finished","fireEvent","firesTouchEvents","first","firstChild","firstElementChild","firstInterimResponseStart","firstPage","firstPaintAfterLoadTime","firstPaintTime","firstUIEventTimestamp","fixed","flags","flat","flatMap","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flip","flipX","flipY","float","float32","float64","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","fontBoundingBoxAscent","fontBoundingBoxDescent","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","fontcolor","fontfaces","fonts","fontsize","for","forEach","force","forceFallbackAdapter","forceRedraw","forced-color-adjust","forcedColorAdjust","forcedStyleAndLayoutDuration","forget","form","formAction","formData","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","forwardWheel","forwardX","forwardY","forwardZ","foundation","fr","fractionalSecondDigits","fragment","fragmentDirective","frame","frameBorder","frameCount","frameElement","frameId","frameIds","frameSpacing","framebuffer","framebufferHeight","framebufferRenderbuffer","framebufferTexture2D","framebufferTextureLayer","framebufferWidth","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromAsync","fromBase64","fromCharCode","fromCodePoint","fromElement","fromEntries","fromFloat32Array","fromFloat64Array","fromHex","fromMatrix","fromPoint","fromQuad","fromRect","frontFace","fround","fullName","fullPath","fullRange","fullScreen","fullVersionList","fullscreen","fullscreenElement","fullscreenEnabled","fx","fy","g","gain","gamepad","gamma","gap","gatheringState","gatt","geckoProfiler","genderIdentity","generateCertificate","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getAcceptLanguages","getActiveAttrib","getActiveUniform","getActiveUniformBlockName","getActiveUniformBlockParameter","getActiveUniforms","getAdjacentText","getAll","getAllKeys","getAllRecords","getAllResponseHeaders","getAllowlistForFeature","getAnimations","getAsFile","getAsFileSystemHandle","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNames","getAttributeNode","getAttributeNodeNS","getAttributeType","getAudioTracks","getAuthenticatorData","getAutoplayPolicy","getAvailability","getBBox","getBackgroundPage","getBadgeBackgroundColor","getBadgeText","getBadgeTextColor","getBattery","getBigInt64","getBigUint64","getBindGroupLayout","getBlob","getBookmark","getBoundingClientRect","getBounds","getBoxQuads","getBrowserInfo","getBufferParameter","getBufferSubData","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCameraImage","getCandidateWindowClientRect","getCanonicalLocales","getCapabilities","getCaptureHandle","getChannelData","getCharNumAtPosition","getCharacteristic","getCharacteristics","getClientCapabilities","getClientExtensionResults","getClientRect","getClientRects","getCoalescedEvents","getCompilationInfo","getComposedRanges","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getComputedTiming","getConfiguration","getConstraints","getContext","getContextAttributes","getContexts","getContributingSources","getCounterValue","getCueAsHTML","getCueById","getCurrent","getCurrentPosition","getCurrentTexture","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDepthInMeters","getDepthInformation","getDescriptor","getDescriptors","getDestinationInsertionPoints","getDevices","getDirectory","getDirectoryHandle","getDisplayMedia","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getEyeParameters","getFeature","getFiberRoots","getFile","getFileHandle","getFiles","getFilesAndDirectories","getFingerprints","getFloat16","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFragDataLocation","getFrameData","getFrameId","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHTML","getHeaderExtensionsToNegotiate","getHighEntropyValues","getHitTestResults","getHitTestResultsForTransientInput","getHours","getIdentityAssertion","getIds","getImageData","getIndexedParameter","getInfo","getInnerHTML","getInstalledRelatedApps","getInt16","getInt32","getInt8","getInterestGroupAdAuctionData","getInternalModuleRanges","getInternalformatParameter","getIntersectionList","getItem","getItems","getJointPose","getKey","getKeyframes","getLastFocused","getLayers","getLayoutMap","getLightEstimate","getLineDash","getLocalCandidates","getLocalParameters","getLocalStreams","getManagedConfiguration","getManifest","getMappedRange","getMarks","getMatchedCSSRules","getMaxGCPauseSinceClear","getMeasures","getMessage","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getName","getNamedItem","getNamedItemNS","getNativeFramebufferScaleFactor","getNegotiatedHeaderExtensions","getNestedConfigs","getNotifications","getNotifier","getNumberOfChars","getOffsetReferenceSpace","getOrInsert","getOrInsertComputed","getOutputTimestamp","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertyNames","getOwnPropertySymbols","getPackageDirectoryEntry","getParameter","getParameters","getParent","getPathData","getPathSegAtLength","getPathSegmentAtLength","getPermissionWarningsByManifest","getPhotoCapabilities","getPhotoSettings","getPlatformInfo","getPointAtLength","getPopup","getPorts","getPose","getPredictedEvents","getPreference","getPreferenceDefault","getPreferredCanvasFormat","getPresentationAttribute","getPreventDefault","getPrimaryService","getPrimaryServices","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyType","getPropertyValue","getPrototypeOf","getPublicKey","getPublicKeyAlgorithm","getQuery","getQueryParameter","getRGBColorValue","getRandomValues","getRangeAt","getReader","getReceivers","getRectValue","getReflectionCubeMap","getRegistration","getRegistrations","getRemoteCandidates","getRemoteCertificates","getRemoteParameters","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRootNode","getRotationOfChar","getSVGDocument","getSamplerParameter","getScreenCTM","getScreenDetails","getSeconds","getSelectedCandidatePair","getSelection","getSelf","getSenders","getService","getSetCookie","getSettings","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSignals","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getState","getStats","getStatusForPolicy","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSubscriptions","getSupportedConstraints","getSupportedExtensions","getSupportedFormats","getSupportedZoomLevels","getSyncParameter","getSynchronizationSources","getTags","getTargetRanges","getTexParameter","getTextFormats","getTime","getTimezoneOffset","getTiming","getTitle","getTitlebarAreaRect","getTotalLength","getTrackById","getTracks","getTransceivers","getTransform","getTransformFeedbackVarying","getTransformToElement","getTransports","getType","getTypeMapping","getUILanguage","getURL","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformBlockIndex","getUniformIndices","getUniformLocation","getUserInfo","getUserMedia","getUserSettings","getVRDisplays","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getViewerPose","getViewport","getViews","getVoices","getWakeLockState","getWriter","getYear","getZoom","getZoomSettings","givenName","global","globalAlpha","globalCompositeOperation","globalPrivacyControl","globalThis","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","goBack","goForward","gpu","grabFrame","grad","gradientTransform","gradientUnits","grammars","green","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","gripSpace","group","groupBy","groupCollapsed","groupEnd","groupId","groups","grow","growable","guestProcessId","guestRenderFrameRoutingId","hadRecentInput","hand","handedness","hangingBaseline","hapticActuators","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasBeenActive","hasChildNodes","hasComposition","hasDynamicOffset","hasEnrolledInstrument","hasExtension","hasExternalDisplay","hasFeature","hasFocus","hasIndices","hasInstance","hasLayout","hasOrientation","hasOwn","hasOwnProperty","hasPointerCapture","hasPosition","hasPrivateToken","hasReading","hasRedemptionRecord","hasRegExpGroups","hasStorageAccess","hasUAVisualTransition","hasUnpartitionedCookieAccess","hash","hashChange","head","headers","heading","height","hid","hidden","hide","hideFocus","hidePopover","high","highWaterMark","highlight","highlights","highlightsFromPoint","hint","hints","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostCandidate","hostname","hour","hour12","hourCycle","hours","href","hrefTranslate","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","httpRequestStatusCode","hwTimestamp","hyphenate-character","hyphenateCharacter","hyphenateLimitChars","hyphens","hypot","i18n","ic","iccId","iceConnectionState","iceGatheringState","iceTransport","icon","iconURL","id","identifier","identity","ideographicBaseline","idle","idpLoginUrl","ignoreBOM","ignoreCase","ignoreDepthValues","image","image-orientation","image-rendering","imageHeight","imageOrientation","imageRendering","imageSizes","imageSmoothingEnabled","imageSmoothingQuality","imageSrcset","imageWidth","images","ime-mode","imeMode","implementation","importExternalTexture","importKey","importNode","importStylesheet","imports","impp","imul","in","in1","in2","inBandMetadataTrackDispatchType","inIncognitoContext","inRange","includes","incognito","incomingBidirectionalStreams","incomingHighWaterMark","incomingMaxAge","incomingUnidirectionalStreams","increaseZoomLevel","incremental","indeterminate","index","indexNames","indexOf","indexedDB","indicate","indices","inert","inertiaDestinationX","inertiaDestinationY","info","inherits","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDataType","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialValue","initialize","initiatorType","inject","ink","inline-size","inlineSize","inlineVerticalFieldOfView","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","inputMode","inputQuota","inputSource","inputSources","inputType","inputs","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertDTMF","insertData","insertDebugMarker","insertItemBefore","insertNode","insertRow","insertRule","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","inspect","install","installing","instanceRoot","instantiate","instantiateStreaming","instruments","int16","int32","int8","integrity","interactionCount","interactionId","interactionMode","intercept","interestForElement","interfaceClass","interfaceName","interfaceNumber","interfaceProtocol","interfaceSubclass","interfaces","interimResults","internalSubset","interpretation","intersection","intersectionRatio","intersectionRect","intersectsNode","interval","invalidIteratorState","invalidateFramebuffer","invalidateSubFramebuffer","inverse","invertSelf","invoker","invokerType","is","is2D","isActive","isAllowedFileSchemeAccess","isAllowedIncognitoAccess","isAlternate","isArray","isAutoSelected","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isConcatSpreadable","isConditionalMediationAvailable","isConfigSupported","isConnected","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDirectory","isDisabled","isDisjointFrom","isEnabled","isEqual","isEqualNode","isError","isExtended","isExtensible","isExternalCTAP2SecurityKeySupported","isFallbackAdapter","isFile","isFinite","isFirstPersonObserver","isFramebuffer","isFrozen","isGenerator","isHTML","isHistoryNavigation","isId","isIdentity","isInjected","isInputPending","isInteger","isInternal","isIntersecting","isLockFree","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPresenting","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isQuery","isRawJSON","isRenderbuffer","isSafeInteger","isSameEntry","isSameNode","isSampler","isScript","isScriptURL","isSealed","isSecureContext","isSessionSupported","isShader","isSubsetOf","isSupersetOf","isSupported","isSync","isTextEdit","isTexture","isTransformFeedback","isTrusted","isTypeSupported","isUserVerifyingPlatformAuthenticatorAvailable","isVertexArray","isView","isVisible","isWellFormed","isochronousTransferIn","isochronousTransferOut","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","items","iterateNext","iterationComposite","iterator","javaEnabled","jitterBufferTarget","jobTitle","join","joinAdInterestGroup","jointName","json","justify-content","justify-items","justify-self","justifyContent","justifyItems","justifySelf","k1","k2","k3","k4","kHz","keepalive","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keyStatuses","keySystem","keyText","keyUsage","keyboard","keys","keytype","kind","knee","knownSources","label","labels","lang","language","languages","largeArcFlag","last","lastChild","lastElementChild","lastError","lastEventId","lastIndex","lastIndexOf","lastInputTime","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latency","latitude","launchQueue","layerName","layerX","layerY","layout","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","leaveAdInterestGroup","left","leftContext","leftDegrees","leftMargin","leftProjectionMatrix","leftViewMatrix","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lh","lighting-color","lightingColor","limitingConeAngle","limits","line","line-break","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineGapOverride","lineHeight","lineJoin","lineNum","lineNumber","linePos","lineTo","lineWidth","linearAcceleration","linearRampToValueAtTime","linearVelocity","lineno","lines","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","listeners","load","loadEventEnd","loadEventStart","loadOp","loadTime","loadTimes","loaded","loading","localDescription","localName","localService","localStorage","locale","localeCompare","location","locationbar","lock","locked","lockedFile","locks","lodMaxClamp","lodMinClamp","log","log10","log1p","log2","logicalXDPI","logicalYDPI","login","loglevel","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","lost","low","lower","lowerBound","lowerOpen","lowsrc","lvb","lvh","lvi","lvmax","lvmin","lvw","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","magFilter","makeXRCompatible","managed","management","manifest","manufacturer","manufacturerName","map","mapAsync","mapState","mappedAtCreation","mapping","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginHeight","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-size","mask-type","maskClip","maskComposite","maskContentUnits","maskImage","maskMode","maskOrigin","maskPosition","maskPositionX","maskPositionY","maskRepeat","maskSize","maskType","maskUnits","match","matchAll","matchMedia","matchMedium","matchPatterns","matches","math-depth","math-style","mathDepth","mathShift","mathStyle","matrix","matrixTransform","max","max-block-size","max-height","max-inline-size","max-width","maxActions","maxAlternatives","maxAnisotropy","maxBindGroups","maxBindGroupsPlusVertexBuffers","maxBindingsPerBindGroup","maxBlockSize","maxBufferSize","maxByteLength","maxChannelCount","maxChannels","maxColorAttachmentBytesPerSample","maxColorAttachments","maxComputeInvocationsPerWorkgroup","maxComputeWorkgroupSizeX","maxComputeWorkgroupSizeY","maxComputeWorkgroupSizeZ","maxComputeWorkgroupStorageSize","maxComputeWorkgroupsPerDimension","maxConnectionsPerServer","maxDatagramSize","maxDecibels","maxDistance","maxDrawCount","maxDynamicStorageBuffersPerPipelineLayout","maxDynamicUniformBuffersPerPipelineLayout","maxHeight","maxInlineSize","maxInterStageShaderComponents","maxInterStageShaderVariables","maxLayers","maxLength","maxMessageSize","maxPacketLifeTime","maxRetransmits","maxSampledTexturesPerShaderStage","maxSamplersPerShaderStage","maxStorageBufferBindingSize","maxStorageBuffersPerShaderStage","maxStorageTexturesPerShaderStage","maxTextureArrayLayers","maxTextureDimension1D","maxTextureDimension2D","maxTextureDimension3D","maxTouchPoints","maxUniformBufferBindingSize","maxUniformBuffersPerShaderStage","maxValue","maxVertexAttributes","maxVertexBufferArrayStride","maxVertexBuffers","maxWidth","maximumLatency","measure","measureInputUsage","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaSession","mediaStream","mediaText","meetOrSlice","memory","menubar","menus","menusChild","menusInternal","mergeAttributes","message","messageClass","messageHandlers","messageType","messages","metaKey","metadata","method","methodDetails","methodName","microseconds","mid","milliseconds","mimeType","mimeTypes","min","min-block-size","min-height","min-inline-size","min-width","minBindingSize","minBlockSize","minDecibels","minFilter","minHeight","minInlineSize","minLength","minStorageBufferOffsetAlignment","minUniformBufferOffsetAlignment","minValue","minWidth","minimumLatency","minute","minutes","mipLevel","mipLevelCount","mipmapFilter","miterLimit","mix-blend-mode","mixBlendMode","mm","mobile","mode","model","modify","module","month","months","mount","move","moveBefore","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveInSuccession","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","movementX","movementY","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","ms","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","mul","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","multisample","multisampled","mutableFile","muted","n","nacl_arch","name","nameList","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","nanoseconds","nativeApplication","nativeMap","nativeObjectCreate","nativeSet","nativeWeakMap","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationPreload","navigationStart","navigationType","navigator","near","nearestViewportElement","negative","negotiated","netscape","networkState","networkStatus","newScale","newState","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextHopProtocol","nextNode","nextPage","nextSibling","nickname","noHref","noModule","noResize","noShade","noValidate","noWrap","node","nodeName","nodeType","nodeValue","nonce","normDepthBufferFromNormView","normalize","normalizedPathSegList","normandyAddonStudy","notRestoredReasons","notationName","notations","note","noteGrainOn","noteOff","noteOn","notifications","notify","now","npnNegotiatedProtocol","numOctaves","number","numberOfChannels","numberOfFrames","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","numberingSystem","numeric","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","objectType","observe","observedAttributes","occlusionQuerySet","of","off","offscreenBuffering","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","offsetAnchor","offsetDistance","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetPath","offsetPosition","offsetRotate","offsetTop","offsetWidth","offsetX","offsetY","ok","oldState","oldURL","oldValue","oldVersion","olderShadowRoot","omnibox","on","onActivated","onAdded","onAttached","onBoundsChanged","onBrowserUpdateAvailable","onClicked","onCommitFiberRoot","onCommitFiberUnmount","onConnect","onConnectExternal","onConnectNative","onCreated","onDetached","onDisabled","onEnabled","onFocusChanged","onHighlighted","onInstalled","onLine","onMessage","onMessageExternal","onMoved","onPerformanceWarning","onPostCommitFiberRoot","onRemoved","onReplaced","onRestartRequired","onStartup","onSubmittedWorkDone","onSuspend","onSuspendCanceled","onUninstalled","onUpdateAvailable","onUpdated","onUserScriptConnect","onUserScriptMessage","onUserSettingsChanged","onZoomChange","onabort","onabsolutedeviceorientation","onactivate","onactive","onaddsourcebuffer","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onappinstalled","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onauxclick","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforeinput","onbeforeinstallprompt","onbeforematch","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforetoggle","onbeforeunload","onbeforeupdate","onbeforexrselect","onbegin","onblocked","onblur","onbounce","onboundary","onbufferedamountlow","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","oncapturehandlechange","once","oncellchange","onchange","oncharacterboundsupdate","oncharacteristicvaluechanged","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","onclosing","oncommand","oncompassneedscalibration","oncomplete","oncompositionend","oncompositionstart","onconnect","onconnecting","onconnectionavailable","onconnectionstatechange","oncontentvisibilityautostatechange","oncontextlost","oncontextmenu","oncontextrestored","oncontrollerchange","oncontrolselect","oncopy","oncuechange","oncurrententrychange","oncurrentscreenchange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondequeue","ondevicechange","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceorientationabsolute","ondeviceproximity","ondischargingtimechange","ondisconnect","ondisplay","ondispose","ondownloading","ondownloadprogress","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onenterpictureinpicture","onerror","onerrorupdate","onexit","onfencedtreeclick","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onformdata","onfreeze","onfullscreenchange","onfullscreenerror","ongamepadconnected","ongamepaddisconnected","ongatheringstatechange","ongattserverdisconnected","ongeometrychange","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","onicecandidateerror","oniceconnectionstatechange","onicegatheringstatechange","oninactive","oninput","oninputreport","oninputsourceschange","oninvalid","onkeydown","onkeypress","onkeystatuseschange","onkeyup","onlanguagechange","onlayoutcomplete","onleavepictureinpicture","onlevelchange","onload","onloadT","onloadeddata","onloadedmetadata","onloadend","onloading","onloadingdone","onloadingerror","onloadstart","onlosecapture","onlostpointercapture","only","onmanagedconfigurationchange","onmark","onmessage","onmessageerror","onmidimessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onmute","onnavigate","onnavigateerror","onnavigatesuccess","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onpayerdetailchange","onpaymentmethodchange","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerrawupdate","onpointerup","onpopstate","onprerenderingchange","onprioritychange","onprocessorerror","onprogress","onpropertychange","onratechange","onreading","onreadystatechange","onreflectionchange","onrejectionhandled","onrelease","onremove","onremovesourcebuffer","onremovestream","onremovetrack","onrepeat","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscreenschange","onscroll","onscrollend","onscrollsnapchange","onscrollsnapchanging","onsearch","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectedcandidatepairchange","onselectend","onselectionchange","onselectstart","onshippingaddresschange","onshippingoptionchange","onshow","onsignalingstatechange","onsinkchange","onslotchange","onsoundend","onsoundstart","onsourceclose","onsourceclosed","onsourceended","onsourceopen","onspeechend","onspeechstart","onsqueeze","onsqueezeend","onsqueezestart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","onterminate","ontextformatupdate","ontextinput","ontextupdate","ontimeout","ontimeupdate","ontoggle","ontonechange","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontrack","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onuncapturederror","onunhandledrejection","onunload","onunmute","onupdate","onupdateend","onupdatefound","onupdateready","onupdatestart","onupgradeneeded","onuserproximity","onversionchange","onvisibilitychange","onvoiceschanged","onvolumechange","onvrdisplayactivate","onvrdisplayconnect","onvrdisplaydeactivate","onvrdisplaydisconnect","onvrdisplaypresentchange","onwaiting","onwaitingforkey","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","onzoomlevelchange","opacity","open","openCursor","openDatabase","openKeyCursor","openOptionsPage","openOrClosedShadowRoot","openPopup","opened","opener","opera","operation","operationType","operator","opr","optimum","options","or","order","orderX","orderY","ordered","org","organization","orient","orientAngle","orientType","orientation","orientationX","orientationY","orientationZ","origin","originAgentCluster","originalPolicy","originalTarget","ornaments","orphans","os","oscpu","outerHTML","outerHeight","outerText","outerWidth","outgoingHighWaterMark","outgoingMaxAge","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","outputChannelCount","outputLanguage","outputLatency","outputs","overallProgress","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overflowAnchor","overflowBlock","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlaysContent","overrideColors","overrideMimeType","oversample","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","ownKeys","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","packetSize","packets","pad","padEnd","padStart","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","page-orientation","pageAction","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageLeft","pageOrientation","pageT","pageTop","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintTime","paintType","paintWorklet","palette","pan","panningModel","parameterData","parameters","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseAll","parseCreationOptionsFromJSON","parseFloat","parseFromString","parseHTMLUnsafe","parseInt","parseRequestOptionsFromJSON","part","participants","passOp","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseDepthSensing","pauseDuration","pauseOnExit","pauseProfilers","pauseTransformFeedback","paused","payerEmail","payerName","payerPhone","paymentManager","pc","pdfViewerEnabled","peerIdentity","pending","pendingLocalDescription","pendingRemoteDescription","percent","performance","periodicSync","permission","permissionState","permissions","persist","persisted","persistentDeviceId","personalbar","perspective","perspective-origin","perspectiveOrigin","phone","phoneticFamilyName","phoneticGivenName","photo","phrase","phrases","pictureInPictureChild","pictureInPictureElement","pictureInPictureEnabled","pictureInPictureWindow","ping","pipeThrough","pipeTo","pitch","pixelBottom","pixelDepth","pixelFormat","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","pkcs11","place-content","place-items","place-self","placeContent","placeItems","placeSelf","placeholder","platform","platformVersion","platforms","play","playEffect","playState","playbackRate","playbackState","playbackTime","played","playoutDelayHint","playsInline","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","popDebugGroup","popErrorScope","popover","popoverTargetAction","popoverTargetElement","populateMatrix","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","pose","position","position-anchor","position-area","positionAlign","positionAnchor","positionArea","positionTry","positionTryFallbacks","positionVisibility","positionX","positionY","positionZ","postError","postMessage","postTask","postalCode","poster","postscriptName","pow","powerEfficient","powerOff","powerPreference","preMultiplySelf","precision","preferredReflectionFormat","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","premultipliedAlpha","prepend","prerendering","presentation","presentationArea","presentationStyle","presentationTime","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","preservesPitch","pressed","pressure","prevValue","preventDefault","preventExtensions","preventSilentAccess","previousElementSibling","previousNode","previousPage","previousPriority","previousRect","previousScale","previousSibling","previousTranslate","primaries","primaryKey","primaryLightDirection","primaryLightIntensity","primitive","primitiveType","primitiveUnits","principals","print","print-color-adjust","printColorAdjust","printPreview","priority","privacy","privateKey","privateToken","probablySupportsContext","probeSpace","process","processIceMessage","processLocally","processingEnd","processingStart","processorOptions","product","productId","productName","productSub","profile","profileEnd","profiles","projectionMatrix","promise","promising","prompt","properties","propertyIsEnumerable","propertyName","protectedAudience","protocol","protocolLong","prototype","provider","proxy","pseudoClass","pseudoElement","pt","publicId","publicKey","published","pulse","push","pushDebugGroup","pushErrorScope","pushManager","pushNotification","pushState","put","putImageData","px","quadraticCurveTo","qualifier","quaternion","query","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","queryFeatureSupport","queryLocalFonts","queryPermission","querySelector","querySelectorAll","querySet","queue","queueMicrotask","quota","quote","quotes","r","r1","r2","race","rad","radiogroup","radius","radiusX","radiusY","random","randomUUID","range","rangeCount","rangeEnd","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeStart","rangeUnderflow","rate","ratio","raw","rawId","rawJSON","rawValueToMeters","rcap","rch","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readBuffer","readEntries","readOnly","readPixels","readReportRequested","readText","readValue","readable","ready","readyState","reason","reasons","reboot","receiveFeatureReport","receivedAlert","receiver","receivers","recipient","recommendedViewportScale","reconnect","recordNumber","recordsAvailable","recordset","rect","red","redEyeReduction","redirect","redirectCount","redirectEnd","redirectStart","redirected","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referenceSpace","referrer","referrerPolicy","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerInternalModuleStart","registerInternalModuleStop","registerProperty","registerProtocolHandler","reject","rel","relList","relatedAddress","relatedNode","relatedPort","relatedTarget","relayProtocol","release","releaseCapture","releaseEvents","releaseInterface","releaseLock","releasePointerCapture","releaseShaderCompiler","released","reliability","reliable","reliableWrite","reload","rem","remainingSpace","remote","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEntry","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removed","removedNodes","renderBlockingStatus","renderHeight","renderStart","renderState","renderTime","renderWidth","renderbufferStorage","renderbufferStorageMultisample","renderedBuffer","rendererInterfaces","renderers","renderingMode","renotify","repeat","repetitionCount","replace","replaceAdjacentText","replaceAll","replaceChild","replaceChildren","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceSync","replaceTrack","replaceWholeText","replaceWith","reportError","reportEvent","reportId","reportOnly","reportValidity","request","requestAdapter","requestAdapterInfo","requestAnimationFrame","requestAutocomplete","requestClose","requestData","requestDevice","requestFrame","requestFullscreen","requestHitTestSource","requestHitTestSourceForTransientInput","requestId","requestIdleCallback","requestLightProbe","requestMIDIAccess","requestMediaKeySystemAccess","requestPermission","requestPictureInPicture","requestPointerLock","requestPort","requestPresent","requestPresenter","requestReferenceSpace","requestSession","requestStart","requestStorageAccess","requestStorageAccessFor","requestSubmit","requestTime","requestUpdateCheck","requestVideoFrameCallback","requestViewportScale","requestWindow","requested","requestingWindow","requireInteraction","required","requiredExtensions","requiredFeatures","requiredLimits","reset","resetLatency","resetPose","resetTransform","resetZoomLevel","resizable","resize","resizeBy","resizeTo","resolve","resolveQuerySet","resolveTarget","resource","respond","respondWithNewView","response","responseBody","responseEnd","responseReady","responseStart","responseStatus","responseText","responseType","responseURL","responseXML","restart","restartAfterDelay","restartIce","restore","restrictTo","result","resultIndex","resultType","results","resume","resumeDepthSensing","resumeProfilers","resumeTransformFeedback","retry","returnType","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rex","rgbColor","ric","right","rightContext","rightDegrees","rightMargin","rightProjectionMatrix","rightViewMatrix","rlh","role","rolloffFactor","root","rootBounds","rootElement","rootMargin","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationAngle","rotationRate","round","roundRect","row-gap","rowGap","rowIndex","rowSpan","rows","rowsPerImage","rtcpTransport","rtt","ruby-align","ruby-position","rubyAlign","rubyOverhang","rubyPosition","rules","run","runAdAuction","runtime","runtimeStyle","rx","ry","s","safari","sameDocument","sample","sampleCount","sampleCoverage","sampleInterval","sampleRate","sampleType","sampler","samplerParameterf","samplerParameteri","sandbox","save","saveAsPDF","saveData","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheduler","scheduling","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenState","screenTop","screenX","screenY","screens","scriptURL","scripting","scripts","scroll","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollMaxX","scrollMaxY","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollRestoration","scrollSnapAlign","scrollSnapStop","scrollSnapType","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar-color","scrollbar-gutter","scrollbar-width","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarGutter","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbarWidth","scrollbars","scrolling","scrollingElement","sctp","sctpCauseCode","sdp","sdpLineNumber","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","second","seconds","sectionRowIndex","secureConnectionStart","securePaymentConfirmationAvailability","security","seed","seek","seekToNextFrame","seekable","seeking","segments","select","selectAllChildren","selectAlternateInterface","selectAudioOutput","selectConfiguration","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selectURL","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selectedTrack","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sendFeatureReport","sendMessage","sendNativeMessage","sendOrder","sendReport","sender","sentAlert","sentTimestamp","separator","serial","serialNumber","serializable","serializeToString","serverTiming","service","serviceWorker","session","sessionId","sessionStorage","sessions","set","setActionHandler","setActive","setAlpha","setAppBadge","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setAttributionReporting","setBadgeBackgroundColor","setBadgeText","setBadgeTextColor","setBaseAndExtent","setBigInt64","setBigUint64","setBindGroup","setBingCurrentSearchDefault","setBlendConstant","setCameraActive","setCapture","setCaptureHandleConfig","setCodecPreferences","setColor","setCompositeOperation","setConfiguration","setConsumer","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnabled","setEnd","setEndAfter","setEndBefore","setEndPoint","setExpires","setFillColor","setFilterRes","setFloat16","setFloat32","setFloat64","setFloatValue","setFocusBehavior","setFormValue","setFromBase64","setFromHex","setFullYear","setHTMLUnsafe","setHeaderExtensionsToNegotiate","setHeaderValue","setHours","setIcon","setIdentityProvider","setImmediate","setIndexBuffer","setInt16","setInt32","setInt8","setInterval","setItem","setKeyframes","setLineCap","setLineDash","setLineJoin","setLineWidth","setLiveSeekableRange","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMicrophoneActive","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setParameters","setPathData","setPeriodicWave","setPipeline","setPointerCapture","setPopup","setPosition","setPositionState","setPreference","setPriority","setPrivateToken","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setReportEventDataForAutomaticBeacons","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setScissorRect","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSharedStorageContext","setSignals","setSinkId","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStatus","setStdDeviation","setStencilReference","setStreams","setStrictMode","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTitle","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUninstallURL","setUpdateUrlData","setUri","setValidity","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setVertexBuffer","setViewport","setYear","setZoom","setZoomSettings","settingName","settingValue","sex","shaderLocation","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shadowRootClonable","shadowRootDelegatesFocus","shadowRootMode","shadowRootSerializable","shape","shape-image-threshold","shape-margin","shape-outside","shape-rendering","shapeImageThreshold","shapeMargin","shapeOutside","shapeRendering","share","sharedContext","sharedStorage","sharedStorageWritable","sheet","shift","shiftKey","shiftLeft","shippingAddress","shippingOption","shippingType","show","showDirectoryPicker","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","showOpenFilePicker","showPicker","showPopover","showSaveFilePicker","sidebar","sidebarAction","sign","signal","signalAllAcceptedCredentials","signalCurrentUserDetails","signalUnknownCredential","signalingState","signature","silent","sin","singleNodeValue","sinh","sinkId","sittingToStandingTransform","size","sizeAdjust","sizeToContent","sizeX","sizeZ","sizes","skewX","skewXSelf","skewY","skewYSelf","skipTransition","skipped","slice","slope","slot","slotAssignment","small","smil","smooth","smoothingTimeConstant","snapTargetBlock","snapTargetInline","snapToLines","snapshotItem","snapshotLength","some","sort","sortingCode","source","sourceBuffer","sourceBuffers","sourceCapabilities","sourceCharPosition","sourceElement","sourceFile","sourceFunctionName","sourceIndex","sourceLanguage","sourceMap","sourceURL","sources","spacing","span","speak","speakAs","speaking","species","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","sphericalHarmonicsCoefficients","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFactor","srcFilter","srcObject","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","stageParameters","standalone","standby","start","startContainer","startE","startIce","startLoadTime","startMessages","startNotifications","startOffset","startProfiling","startRendering","startShark","startTime","startViewTransition","startsWith","state","states","stats","status","statusCode","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilBack","stencilClearValue","stencilFront","stencilFunc","stencilFuncSeparate","stencilLoadOp","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","stencilReadMask","stencilReadOnly","stencilStoreOp","stencilWriteMask","step","stepDown","stepMismatch","stepMode","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopNotifications","stopOpacity","stopProfiling","stopPropagation","stopShark","stopped","storage","storageArea","storageBuckets","storageName","storageStatus","storageTexture","store","storeOp","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","streamErrorCode","streams","stretch","strike","string","stringValue","stringify","stripIndexFormat","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","structuredClone","style","styleAndLayoutStart","styleFloat","styleMap","styleMedia","styleSheet","styleSheetSets","styleSheets","styleset","stylistic","sub","subarray","subgroupMaxSize","subgroupMinSize","subject","submit","submitFrame","submitter","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","sumPrecise","summarize","summarizeStreaming","summary","sup","supported","supportedContentEncodings","supportedEntryTypes","supportedValuesOf","supports","supportsFiber","supportsSession","supportsText","suppressed","surfaceScale","surroundContents","suspend","suspendRedraw","svb","svh","svi","svmax","svmin","svw","swapCache","swapNode","swash","sweepFlag","switchMap","symbols","symmetricDifference","sync","syntax","sysexEnabled","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tab","tab-size","tabId","tabIds","tabIndex","tabSize","table","table-layout","tableLayout","tableValues","tabs","tag","tagName","tagUrn","tags","taintEnabled","take","takePhoto","takeRecords","takeUntil","tan","tangentialPressure","tanh","target","targetAddressSpace","targetElement","targetLanguage","targetRayMode","targetRaySpace","targetTouches","targetURL","targetX","targetY","targets","tcpType","tee","tel","telemetry","terminate","test","texImage2D","texImage3D","texParameterf","texParameteri","texStorage2D","texStorage3D","texSubImage2D","texSubImage3D","text","text-align","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textCombineUpright","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationInset","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textDecorationUnderline","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOrientation","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","textWrapMode","textWrapStyle","texture","theme","then","threadId","threshold","thresholds","throwIfAborted","tiltX","tiltY","time","timeEnd","timeLog","timeOrigin","timeRemaining","timeStamp","timeStyle","timeZone","timeZoneName","timecode","timeline","timelineTime","timeout","timestamp","timestampOffset","timestampWrites","timing","title","titlebarAreaRect","tlsChannelId","to","toArray","toBase64","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toHex","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMatrix","toMethod","toPrecision","toPrimitive","toReversed","toSdp","toSorted","toSource","toSpliced","toStaticHTML","toString","toStringTag","toSum","toTemporalInstant","toTimeString","toUTCString","toUpperCase","toWellFormed","toggle","toggleAttribute","toggleLongPressEnabled","togglePopover","toggleReaderMode","token","tone","toneBuffer","tooLong","tooShort","toolbar","top","topMargin","topSites","topology","total","totalFrameDelay","totalFrames","totalFramesDuration","totalVideoFrames","touch-action","touchAction","touched","touches","trace","track","trackVisibility","trackedAnchors","tracks","tran","transaction","transactions","transceiver","transfer","transferControlToOffscreen","transferFromImageBitmap","transferImageBitmap","transferIn","transferOut","transferSize","transferToFixedLength","transferToImageBitmap","transform","transform-box","transform-origin","transform-style","transformBox","transformFeedbackVaryings","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translateStreaming","translationX","translationY","transport","traverseTo","trim","trimEnd","trimLeft","trimRight","trimStart","trueSpeed","trunc","truncate","trustedTypes","try","turn","twist","type","typeDetail","typeMismatch","typeMustMatch","types","u2f","ubound","uint16","uint32","uint8","uint8Clamped","unadjustedMovement","unclippedDepth","unconfigure","undefined","underlineStyle","underlineThickness","unescape","uneval","ungroup","unicode","unicode-bidi","unicodeBidi","unicodeRange","unicodeSets","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform1ui","uniform1uiv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform2ui","uniform2uiv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform3ui","uniform3uiv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniform4ui","uniform4uiv","uniformBlockBinding","uniformMatrix2fv","uniformMatrix2x3fv","uniformMatrix2x4fv","uniformMatrix3fv","uniformMatrix3x2fv","uniformMatrix3x4fv","uniformMatrix4fv","uniformMatrix4x2fv","uniformMatrix4x3fv","uninstallSelf","union","unique","uniqueID","uniqueNumber","unit","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmap","unmount","unobserve","unpackColorSpace","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","upDegrees","upX","upY","upZ","update","updateAdInterestGroups","updateCallbackDone","updateCharacterBounds","updateCommands","updateControlBounds","updateCurrentEntry","updateIce","updateInkTrailStartPoint","updateInterval","updatePlaybackRate","updateRangeEnd","updateRangeStart","updateRenderState","updateSelection","updateSelectionBounds","updateSettings","updateText","updateTiming","updateViaCache","updateWith","updated","updating","upgrade","upload","uploadTotal","uploaded","upper","upperBound","upperOpen","uri","url","urn","urns","usage","usages","usb","usbVersionMajor","usbVersionMinor","usbVersionSubminor","use","useCurrentView","useMap","useProgram","usedSpace","user-select","userActivation","userAgent","userAgentAllowsProtocol","userAgentData","userChoice","userHandle","userHint","userInitiated","userLanguage","userSelect","userState","userVisibleOnly","username","usernameFragment","utterance","uuid","v8BreakIterator","vAlign","vLink","valid","validate","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","variable","variant","variationSettings","vb","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorId","vendorSub","verify","version","vertex","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisor","vertexAttribDivisorANGLE","vertexAttribI4i","vertexAttribI4iv","vertexAttribI4ui","vertexAttribI4uiv","vertexAttribIPointer","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vh","vi","vibrate","vibrationActuator","videoBitsPerSecond","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewDimension","viewFormats","viewTarget","viewTargetString","viewTransition","viewTransitionClass","viewTransitionName","viewport","viewportAnchorX","viewportAnchorY","viewportElement","views","violatedDirective","virtualKeyboard","virtualKeyboardPolicy","visibility","visibilityState","visible","visibleRect","visualViewport","vlinkColor","vmax","vmin","voice","voiceURI","volume","vrml","vspace","vw","w","wait","waitAsync","waitSync","waiting","wake","wakeLock","wand","warmup","warn","wasAlternateProtocolAvailable","wasClean","wasDiscarded","wasFetchedViaSpdy","wasNpnNegotiated","watch","watchAvailability","watchPosition","webNavigation","webRequest","webdriver","webkitAddKey","webkitAlignContent","webkitAlignItems","webkitAlignSelf","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderBottomLeftRadius","webkitBorderBottomRightRadius","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBorderRadius","webkitBorderTopLeftRadius","webkitBorderTopRightRadius","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxShadow","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClipPath","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDecodedFrameCount","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitDroppedFrameCount","webkitEnterFullScreen","webkitEnterFullscreen","webkitEntries","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFilter","webkitFlex","webkitFlexBasis","webkitFlexDirection","webkitFlexFlow","webkitFlexGrow","webkitFlexShrink","webkitFlexWrap","webkitFontFeatureSettings","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitJustifyContent","webkitKeys","webkitLineClamp","webkitLineDashOffset","webkitLockOrientation","webkitMask","webkitMaskClip","webkitMaskComposite","webkitMaskImage","webkitMaskOrigin","webkitMaskPosition","webkitMaskPositionX","webkitMaskPositionY","webkitMaskRepeat","webkitMaskSize","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrder","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPerspective","webkitPerspectiveOrigin","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRelativePath","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextFillColor","webkitTextSecurity","webkitTextSizeAdjust","webkitTextStroke","webkitTextStrokeColor","webkitTextStrokeWidth","webkitTransform","webkitTransformOrigin","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdirectory","webkitdropzone","webstore","weekday","weeks","weight","wgslLanguageFeatures","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","when","whenDefined","which","white-space","white-space-collapse","whiteSpace","whiteSpaceCollapse","wholeText","widows","width","will-change","willChange","willValidate","window","windowAttribution","windowControlsOverlay","windowId","windowIds","windows","with","withCredentials","withResolvers","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","workerCacheLookupStart","workerFinalSourceType","workerMatchedSourceType","workerRouterEvaluationStart","workerStart","worklet","wow64","wrap","wrapKey","writable","writableAuxiliaries","write","writeBuffer","writeMask","writeText","writeTexture","writeTimestamp","writeValue","writeValueWithResponse","writeValueWithoutResponse","writeWithoutResponse","writeln","writing-mode","writingMode","writingSuggestions","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","xor","xr","y","y1","y2","yChannelSelector","yandex","year","years","yield","z","z-index","zIndex","zoom","zoomAndPan","zoomLevel","zoomRectScreen"];function m8(e){kA.forEach(i);var t=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},r=typeof global=="object"?global:self;t.forEach(function(o){n[o]=r[o]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(i),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(o){Object.getOwnPropertyNames(o).map(i),o.prototype&&Object.getOwnPropertyNames(o.prototype).map(i)});function i(o){e.add(o)}}function xA(e,t){function n(r){Lo(t,r)}e.walk(new Pt(function(r){r instanceof $e&&r.quote?n(r.key):r instanceof gt&&r.quote?n(r.key.name):r instanceof mt&&us(r.property,n)}))}function us(e,t){e.walk(new Pt(function(n){return n instanceof pe?us(n.tail_node(),t):n instanceof Ne?t(n.value):n instanceof me&&(us(n.consequent,t),us(n.alternative,t)),!0}))}function IA(e,t){var n=-1,r=new Map,i=t.nth_identifier||da;return e=e.transform(new wn(function(a){a instanceof yn||a instanceof Sn||a instanceof Mn||a instanceof Yn||a instanceof ar?a.key.name=o(a.key.name):a instanceof Fn&&(a.property=o(a.property))})),e;function o(a){let s=r.get(a);return s||(s=i.get(++n),r.set(a,s)),s}}function Lm(e){var t=new Set;return yt(e,n=>{n instanceof yn||n instanceof Sn||n instanceof Mn||n instanceof Yn||n instanceof Fn||(n instanceof $e?typeof n.key=="string"&&In(n,Za)&&t.add(n.key):n instanceof gt?In(n,Za)&&t.add(n.key.name):n instanceof He?In(n,Za)&&t.add(n.property):n instanceof mt&&n.property instanceof Ne&&In(n,Za)&&t.add(n.property.value))}),t}function PA(e,t,n=Lm(e)){t=wr(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:da,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=t.nth_identifier,i=t.reserved;Array.isArray(i)||(i=[i]);var o=new Set(i);t.builtins||m8(o);var a=-1,s;t.cache?s=t.cache.props:s=new Map;var c=t.only_annotated,d=t.regex&&new RegExp(t.regex),p=t.debug!==!1,m;p&&(m=t.debug===!0?"":t.debug);var g=new Set,b=new Set;s.forEach(S=>b.add(S));var h=!!t.keep_quoted;return e.walk(new Pt(function(S){if(!(S instanceof yn||S instanceof Sn||S instanceof Mn||S instanceof Yn||S instanceof Fn))if(S instanceof $e)typeof S.key=="string"&&(!h||!S.quote)&&u(S.key);else if(S instanceof gt)(!h||!S.quote)&&u(S.key.name);else if(S instanceof He){var C=!!t.undeclared;if(!C){for(var f=S;f.expression;)f=f.expression;C=!(f.thedef&&f.thedef.undeclared)}C&&(!h||!S.quote)&&u(S.property)}else S instanceof mt?h||us(S.property,u):S instanceof ee&&S.expression.print_to_string()=="Object.defineProperty"?us(S.args[1],u):S instanceof B&&S.operator==="in"?us(S.left,u):S instanceof Ne&&In(S,Ja)&&u(S.value)})),e.transform(new wn(function(S){S instanceof yn||S instanceof Sn||S instanceof Mn||S instanceof Yn||S instanceof Fn||(S instanceof $e?typeof S.key=="string"&&(!h||!S.quote)&&(S.key=v(S.key)):S instanceof gt?(!h||!S.quote)&&(S.computed_key()||(S.key.name=v(S.key.name))):S instanceof He?(!h||!S.quote)&&(S.property=v(S.property)):!h&&S instanceof mt?S.property=y(S.property):S instanceof ee&&S.expression.print_to_string()=="Object.defineProperty"?S.args[1]=y(S.args[1]):S instanceof B&&S.operator==="in"?S.left=y(S.left):S instanceof Ne&&In(S,Ja)&&(Qp(S,Ja),S.value=v(S.value)))}));function w(S){return b.has(S)||o.has(S)?!1:t.only_cache?s.has(S):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(S)}function l(S){return c&&!n.has(S)?!1:d&&!d.test(S)?n.has(S):o.has(S)?!1:s.has(S)||g.has(S)}function u(S){w(S)&&g.add(S),l(S)||b.add(S)}function v(S){if(!l(S))return S;var C=s.get(S);if(!C){if(p){var f="_$"+S+"$"+m+"_";w(f)&&(C=f)}if(!C)do C=r.get(++a);while(!w(C));s.set(S,C)}return C}function y(S){return S.transform(new wn(function(C){if(C instanceof pe){var f=C.expressions.length-1;C.expressions[f]=y(C.expressions[f])}else C instanceof Ne?(Qp(C,Ja),C.value=v(C.value)):C instanceof me&&(C.consequent=y(C.consequent),C.alternative=y(C.alternative));return C}))}}var h8=typeof Buffer<"u"?e=>Buffer.from(e,"base64").toString():e=>decodeURIComponent(escape(atob(e))),_8=typeof Buffer<"u"?e=>Buffer.from(e).toString("base64"):e=>btoa(unescape(encodeURIComponent(e)));function g8(e){var t=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e);return t?h8(t[2]):(console.warn("inline source map not found"),null)}function ba(e,t,n){t[e]&&n.forEach(function(r){t[r]&&(typeof t[r]!="object"&&(t[r]={}),e in t[r]||(t[r][e]=t[e]))})}function NA(e){e&&("props"in e?e.props instanceof Map||(e.props=QE(e.props)):e.props=new Map)}function FA(e){return{props:JE(e.props)}}function b8(e,t,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(s){if(s.code!=="EEXIST")throw s}let i=`${r}/terser-debug-${Math.random()*9999999|0}.log`;t=t||{};let o=JSON.stringify(t,(s,c)=>typeof c=="function"?"[Function "+c.toString()+"]":c instanceof RegExp?"[RegExp "+c.toString()+"]":c,4),a=s=>typeof s=="object"&&t.parse&&t.parse.spidermonkey?JSON.stringify(s,null,2):typeof s=="object"?Object.keys(s).map(c=>c+": "+a(s[c])).join(`
87
+
88
+ `):typeof s=="string"?"```\n"+s+"\n```":s;n.writeFileSync(i,`Options:
89
+ `+o+`
90
+
91
+ Input files:
92
+
93
+ `+a(e)+`
94
+ `)}function*v8(e,t,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&b8(e,t,n,process.env.TERSER_DEBUG_DIR),t=wr(t,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0);var r=t.timings&&{start:Date.now()};if(t.keep_classnames===void 0&&(t.keep_classnames=t.keep_fnames),t.rename===void 0&&(t.rename=t.compress&&t.mangle),t.output&&t.format)throw new Error("Please only specify either output or format option, preferrably format.");t.format=t.format||t.output||{},ba("ecma",t,["parse","compress","format"]),ba("ie8",t,["compress","mangle","format"]),ba("keep_classnames",t,["compress","mangle"]),ba("keep_fnames",t,["compress","mangle"]),ba("module",t,["parse","compress","mangle"]),ba("safari10",t,["mangle","format"]),ba("toplevel",t,["compress","mangle"]),ba("warnings",t,["compress"]);var i;t.mangle&&(t.mangle=wr(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:da,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),t.mangle.properties&&(typeof t.mangle.properties!="object"&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(i=t.mangle.properties.reserved,Array.isArray(i)||(i=[]),t.mangle.properties.reserved=i),t.nameCache&&!("cache"in t.mangle.properties)&&(t.mangle.properties.cache=t.nameCache.props||{})),NA(t.mangle.cache),NA(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=wr(t.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),r&&(r.parse=Date.now());var o;if(e instanceof tt)o=e;else{if((typeof e=="string"||t.parse.spidermonkey&&!Array.isArray(e))&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null,t.parse.spidermonkey)t.parse.toplevel=X.from_mozilla_ast(Object.keys(e).reduce(function(g,b){return g?(g.body=g.body.concat(e[b].body),g):e[b]},null));else{delete t.parse.spidermonkey;for(var a in e)if(hn(e,a)&&(t.parse.filename=a,t.parse.toplevel=qo(e[a],t.parse),t.sourceMap&&t.sourceMap.content=="inline")){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=g8(e[a])}}if(t.parse.toplevel===null)throw new Error("no source file given");o=t.parse.toplevel}i&&t.mangle.properties.keep_quoted!=="strict"&&xA(o,i);var s;t.mangle&&t.mangle.properties&&(s=Lm(o)),t.wrap&&(o=o.wrap_commonjs(t.wrap)),t.enclose&&(o=o.wrap_enclose(t.enclose)),r&&(r.rename=Date.now()),r&&(r.compress=Date.now()),t.compress&&(o=new lc(t.compress,{mangle_options:t.mangle}).compress(o)),r&&(r.scope=Date.now()),t.mangle&&o.figure_out_scope(t.mangle),r&&(r.mangle=Date.now()),t.mangle&&(o.compute_char_frequency(t.mangle),o.mangle_names(t.mangle),o=IA(o,t.mangle)),r&&(r.properties=Date.now()),t.mangle&&t.mangle.properties&&(o=PA(o,t.mangle.properties,s)),r&&(r.format=Date.now());var c={};t.format.ast&&(c.ast=o),t.format.spidermonkey&&(c.ast=o.to_mozilla_ast());let d;if(!hn(t.format,"code")||t.format.code){if(d={...t.format},d.ast||(d._destroy_ast=!0,yt(o,g=>{g instanceof he&&(g.variables=void 0,g.enclosed=void 0,g.parent_scope=void 0),g.block_scope&&(g.block_scope.variables=void 0,g.block_scope.enclosed=void 0,g.block_scope.parent_scope=void 0)})),t.sourceMap){if(t.sourceMap.includeSources&&e instanceof tt)throw new Error("original source content unavailable");d.source_map=yield*OA({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root,files:t.sourceMap.includeSources?e:null})}delete d.ast,delete d.code,delete d.spidermonkey;var p=eu(d);if(o.print(p),c.code=p.get(),t.sourceMap)if(Object.defineProperty(c,"map",{configurable:!0,enumerable:!0,get(){let g=d.source_map.getEncoded();return c.map=t.sourceMap.asObject?g:JSON.stringify(g)},set(g){Object.defineProperty(c,"map",{value:g,writable:!0})}}),c.decoded_map=d.source_map.getDecoded(),t.sourceMap.url=="inline"){var m=typeof c.map=="object"?JSON.stringify(c.map):c.map;c.code+=`
95
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+_8(m)}else t.sourceMap.url&&(c.code+=`
96
+ //# sourceMappingURL=`+t.sourceMap.url)}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=FA(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=FA(t.mangle.properties.cache))),d&&d.source_map&&d.source_map.destroy(),r&&(r.end=Date.now(),c.timings={parse:.001*(r.rename-r.parse),rename:.001*(r.compress-r.rename),compress:.001*(r.scope-r.compress),scope:.001*(r.mangle-r.scope),mangle:.001*(r.properties-r.mangle),properties:.001*(r.format-r.properties),format:.001*(r.end-r.format),total:.001*(r.end-r.start)}),c}async function hc(e,t,n){let r=v8(e,t,n),i,o;do o=r.next(await i),i=o.value;while(!o.done);return o.value}async function _c(e,t,n){let r=[];e.replace(t,(o,...a)=>{let s=n(o,...a);r.push(s)});let i=await Promise.all(r);return e.replace(t,()=>i.shift())}var va=class extends Set{has(t){return super.has(t.toLowerCase())}},S8=/([^\s"'<>/=]+)/,y8=[/=/],E8=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],BA=(function(){let e="\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A",t="0-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29",n="\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE",r="A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3",i="["+r+"_]["+r+t+"\\.\\-_"+e+n+"]*";return"((?:"+i+"\\:)?"+i+")"})(),T8=new RegExp("^<"+BA),A8=/^\s*(\/?)>/,gc=new RegExp("^<\\/"+BA+"[^>]*>"),R8=/^<!DOCTYPE\s?[^>]+>/i,UA=!1;"x".replace(/x(.)?/g,function(e,t){UA=t===""});var w8=new va(["area","base","basefont","br","col","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),MA=new va(["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","noscript","object","q","s","samp","script","select","small","span","strike","strong","sub","sup","svg","textarea","tt","u","var"]),D8=new va(["colgroup","dd","dt","li","option","p","td","tfoot","th","thead","tr","source"]),C8=new va(["checked","compact","declare","defer","disabled","ismap","multiple","nohref","noresize","noshade","nowrap","readonly","selected"]),O8=new va(["script","style"]),k8=new va(["address","article","aside","base","blockquote","body","caption","col","colgroup","dd","details","dialog","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","menuitem","meta","ol","optgroup","option","param","rp","rt","source","style","summary","tbody","td","tfoot","th","thead","title","tr","track","ul"]),LA={};function x8(e){let t=S8.source+"(?:\\s*("+I8(e)+")[ \\t\\n\\f\\r]*(?:"+E8.join("|")+"))?";if(e.customAttrSurround){let n=[];for(let r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+t)}function I8(e){return y8.concat(e.customAttrAssign||[]).map(function(t){return"(?:"+t.source+")"}).join("|")}var bc=class{constructor(t,n){this.html=t,this.handler=n}async parse(){let t=this.html,n=this.handler,r=[],i,o=x8(n),a,s,c;for(;t;){if(a=t,!i||!O8.has(i)){let h=t.indexOf("<");if(h===0){if(/^<!--/.test(t)){let S=t.indexOf("-->");if(S>=0){n.comment&&await n.comment(t.substring(4,S)),t=t.substring(S+3),s="";continue}}if(/^<!\[/.test(t)){let S=t.indexOf("]>");if(S>=0){n.comment&&await n.comment(t.substring(2,S+1),!0),t=t.substring(S+2),s="";continue}}let u=t.match(R8);if(u){n.doctype&&n.doctype(u[0]),t=t.substring(u[0].length),s="";continue}let v=t.match(gc);if(v){t=t.substring(v[0].length),await _c(v[0],gc,b),s="/"+v[1].toLowerCase();continue}let y=d(t);if(y){t=y.rest,await m(y),s=y.tagName.toLowerCase();continue}n.continueOnParseError&&(h=t.indexOf("<",1))}let w;h>=0?(w=t.substring(0,h),t=t.substring(h)):(w=t,t="");let l=d(t);l?c=l.tagName:(l=t.match(gc),l?c="/"+l[1]:c=""),n.chars&&await n.chars(w,s,c),s=""}else{let h=i.toLowerCase(),w=LA[h]||(LA[h]=new RegExp("([\\s\\S]*?)</"+h+"[^>]*>","i"));t=await _c(t,w,async(l,u)=>(h!=="script"&&h!=="style"&&h!=="noscript"&&(u=u.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),n.chars&&await n.chars(u),"")),await b("</"+h+">",h)}if(t===a)throw new Error("Parse Error: "+t)}n.partialMarkup||await b();function d(h){let w=h.match(T8);if(w){let l={tagName:w[1],attrs:[]};h=h.slice(w[0].length);let u,v;for(;!(u=h.match(A8))&&(v=h.match(o));)h=h.slice(v[0].length),l.attrs.push(v);if(u)return l.unarySlash=u[1],l.rest=h.slice(u[0].length),l}}async function p(h){if(g(h)>=0)return await b("",h),!0}async function m(h){let w=h.tagName,l=h.unarySlash;if(n.html5&&(i==="p"&&k8.has(w)?await b("",i):w==="tbody"?await p("thead"):w==="tfoot"&&(await p("tbody")||await p("thead")),w==="col"&&g("colgroup")<0&&(i="colgroup",r.push({tag:i,attrs:[]}),n.start&&await n.start(i,[],!1,""))),!n.html5&&!MA.has(w))for(;i&&MA.has(i);)await b("",i);D8.has(w)&&i===w&&await b("",w);let u=w8.has(w)||w==="html"&&i==="head"||!!l,v=h.attrs.map(function(y){let S,C,f,_,T,O;UA&&y[0].indexOf('""')===-1&&(y[3]===""&&delete y[3],y[4]===""&&delete y[4],y[5]===""&&delete y[5]);function N(L){return T=y[L],C=y[L+1],typeof C<"u"?'"':(C=y[L+2],typeof C<"u"?"'":(C=y[L+3],typeof C>"u"&&C8.has(S)&&(C=S),""))}let P=1;if(n.customAttrSurround){for(let L=0,W=n.customAttrSurround.length;L<W;L++,P+=7)if(S=y[P+1],S){O=N(P+2),f=y[P],_=y[P+6];break}}return!S&&(S=y[P])&&(O=N(P+1)),{name:S,value:C,customAssign:T||"=",customOpen:f||"",customClose:_||"",quote:O||""}});u||(r.push({tag:w,attrs:v}),i=w,l=""),n.start&&await n.start(w,v,u,l)}function g(h){let w,l=h.toLowerCase();for(w=r.length-1;w>=0&&r[w].tag.toLowerCase()!==l;w--);return w}async function b(h,w){let l;if(w?l=g(w):l=0,l>=0){for(let u=r.length-1;u>=l;u--)n.end&&n.end(r[u].tag,r[u].attrs,u>l||!h);r.length=l,i=l&&r[l-1].tag}else w.toLowerCase()==="br"?n.start&&await n.start(w,[],!0,""):w.toLowerCase()==="p"&&(n.start&&await n.start(w,[],!1,"",!0),n.end&&n.end(w,[]))}}};var Bm=class{sort(t,n=0){for(let r=0,i=this.keys.length;r<i;r++){let o=this.keys[r],a=o.slice(1),s=t.indexOf(a,n);if(s!==-1){do s!==n&&(t.splice(s,1),t.splice(n,0,a)),n++;while((s=t.indexOf(a,n))!==-1);return this[o].sort(t,n)}}return t}},Um=class e{add(t){t.forEach(n=>{let r="$"+n;this[r]||(this[r]=[],this[r].processed=0),this[r].push(t)})}createSorter(){let t=new Bm;return t.keys=Object.keys(this).sort((n,r)=>{let i=this[n].length,o=this[r].length;return i<o?1:i>o||n<r?-1:n>r?1:0}).filter(n=>{if(this[n].processed<this[n].length){let r=n.slice(1),i=new e;return this[n].forEach(o=>{let a;for(;(a=o.indexOf(r))!==-1;)o.splice(a,1);o.forEach(s=>{this["$"+s].processed++}),i.add(o.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}},Vm=Um;function li(e){return e&&e.replace(/^[ \n\r\t\f]+/,"").replace(/[ \n\r\t\f]+$/,"")}function Of(e){return e&&e.replace(/[ \n\r\t\f\xA0]+/g,function(t){return t===" "?" ":t.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function cs(e,t,n,r,i){let o="",a="";return t.preserveLineBreaks&&(e=e.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/,function(){return o=`
97
+ `,""}).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/,function(){return a=`
98
+ `,""})),n&&(e=e.replace(/^[ \n\r\t\f\xA0]+/,function(s){let c=!o&&t.conservativeCollapse;return c&&s===" "?" ":s.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(c?" ":"")})),r&&(e=e.replace(/[ \n\r\t\f\xA0]+$/,function(s){let c=!a&&t.conservativeCollapse;return c&&s===" "?" ":s.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(c?" ":"")})),i&&(e=Of(e)),o+e+a}var qm=new Set(["a","abbr","acronym","b","bdi","bdo","big","button","cite","code","del","dfn","em","font","i","ins","kbd","label","mark","math","nobr","object","q","rp","rt","rtc","ruby","s","samp","select","small","span","strike","strong","sub","sup","svg","textarea","time","tt","u","var"]),kf=new Set(["a","abbr","acronym","b","big","del","em","font","i","ins","kbd","mark","nobr","rp","s","samp","small","span","strike","strong","sub","sup","time","tt","u","var"]),VA=new Set(["comment","img","input","wbr"]);function qA(e,t,n,r){let i=t&&!VA.has(t);i&&!r.collapseInlineTagWhitespace&&(i=t.charAt(0)==="/"?!qm.has(t.slice(1)):!kf.has(t));let o=n&&!VA.has(n);return o&&!r.collapseInlineTagWhitespace&&(o=n.charAt(0)==="/"?!kf.has(n.slice(1)):!qm.has(n)),cs(e,r,i,o,t&&n)}function P8(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function N8(e,t){for(let n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function F8(e,t){let n=t.customEventAttributes;if(n){for(let r=n.length;r--;)if(n[r].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function M8(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function zA(e,t){for(let n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function L8(e,t,n,r){return n=n?li(n.toLowerCase()):"",e==="script"&&t==="language"&&n==="javascript"||e==="form"&&t==="method"&&n==="get"||e==="input"&&t==="type"&&n==="text"||e==="script"&&t==="charset"&&!zA(r,"src")||e==="a"&&t==="name"&&zA(r,"id")||e==="area"&&t==="shape"&&n==="rect"}var B8=new Set(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript","module"]),U8=new Set(["module"]);function jA(e=""){return e=li(e.split(/;/,2)[0]).toLowerCase(),e===""||B8.has(e)}function V8(e=""){return e=li(e.split(/;/,2)[0]).toLowerCase(),U8.has(e)}function q8(e,t){if(e!=="script")return!1;for(let n=0,r=t.length;n<r;n++)if(t[n].name.toLowerCase()==="type")return jA(t[n].value);return!0}function YA(e=""){return e=li(e).toLowerCase(),e===""||e==="text/css"}function QA(e,t){if(e!=="style")return!1;for(let n=0,r=t.length;n<r;n++)if(t[n].name.toLowerCase()==="type")return YA(t[n].value);return!0}var z8=new Set(["allowfullscreen","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"]),K8=new Set(["true","false"]);function G8(e,t){return z8.has(e)||e==="draggable"&&!K8.has(t)}function W8(e,t){return/^(?:a|area|link|base)$/.test(t)&&e==="href"||t==="img"&&/^(?:src|longdesc|usemap)$/.test(e)||t==="object"&&/^(?:classid|codebase|data|usemap)$/.test(e)||t==="q"&&e==="cite"||t==="blockquote"&&e==="cite"||(t==="ins"||t==="del")&&e==="cite"||t==="form"&&e==="action"||t==="input"&&(e==="src"||e==="usemap")||t==="head"&&e==="profile"||t==="script"&&(e==="src"||e==="for")}function H8(e,t){return/^(?:a|area|object|button)$/.test(t)&&e==="tabindex"||t==="input"&&(e==="maxlength"||e==="tabindex")||t==="select"&&(e==="size"||e==="tabindex")||t==="textarea"&&/^(?:rows|cols|tabindex)$/.test(e)||t==="colgroup"&&e==="span"||t==="col"&&e==="span"||(t==="th"||t==="td")&&(e==="rowspan"||e==="colspan")}function JA(e,t,n){if(e!=="link")return!1;for(let r=0,i=t.length;r<i;r++)if(t[r].name==="rel"&&t[r].value===n)return!0}function X8(e,t,n){return n==="media"&&(JA(e,t,"stylesheet")||QA(e,t))}var $8=new Set(["img","source"]);function j8(e,t){return e==="srcset"&&$8.has(t)}async function Y8(e,t,n,r,i){if(F8(t,r))return n=li(n).replace(/^javascript:\s*/i,""),r.minifyJS(n,!0);if(t==="class")return n=li(n),r.sortClassName?n=r.sortClassName(n):n=Of(n),n;if(W8(t,e))return n=li(n),JA(e,i,"canonical")?n:r.minifyURLs(n);if(H8(t,e))return li(n);if(t==="style")return n=li(n),n&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,";")),n=await r.minifyCSS(n,"inline")),n;if(j8(t,e))n=li(n).split(/\s+,\s*|\s*,\s+/).map(function(o){let a=o,s="",c=o.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(c){a=a.slice(0,-c[0].length);let d=+c[1].slice(0,-1),p=c[1].slice(-1);(d!==1||p!=="x")&&(s=" "+d+p)}return r.minifyURLs(a)+s}).join(", ");else if(Q8(e,i)&&t==="content")n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(o){return(+o).toString()});else{if(J8(e,i)&&t.toLowerCase()==="content")return Of(n);if(r.customAttrCollapse&&r.customAttrCollapse.test(t))n=li(n.replace(/ ?[\n\r]+ ?/g,"").replace(/\s{2,}/g,r.conservativeCollapse?" ":""));else if(e==="script"&&t==="type")n=li(n.replace(/\s*;\s*/g,";"));else if(X8(e,i,t))return n=li(n),r.minifyCSS(n,"media")}return n}function Q8(e,t){if(e!=="meta")return!1;for(let n=0,r=t.length;n<r;n++)if(t[n].name==="name"&&t[n].value==="viewport")return!0}function J8(e,t){if(e!=="meta")return!1;for(let n=0,r=t.length;n<r;n++)if(t[n].name.toLowerCase()==="http-equiv"&&t[n].value.toLowerCase()==="content-security-policy")return!0}function KA(e){return"/* clean-css ignore:start */"+e+"/* clean-css ignore:end */"}function ZA(e,t){switch(t){case"inline":return"*{"+e+"}";case"media":return"@media "+e+"{a{top:0}}";default:return e}}function Z8(e,t){let n;switch(t){case"inline":n=e.match(/^\*\{([\s\S]*)\}$/);break;case"media":n=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);break}return n?n[1]:e}async function eU(e,t){return t.processConditionalComments?await _c(e,/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,async function(n,r,i,o){return r+await xf(i,t,!0)+o}):e}async function tU(e,t,n){for(let r=0,i=n.length;r<i;r++)if(n[r].name.toLowerCase()==="type"&&t.processScripts.indexOf(n[r].value)>-1)return await xf(e,t);return e}var nU=new Set(["html","head","body","colgroup","tbody"]),rU=new Set(["html","head","body","li","dt","dd","p","rb","rt","rtc","rp","optgroup","option","colgroup","caption","thead","tbody","tfoot","tr","td","th"]),iU=new Set(["meta","link","script","style","template","noscript"]),oU=new Set(["dt","dd"]),aU=new Set(["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]),sU=new Set(["a","audio","del","ins","map","noscript","video"]),uU=new Set(["rb","rt","rtc","rp"]),cU=new Set(["rb","rtc","rp"]),lU=new Set(["option","optgroup"]),fU=new Set(["tbody","tfoot"]),dU=new Set(["thead","tbody","tfoot"]),pU=new Set(["td","th"]),GA=new Set(["html","head","body"]),mU=new Set(["html","body"]),hU=new Set(["head","colgroup","caption"]),WA=new Set(["dt","thead"]),HA=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","menu","menuitem","meta","meter","multicol","nav","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function _U(e,t){switch(e){case"html":case"head":return!0;case"body":return!iU.has(t);case"colgroup":return t==="col";case"tbody":return t==="tr"}return!1}function gU(e,t){switch(t){case"colgroup":return e==="colgroup";case"tbody":return dU.has(e)}return!1}function bU(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return oU.has(t);case"p":return aU.has(t);case"rb":case"rt":case"rp":return uU.has(t);case"rtc":return cU.has(t);case"option":return lU.has(t);case"thead":case"tbody":return fU.has(t);case"tfoot":return t==="tbody";case"td":case"th":return pU.has(t)}return!1}var vU=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$");function SU(e,t,n,r){return!n||/^\s*$/.test(n)?typeof r.removeEmptyAttributes=="function"?r.removeEmptyAttributes(t,e):e==="input"&&t==="value"||vU.test(t):!1}function vc(e,t){for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function yU(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(vc("src",t))return!1;break;case"iframe":if(vc("src",t)||vc("srcdoc",t))return!1;break;case"object":if(vc("data",t))return!1;break;case"applet":if(vc("code",t))return!1;break}return!0}function e1(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function t1(e){return!/^(?:pre|textarea)$/.test(e)}async function EU(e,t,n,r){let i=r.name(e.name),o=e.value;if(r.decodeEntities&&o&&(o=ju(o)),!(r.removeRedundantAttributes&&L8(n,i,o,t)||r.removeScriptTypeAttributes&&n==="script"&&i==="type"&&jA(o)&&!V8(o)||r.removeStyleLinkTypeAttributes&&(n==="style"||n==="link")&&i==="type"&&YA(o))&&(o&&(o=await Y8(n,i,o,r,t)),!(r.removeEmptyAttributes&&SU(n,i,o,r))))return r.decodeEntities&&o&&(o=o.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:i,value:o}}function TU(e,t,n,r,i){let o=e.name,a=e.value,s=e.attr,c=s.quote,d,p;if(typeof a<"u"&&(!n.removeAttributeQuotes||~a.indexOf(i)||!M8(a))){if(!n.preventAttributesEscaping){if(typeof n.quoteCharacter>"u"){let m=(a.match(/'/g)||[]).length,g=(a.match(/"/g)||[]).length;c=m<g?"'":'"'}else c=n.quoteCharacter==="'"?"'":'"';c==='"'?a=a.replace(/"/g,"&#34;"):a=a.replace(/'/g,"&#39;")}p=c+a+c,!r&&!n.removeTagWhitespace&&(p+=" ")}else r&&!t&&!/\/$/.test(a)?p=a:p=a+" ";return typeof a>"u"||n.collapseBooleanAttributes&&G8(o.toLowerCase(),a.toLowerCase())?(d=o,r||(d+=" ")):d=o+s.customAssign+p,s.customOpen+d+s.customClose}function Sa(e){return e}function AU(e){return Promise.resolve(e)}var RU=e=>{let t={name:function(n){return n.toLowerCase()},canCollapseWhitespace:e1,canTrimWhitespace:t1,html5:!0,ignoreCustomComments:[/^!/,/^\s*#/],ignoreCustomFragments:[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/],includeAutoGeneratedTags:!0,log:Sa,minifyCSS:AU,minifyJS:Sa,minifyURLs:Sa};return Object.keys(e).forEach(function(n){let r=e[n];if(n==="caseSensitive")r&&(t.name=Sa);else if(n==="log")typeof r=="function"&&(t.log=r);else if(n==="minifyCSS"&&typeof r!="function"){if(!r)return;let i=typeof r=="object"?r:{};t.minifyCSS=async function(o,a){o=o.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/ig,function(c,d,p,m,g){return d+p+t.minifyURLs(m)+p+g});let s=ZA(o,a);return new Promise(c=>{new zm.default(i).minify(s,(d,p)=>{p.errors.length>0&&(p.errors.forEach(t.log),c(o));let m=Z8(p.styles,a);c(m)})})}}else if(n==="minifyJS"&&typeof r!="function"){if(!r)return;let i=typeof r=="object"?r:{};i.parse={...i.parse,bare_returns:!1},t.minifyJS=async function(o,a){let s=o.match(/^\s*<!--.*/),c=s?o.slice(s[0].length).replace(/\n\s*-->\s*$/,""):o;i.parse.bare_returns=a;try{return(await hc(c,i)).code.replace(/;$/,"")}catch(d){return t.log(d),o}}}else if(n==="minifyURLs"&&typeof r!="function"){if(!r)return;let i=r;typeof r=="string"?i={site:r}:typeof r!="object"&&(i={}),t.minifyURLs=function(o){try{return $A.default.relate(o,i)}catch(a){return t.log(a),o}}}else t[n]=r}),t};function XA(e){let t;do t=Math.random().toString(36).replace(/^0\.[0-9]*/,"");while(~e.indexOf(t));return t}var Cf=new Set(["script","style"]);async function wU(e,t,n,r){let i=t.sortAttributes&&Object.create(null),o=t.sortClassName&&new Vm;function a(m){return m.map(function(g){return t.name(g.name)})}function s(m,g){return!g||m.indexOf(g)===-1}function c(m){return s(m,n)&&s(m,r)}async function d(m){let g,b;await new bc(m,{start:function(w,l){i&&(i[w]||(i[w]=new Vm),i[w].add(a(l).filter(c)));for(let u=0,v=l.length;u<v;u++){let y=l[u];o&&y.value&&t.name(y.name)==="class"?o.add(li(y.value).split(/[ \t\n\f\r]+/).filter(c)):t.processScripts&&y.name.toLowerCase()==="type"&&(g=w,b=y.value)}},end:function(){g=""},chars:async function(w){t.processScripts&&Cf.has(g)&&t.processScripts.indexOf(b)>-1&&await d(w)}}).parse()}let p=t.log;if(t.log=Sa,t.sortAttributes=!1,t.sortClassName=!1,await d(await xf(e,t)),t.log=p,i){let m=Object.create(null);for(let g in i)m[g]=i[g].createSorter();t.sortAttributes=function(g,b){let h=m[g];if(h){let w=Object.create(null),l=a(b);l.forEach(function(u,v){(w[u]||(w[u]=[])).push(b[v])}),h.sort(l).forEach(function(u,v){b[v]=w[u].shift()})}}}if(o){let m=o.createSorter();t.sortClassName=function(g){return m.sort(g.split(/[ \n\f\r]+/)).join(" ")}}}async function xf(e,t,n){t.collapseWhitespace&&(e=cs(e,t,!0,!0));let r=[],i,o="",a,s="",c=[],d=[],p=[],m="",g="",b=[],h=[],w,l,u;e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(A,N){if(!w){w=XA(e);let L=new RegExp("^"+w+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments=t.ignoreCustomComments.slice():t.ignoreCustomComments=[],t.ignoreCustomComments.push(L)}let P="<!--"+w+b.length+"-->";return b.push(N),P});let v=t.ignoreCustomFragments.map(function(A){return A.source});if(v.length){let A=new RegExp("\\s*(?:"+v.join("|")+")+\\s*","g");e=e.replace(A,function(N){l||(l=XA(e),u=new RegExp("(\\s*)"+l+"([0-9]+)"+l+"(\\s*)","g"),t.minifyCSS&&(t.minifyCSS=(function(L){return function(W,ae){W=W.replace(u,function(ke,Ve,Be){let ge=h[+Be];return ge[1]+l+Be+l+ge[2]});let Z=[];return new zm.default().minify(ZA(W,ae)).warnings.forEach(function(ke){let Ve=u.exec(ke);if(Ve){let Be=l+Ve[2]+l;W=W.replace(Be,KA(Be)),Z.push(Be)}}),L(W,ae).then(ke=>(Z.forEach(function(Ve){ke=ke.replace(KA(Ve),Ve)}),ke))}})(t.minifyCSS)),t.minifyJS&&(t.minifyJS=(function(L){return function(W,ae){return L(W.replace(u,function(Z,ke,Ve){let Be=h[+Ve];return Be[1]+l+Ve+l+Be[2]}),ae)}})(t.minifyJS)));let P=l+h.length+l;return h.push(/^(\s*)[\s\S]*?(\s*)$/.exec(N))," "+P+" "})}(t.sortAttributes&&typeof t.sortAttributes!="function"||t.sortClassName&&typeof t.sortClassName!="function")&&await wU(e,t,w,l);function y(A,N){return t.canCollapseWhitespace(A,N,e1)}function S(A,N){return t.canTrimWhitespace(A,N,t1)}function C(){let A=r.length-1;for(;A>0&&!/^<[^/!]/.test(r[A]);)A--;r.length=Math.max(0,A)}function f(){let A=r.length-1;for(;A>0&&!/^<\//.test(r[A]);)A--;r.length=Math.max(0,A)}function _(A,N){for(let P=null;A>=0&&S(P);A--){let L=r[A],W=L.match(/^<\/([\w:-]+)>$/);if(W)P=W[1];else if(/>$/.test(L)||(r[A]=qA(L,null,N,t)))break}}function T(A){let N=r.length-1;if(r.length>1){let P=r[r.length-1];/^(?:<!|$)/.test(P)&&P.indexOf(w)===-1&&N--}_(N,A)}return await new bc(e,{partialMarkup:n,continueOnParseError:t.continueOnParseError,customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround,html5:t.html5,start:async function(A,N,P,L,W){A.toLowerCase()==="svg"&&(t=Object.create(t),t.caseSensitive=!0,t.keepClosingSlash=!0,t.name=Sa),A=t.name(A),s=A,i=A,kf.has(A)||(o=""),a=!1,c=N;let ae=t.removeOptionalTags;if(ae){let Be=HA.has(A);Be&&_U(m,A)&&C(),m="",Be&&bU(g,A)&&(f(),ae=!gU(g,A)),g=""}t.collapseWhitespace&&(d.length||T(A),P||((!S(A,N)||d.length)&&d.push(A),(!y(A,N)||p.length)&&p.push(A)));let Z="<"+A,ke=L&&t.keepClosingSlash;r.push(Z),t.sortAttributes&&t.sortAttributes(A,N);let Ve=[];for(let Be=N.length,ge=!0;--Be>=0;){let Qt=await EU(N[Be],N,A,t);Qt&&(Ve.unshift(TU(Qt,ke,t,ge,l)),ge=!1)}Ve.length>0?(r.push(" "),r.push.apply(r,Ve)):ae&&nU.has(A)&&(m=A),r.push(r.pop()+(ke?"/":"")+">"),W&&!t.includeAutoGeneratedTags&&(C(),m="")},end:function(A,N,P){A.toLowerCase()==="svg"&&(t=Object.getPrototypeOf(t)),A=t.name(A),t.collapseWhitespace&&(d.length?A===d[d.length-1]&&d.pop():T("/"+A),p.length&&A===p[p.length-1]&&p.pop());let L=!1;A===s&&(s="",L=!a),t.removeOptionalTags&&(L&&GA.has(m)&&C(),m="",HA.has(A)&&g&&!WA.has(g)&&(g!=="p"||!sU.has(A))&&f(),g=rU.has(A)?A:""),t.removeEmptyElements&&L&&yU(A,N)?(C(),m="",g=""):(P&&!t.includeAutoGeneratedTags?g="":r.push("</"+A+">"),i="/"+A,qm.has(A)?L&&(o+="|"):o="")},chars:async function(A,N,P){if(N=N===""?"comment":N,P=P===""?"comment":P,t.decodeEntities&&A&&!Cf.has(s)&&(A=Ws(A)),t.collapseWhitespace){if(!d.length){if(N==="comment"){let L=r[r.length-1];if(L.indexOf(w)===-1&&(L||(N=i),r.length>1&&(!L||!t.conservativeCollapse&&/ $/.test(o)))){let W=r.length-2;r[W]=r[W].replace(/\s+$/,function(ae){return A=ae+A,""})}}if(N)if(N==="/nobr"||N==="wbr"){if(/^\s/.test(A)){let L=r.length-1;for(;L>0&&r[L].lastIndexOf("<"+N)!==0;)L--;_(L-1,"br")}}else kf.has(N.charAt(0)==="/"?N.slice(1):N)&&(A=cs(A,t,/(?:^|\s)$/.test(o)));N||P?A=qA(A,N,P,t):A=cs(A,t,!0,!0),!A&&/\s$/.test(o)&&N&&N.charAt(0)==="/"&&_(r.length-1,P)}!p.length&&P!=="html"&&!(N&&P)&&(A=cs(A,t,!1,!1,!0))}t.processScripts&&Cf.has(s)&&(A=await tU(A,t,c)),q8(s,c)&&(A=await t.minifyJS(A)),QA(s,c)&&(A=await t.minifyCSS(A)),t.removeOptionalTags&&A&&((m==="html"||m==="body"&&!/^\s/.test(A))&&C(),m="",(mU.has(g)||hU.has(g)&&!/^\s/.test(A))&&f(),g=""),i=/^\s*$/.test(A)?N:"comment",t.decodeEntities&&A&&!Cf.has(s)&&(A=A.replace(/&((?:Iacute|aacute|uacute|plusmn|Otilde|otilde|agrave|Agrave|Yacute|yacute|Oslash|oslash|atilde|Atilde|brvbar|ccedil|Ccedil|Ograve|curren|divide|eacute|Eacute|ograve|Oacute|egrave|Egrave|Ugrave|frac12|frac14|frac34|ugrave|oacute|iacute|Ntilde|ntilde|Uacute|middot|igrave|Igrave|iquest|Aacute|cedil|laquo|micro|iexcl|Icirc|icirc|acirc|Ucirc|Ecirc|ocirc|Ocirc|ecirc|ucirc|Aring|aring|AElig|aelig|acute|pound|raquo|Acirc|times|THORN|szlig|thorn|COPY|auml|ordf|ordm|Uuml|macr|uuml|Auml|ouml|Ouml|para|nbsp|euml|quot|QUOT|Euml|yuml|cent|sect|copy|sup1|sup2|sup3|iuml|Iuml|ETH|shy|reg|not|yen|amp|AMP|REG|uml|eth|deg|gt|GT|LT|lt)(?!;)|(?:#?[0-9a-zA-Z]+;))/g,"&amp$1").replace(/</g,"&lt;")),u&&t.collapseWhitespace&&d.length&&(A=A.replace(u,function(L,W,ae){return h[+ae][0]})),o+=A,A&&(a=!0),r.push(A)},comment:async function(A,N){let P=N?"<!":"<!--",L=N?">":"-->";P8(A)?A=P+await eU(A,t)+L:t.removeComments?N8(A,t)?A="<!--"+A+"-->":A="":A=P+A+L,t.removeOptionalTags&&A&&(m="",g=""),r.push(A)},doctype:function(A){r.push(t.useShortDoctype?"<!doctype"+(t.removeTagWhitespace?"":" ")+"html>":Of(A))}}).parse(),t.removeOptionalTags&&(GA.has(m)&&C(),g&&!WA.has(g)&&f()),t.collapseWhitespace&&T("br"),DU(r,t,u?function(A){return A.replace(u,function(N,P,L,W){let ae=h[+L][0];return t.collapseWhitespace?(P!==" "&&(ae=P+ae),W!==" "&&(ae+=W),cs(ae,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^[ \n\r\t\f]/.test(ae),/[ \n\r\t\f]$/.test(ae))):ae})}:Sa,w?function(A){return A.replace(new RegExp("<!--"+w+"([0-9]+)-->","g"),function(N,P){return b[+P]})}:Sa)}function DU(e,t,n,r){let i,o=t.maxLineLength,a=t.noNewlinesBeforeTagClose;if(o){let s="",c=[];for(;e.length;){let d=s.length,p=e[0].indexOf(`
99
+ `),m=!!e[0].match(gc),g=a&&m;p<0?s+=r(n(e.shift())):(s+=r(n(e[0].slice(0,p))),e[0]=e[0].slice(p+1)),d>0&&s.length>o&&!g?(c.push(s.slice(0,d)),s=s.slice(d)):p>=0&&(c.push(s),s="")}s&&c.push(s),i=c.join(`
100
+ `)}else i=r(n(e.join("")));return t.collapseWhitespace?cs(i,t,!0,!0):i}var n1=async function(e,t){let n=Date.now();t=RU(t||{});let r=await xf(e,t);return t.log("minified in: "+(Date.now()-n)+"ms"),r};var r1=8*1024*1024;function i1(e){return{name:"page_tabs_query",description:"Query page tabs and matching source/dist HTML file URLs. Use ids for exact page tabs or fieldEqualTo for exact top-level tab field matches.",inputSchema:Es("Page tab ids to read."),call:async t=>Me(await u1(e,ys(t),vs(t,"fieldEqualTo")))}}function o1(e){return{name:"page_tab_create",description:"Upload local UTF-8 HTML source and optimized dist files, then create a page tab. After create, tell user page URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`.",inputSchema:{type:"object",additionalProperties:!1,required:["htmlFilePath"],properties:{htmlFilePath:{type:"string",description:"Local UTF-8 HTML file to upload as page content. Maximum 8 MiB."},parent:{type:"string",description:"Parent id, normally spaces:<spaceId> or tabs:<folderId>. Optional only when existing tabs can provide a default."},name:{type:"string",description:"Tab name. Defaults to Untitled page."},insertAfterTabId:{type:"string",description:"Optional tab id after which to insert."}}},call:async t=>{let n=await c1(re(t,"htmlFilePath"));return Me(await kU(e,{...n,parent:bt(t,"parent"),name:bt(t,"name"),insertAfterTabId:bt(t,"insertAfterTabId")}))}}}function a1(e){return{name:"page_tab_html_set",description:"Upload local UTF-8 HTML source and optimized dist files, then replace URLs for an existing page tab. Frontend renders dist as untrusted sandbox iframe src.",inputSchema:rt({htmlFilePath:{type:"string",description:"Local UTF-8 HTML file to upload as replacement content. Maximum 8 MiB."}},["id","htmlFilePath"]),call:async t=>Me(await xU(e,re(t,"id"),await c1(re(t,"htmlFilePath"))))}}function s1(e){return{name:"page_tab_duplicate",description:"Duplicate a page tab by cloning tab metadata and HTML with a new shared id. After duplicate, tell user page URL: `${status.frontendUrl}/${encodeURIComponent(tab.id)}`.",inputSchema:rt({name:{type:"string",description:"Optional duplicated tab name. Defaults to source name plus *."}}),call:async t=>Me(await IU(e,re(t,"id"),bt(t,"name")))}}async function u1(e,t,n){let r=t?n:{...n??{},type:"page"},i=await Fr(e,t,r),o={},a=[];for(let d in i)i[d].type==="page"&&(o[d]=i[d],a.push(d));let s=await e.readResourceItems("pages",{keys:a}),c={};for(let d in o)c[d]={tab:o[d],page:s[d]??null};return c}async function kU(e,t){Sc(t.sourceUrl,"sourceUrl"),Sc(t.distUrl,"distUrl");let n=await Fr(e),r=hi(),i=Rs(n,t.parent),o=Yo(n,i),a={id:r,updatedAt:Nr(),name:t.name??"Untitled page",order:As(n,{parent:i,insertAfterTabId:t.insertAfterTabId}),type:"page",parent:i,spaceId:o},s={id:r,updatedAt:Nr(),sourceUrl:t.sourceUrl,distUrl:t.distUrl};return dn("tabs",a),dn("pages",s),await Promise.all([e.upsertResourceItem("tabs",a),e.upsertResourceItem("pages",s)]),{tab:a,page:s}}async function xU(e,t,n){if(Sc(n.sourceUrl,"sourceUrl"),Sc(n.distUrl,"distUrl"),(await el(e,t)).type!=="page")throw new Error(`tab is not a page: ${t}`);let i={id:t,updatedAt:Nr(),...n};return dn("pages",i),await e.upsertResourceItem("pages",i),i}async function IU(e,t,n){let r=await Fr(e),i=(await u1(e,[t]))[t];if(!i)throw new Error(`page tab not found: ${t}`);if(!i.page)throw new Error(`page content not found: ${t}`);let o=hi(),a=structuredClone(i.tab);a.id=o,a.updatedAt=Nr(),a.name=n??`${i.tab.name}*`,a.order=xa(r,i.tab);let s={...structuredClone(i.page),id:o,updatedAt:Nr()};return dn("tabs",a),dn("pages",s),await Promise.all([e.upsertResourceItem("tabs",a),e.upsertResourceItem("pages",s)]),{tab:a,page:s}}async function PU(e){let t=await CU(e,"utf8");return FU(t),t}async function c1(e){let t=await PU(e),n=OU.basename(e)||"page.html",[r,i]=await Promise.all([l1(t,n),NU(t,n)]);return{sourceUrl:r,distUrl:i}}async function NU(e,t){let n=await n1(e,{collapseBooleanAttributes:!0,collapseWhitespace:!0,minifyCSS:!0,minifyJS:!0,removeComments:!0,removeRedundantAttributes:!0,removeScriptTypeAttributes:!0,removeStyleLinkTypeAttributes:!0,sortAttributes:!0,sortClassName:!0,useShortDoctype:!0});return l1(n,t)}async function l1(e,t,n){let r=new FormData;r.set("file",new Blob([e],{type:"text/html; charset=utf-8"}),t);let i=Ht(),o=await MU(),a=new URL(`${i.fileUrl}/upload`);a.searchParams.set("location","pages"),n&&a.searchParams.set("contentEncoding",n);let s=await fetch(a,{method:"POST",headers:{Authorization:`Bearer ${o}`},body:r});if(!s.ok){let d=await s.text().catch(()=>"");throw new Error(`file upload failed: ${s.status} ${d}`.trim())}let c=await s.json().catch(()=>{});if(typeof c?.url!="string")throw new Error("file upload response missing url");return Sc(c.url,"url"),c.url}function FU(e){if(new TextEncoder().encode(e).length>r1)throw new Error(`html exceeds ${r1} bytes`)}async function MU(){let e=await fi();if(!e)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");return await di(e)}function Sc(e,t){if(!e)throw new Error(`${t} must be non-empty string`)}async function yr(e,t){return Km(t),dn("blueprints",t),e.upsertResourceItem("blueprints",t)}function Km(e){for(let t in e.nodes){let n=e.nodes[t];for(let r in n.inputs){let i=n.inputs[r];for(let o in i.values)LU(i.values[o])}}}function LU(e){(!Object.prototype.hasOwnProperty.call(e,"literal")||e.literal===void 0)&&(e.literal=null)}function f1(e){return{name:"blueprint_context_update",description:"Replace blueprint context as one unit, including type, config, and exactly one trigger branch. When integrating external apps, set webhook trigger and tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(blueprint.id)}/trigger`.",inputSchema:rt({context:{...Jc,description:"Full replacement context with type, trigger, and optional config. Trigger must have exactly one branch."}},["id","context"]),call:async t=>{let{blueprint:n}=await Tt(e,re(t,"id")),r=nl(Qc(t,"context"));return await Fc(r.type),n.context=r,await yr(e,n),Me(n)}}}async function ya(e,t,n){let r=await fi();if(!r)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let i=await di(r),o=Ht(),a=await fetch(`${o.backendUrl}/blueprints/${e}/modes/${t}/${n}`,{method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json"}});if(!a.ok){let s=await a.text().catch(()=>"");throw new Error(`blueprint runtime action failed: ${a.status} ${s}`.trim())}return{ok:!0,status:a.status,blueprintId:e,mode:t,action:n}}function Ea(e,t,n,r,i){return{name:t,description:n,inputSchema:rt({mode:{type:"string",enum:["test","explore"],description:r?"Target mode.":"Mode to use. Defaults to current blueprint mode."}},r?["id","mode"]:["id"]),call:async o=>{let a=re(o,"id"),c=Ss(o,"mode",["test","explore"])??(await Tt(e,a)).blueprint.mode;return Me(await i(a,c))}}}function d1(e){return Ea(e,"blueprint_mode_set","Switch blueprint mode through backend runtime endpoint to preserve side effects.",!0,async(t,n)=>ya(t,n,"switch-mode"))}function p1(e){return{name:"blueprint_test_records_set",description:"Set blueprint testRecordsAmount for test mode data generation. Uses replicated blueprint upsert; value must be at least 1.",inputSchema:rt({amount:{type:"integer",minimum:1,description:"Number of test records."}},["id","amount"]),call:async t=>{let{blueprint:n}=await Tt(e,re(t,"id"));return n.testRecordsAmount=d0(t,"amount"),await yr(e,n),Me(n)}}}function m1(e){return Ea(e,"blueprint_test_records_shuffle","Regenerate test records through backend /modes/test/shuffle-records endpoint.",!1,async t=>ya(t,"test","shuffle-records"))}function h1(e){return Ea(e,"blueprint_runtime_start","Start blueprint runtime for supplied mode or current blueprint mode through backend endpoint. When starting webhook trigger blueprint, tell user webhook URL: `${status.backendUrl}/${encodeURIComponent(id)}/trigger`. Webhook runs only while blueprint is active in explore mode. External apps integrate by calling this blueprint webhook endpoint.",!1,async(t,n)=>ya(t,n,"start"))}function _1(e){return Ea(e,"blueprint_runtime_stop","Stop blueprint runtime for supplied mode or current blueprint mode through backend endpoint.",!1,async(t,n)=>ya(t,n,"stop"))}function g1(e){return{name:"blueprint_recompute_on_change_set",description:"Set recomputeOnChange to always or manual. Frontend treats undefined as always; this tool stores explicit value for clarity.",inputSchema:rt({value:{type:"string",enum:["always","manual"],description:"Recompute behavior."}},["id","value"]),call:async t=>{let{blueprint:n}=await Tt(e,re(t,"id"));return n.recomputeOnChange=Ii(t,"value",["always","manual"]),await yr(e,n),Me(n)}}}function b1(e){return{name:"blueprint_mock_never_set",description:"Set or clear blueprint-level mockNever. enabled=true stores true; enabled=false clears the optional field like frontend toggle.",inputSchema:rt({enabled:{type:"boolean",description:"Whether to disable mocking for all nodes."}},["id","enabled"]),call:async t=>{let{blueprint:n}=await Tt(e,re(t,"id"));return $o(t,"enabled")?n.mockNever=!0:delete n.mockNever,await yr(e,n),Me(n)}}}async function Do(e,t){let n=await e.readResourceItems("blueprint-operators"),r={};for(let i in t.nodes){let o=n[t.nodes[i].operatorId];o&&(r[o.id]=o)}return{...n,...r}}function Gm(e){if(Object.keys(e).length===0)return;let t=null,n=null;for(let r in e)isNaN(parseFloat(r))||(n===null||parseFloat(r)<n)&&(t=r,n=parseFloat(r));return n!==null?e[t]:void 0}function v1(e){let t=Object.keys(e).filter(o=>!isNaN(parseFloat(o))).sort((o,a)=>parseFloat(o)-parseFloat(a));if(t.length===0)return"0.5";let n=t[t.length-1],r=parseFloat(n);return((r+(Math.floor(r)+1))/2).toPrecision(15).replace(/0+$/,"").replace(/\.$/,"")}function Ta(e,t){let n=v1(e);return e[n]=t,n}var S1=new Set(["boolean","string","number","datetime","map","binary","wildcard","list of boolean","list of string","list of number","list of datetime","list of map","list of binary","list of wildcard"]);function tn(e,t){let n=e.nodes[t];if(!n)throw new Error(`blueprint node not found: ${t}`);return n}function Oi(e,t){let n=e.inputs[t];if(!n)throw new Error(`node input not found: ${e.id}.${t}`);return n.values??={},n}function If(e,t,n,r){let o=Oi(tn(e,t),n).values[r];if(!o)throw new Error(`input value not found: ${t}.${n}[${r}]`);return o}function yc(e,t){let n=e[t];if(!n)throw new Error(`blueprint operator not found: ${t}`);return n}function lu(e,t){let n=e.inputs.find(r=>r.name===t);if(!n)throw new Error(`operator input not found: ${e.id}.${t}`);return n}function Pf(e,t){let n=e.output;if(!n||n.name!==t)throw new Error(`operator output not found: ${e.id}.${t}`);return n}function Ui(e){delete e.nodeId,delete e.operatorInputId,delete e.nodeInputIndex}function y1(e,t){e.nodeId=t.nodeId,e.operatorInputId=t.operatorInputId,e.nodeInputIndex=t.nodeInputIndex}function fu(e,t,n,r,i){let o=tn(e,n.nodeId),a=tn(e,r.nodeId),s=yc(t,o.operatorId),c=yc(t,a.operatorId);Pf(s,n.pinName);let d=lu(c,r.pinName),p=Oi(a,r.pinName),m=n.index??"0.5",g=BU(p,d,r.index,i),b=p.values[g];return b.nodeId=o.id,b.operatorInputId=n.pinName,b.nodeInputIndex=m,g}function E1(e,t){let n=tn(e,t.nodeId),r=t.index??"0.5";if(t.pinPosition==="input"){let i=If(e,n.id,t.pinName,r);Ui(i);return}for(let i in e.nodes)for(let o in e.nodes[i].inputs)for(let a in e.nodes[i].inputs[o].values){let s=e.nodes[i].inputs[o].values[a];s.nodeId===n.id&&s.operatorInputId===t.pinName&&s.nodeInputIndex===r&&Ui(s)}}function BU(e,t,n,r){if(r)return n?(e.values[n]??={literal:null},n):Ta(e.values,{literal:null});if(n){if(!(n in e.values))throw new Error(`input value not found: ${t.name}[${n}]`);return n}return t.type.isArray?Ta(e.values,{literal:null}):"0.5"in e.values?"0.5":(e.values["0.5"]={literal:null},"0.5")}function T1(e){return{name:"blueprint_pins_connect",description:"Connect one output pin to one input pin by writing pointer fields on target input value. Validates nodes and pin names; can create target array element. For newly created operator nodes, prefer passing inputConnections to blueprint_operator_node_add instead of calling this after creation, so layout sees graph edges before assigning coordinates.",inputSchema:rt({sourceNodeId:{type:"string"},sourceOutputName:{type:"string"},sourceIndex:mi(),targetNodeId:{type:"string"},targetInputName:{type:"string"},targetIndex:mi(),createTargetArrayElement:{type:"boolean",description:"Append target input value before connecting."}},["id","sourceNodeId","sourceOutputName","targetNodeId","targetInputName"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=fu(n.blueprint,await Do(e,n.blueprint),{nodeId:re(t,"sourceNodeId"),pinName:re(t,"sourceOutputName"),index:bt(t,"sourceIndex")},{nodeId:re(t,"targetNodeId"),pinName:re(t,"targetInputName"),index:bt(t,"targetIndex")},Yc(t,"createTargetArrayElement")??!1);return await yr(e,n.blueprint),Me({targetIndex:r,blueprint:n.blueprint})}}}function $r(e,t,n,r,i){return{name:e,description:t,inputSchema:n,call:async o=>{let{blueprint:a}=await Tt(r,re(o,"id"));return i(a,o),await yr(r,a),Me(a)}}}function A1(e){return $r("blueprint_pin_unlink","Unlink an input pin value or all downstream links from an output pin.",rt({nodeId:{type:"string"},pinName:{type:"string"},pinPosition:{type:"string",enum:["input","output"]},index:mi()},["id","nodeId","pinName","pinPosition"]),e,(t,n)=>E1(t,{nodeId:re(n,"nodeId"),pinName:re(n,"pinName"),pinPosition:Ii(n,"pinPosition",["input","output"]),index:bt(n,"index")}))}async function Go(e,t){let n=await e.readResourceItem("blueprint-operators",t);if(!n)throw new Error(`blueprint operator not found: ${t}`);if(!Array.isArray(n.inputs))throw new Error(`blueprint operator has invalid inputs: ${t}`);return n}async function Co(e,t,n){Km(t),dn("blueprints",t),dn("blueprint-views",n);let[r,i]=await Promise.all([e.upsertResourceItem("blueprints",t),e.upsertResourceItem("blueprint-views",n)]);return{blueprintOk:r,blueprintViewOk:i}}function UU(e,t=hi()){let n={id:t,operatorId:e.id,inputs:{}};for(let r of e.inputs)r.type.isArray?n.inputs[r.name]={isArray:!0,values:{}}:n.inputs[r.name]={values:{"0.5":{literal:null}}};return n}function du(e,t,n){let r=UU(n);return e.nodes[r.id]=r,t.nodes[r.id]={id:r.id},r}function R1(e){return{name:"blueprint_node_input_literal_set",description:"Set a node input literal at a CRDT value index. Defaults index to 0.5. With disconnect=true, clears upstream pointer fields first. For newly created operator nodes, prefer inputLiterals on blueprint_operator_node_add instead of setting literals afterward.",inputSchema:_o({literal:{description:"JSON literal value to set."},index:mi(),disconnect:{type:"boolean",description:"Clear upstream connection fields when true."}},["id","nodeId","inputName","literal"]),call:async t=>{let{blueprint:n}=await Tt(e,re(t,"id")),r=Wm(n,re(t,"nodeId"),re(t,"inputName"),bt(t,"index")??"0.5",Tr(t).literal,Yc(t,"disconnect")??!1);return await yr(e,n),Me({value:r,blueprint:n})}}}function Wm(e,t,n,r,i,o){let a=If(e,t,n,r);return a.literal=i,o&&Ui(a),a}function Ff(e,t,n,r,i,o){if(o!==void 0&&!S1.has(o))throw new Error(`unsupported type: ${o}`);let a=tn(e,n),s=yc(t,a.operatorId);r==="output"?VU(e,t,a,s,i,o):zU(e,t,a,s,i,o)}function Xm(e,t){return e.outputType??t.output?.type.type}function VU(e,t,n,r,i,o){let a=Pf(r,i);o===void 0||o===a.type.type?delete n.outputType:n.outputType=o;let s=o??a.type.type;for(let c in e.nodes)qU(e.nodes[c],t,n,i,s)}function qU(e,t,n,r,i){let o=t[e.operatorId];if(o)for(let a in e.inputs){let s=o.inputs.find(c=>c.name===a);if(s)for(let c in e.inputs[a].values){let d=e.inputs[a].values[c];d.nodeId!==n.id||d.operatorInputId!==r||(GU(i,e.inputs[a].type??s.type.type,s.type)?e.inputs[a].type=i:Ui(d))}}}function zU(e,t,n,r,i,o){let a=lu(r,i),s=Oi(n,i);o===void 0||o===a.type.type?delete s.type:s.type=o;let c=o??a.type.type;for(let d in s.values){let p=s.values[d];if(!p.nodeId||!p.operatorInputId)continue;let m=e.nodes[p.nodeId],g=m?t[m.operatorId]:void 0;if(!m||!g?.output)continue;let b=Xm(m,g);WU(b,c)||Ui(p)}KU(n,r,a.type,o)}function KU(e,t,n,r){let i=Hm(n);if(i){for(let o of t.inputs)Hm(o.type)===i&&(r?e.inputs[o.name].type=r:delete e.inputs[o.name].type);t.output&&Hm(t.output.type)===i&&(r?e.outputType=r:delete e.outputType)}}function GU(e,t,n){return Nf(t)?!n.allowedTypes||n.allowedTypes.length===0?!0:n.allowedTypes.some(r=>Ec(e)?e.includes(r.type):r.type===e):Ec(e)?e.includes(t):e===t}function WU(e,t){return!e||!t?!1:e==="list of wildcard"||t==="list of wildcard"?Ec(e)&&Ec(t):!Nf(e)&&!Nf(t)?Ec(e)?e.includes(t):e===t:!0}function Ec(e){return e?.startsWith("list of ")??!1}function Nf(e){return e==="wildcard"||e==="list of wildcard"}function Hm(e){if(e&&Nf(e.type))return e.linkType??"_"}function w1(e){return{name:"blueprint_operator_node_add",description:"Add an operator node using frontend default input creation. Leaves view position unset so frontend can place it after measuring dimensions. When creating connected or configured nodes, set inputConnections, inputLiterals, and inputTypeOverrides in this same call. Set inputTypeOverrides to list of X when connecting list output into scalar input so auto zipping runs. Prefer this over separate connect/literal/type calls immediately after creation because frontend layout sees first-write graph edges.",inputSchema:Ts({operatorId:{type:"string",description:"Registered blueprint operator id."},inputConnections:{type:"array",description:"Input connections to apply before first write. Use for all known input links when creating a node; prefer this over blueprint_pins_connect after creation because frontend layout uses these connections before assigning coordinates.",items:{type:"object",additionalProperties:!1,required:["inputName","sourceNodeId","sourceOutputName","sourceIndex"],properties:{inputName:{type:"string",description:"Input pin name on the new node."},sourceNodeId:{type:"string",description:"Existing source node id."},sourceOutputName:{type:"string",description:"Source output pin name."},sourceIndex:{type:"string",description:"Source output CRDT index."},targetIndex:{type:"string",description:"Target input CRDT index. Defaults to 0.5 for scalar inputs."},createTargetArrayElement:{type:"boolean",description:"Append target input value before connecting."}}}},inputLiterals:{type:"array",description:"Input literals to apply before first write. Use for all known literal inputs when creating a node; prefer this over blueprint_node_input_literal_set immediately after creation. Same behavior as blueprint_node_input_literal_set.",items:{type:"object",additionalProperties:!1,required:["inputName","literal"],properties:{inputName:{type:"string",description:"Input pin name on the new node."},literal:{description:"JSON literal value to set."},index:{type:"string",description:"Target input CRDT index. Defaults to 0.5."},disconnect:{type:"boolean",description:"Clear upstream connection fields when true."}}}},inputTypeOverrides:{type:"array",description:"Resolved input types to apply before first write. Use list of X on scalar inputs receiving list outputs to trigger auto zipping.",items:{type:"object",additionalProperties:!1,required:["inputName","type"],properties:{inputName:{type:"string",description:"Input pin name on the new node."},type:{type:"string",enum:xo,description:"Resolved input type override."}}}}},["id","operatorId"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=re(t,"operatorId");if(!Mc(await po(),r))throw new Error(`blueprint operator is not enabled for current user: ${r}`);let i=await Go(e,r),o=du(n.blueprint,n.blueprintView,i);HU(n.blueprint,o.id,jU(t));let a=$U(t),s=YU(t),c=await Do(e,n.blueprint);a.length>0&&XU(n.blueprint,c,o.id,a);for(let d of s)Ff(n.blueprint,c,o.id,"input",d.inputName,d.type);return await Co(e,n.blueprint,n.blueprintView),Me({node:o,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function HU(e,t,n){for(let r of n){let i=e.nodes[t].inputs[r.inputName];i?.isArray&&r.index&&(i.values[r.index]??={literal:null});let o=i?.isArray?r.index??Ta(i.values,{literal:null}):r.index??"0.5";Wm(e,t,r.inputName,o,r.literal,r.disconnect??!1)}}function XU(e,t,n,r){for(let i of r){let o=t[e.nodes[n].operatorId].inputs.find(a=>a.name===i.inputName);fu(e,t,{nodeId:i.sourceNodeId,pinName:i.sourceOutputName,index:i.sourceIndex},{nodeId:n,pinName:i.inputName,index:i.targetIndex},i.createTargetArrayElement??!!o?.type.isArray)}}function $U(e){let t=Tr(e).inputConnections;if(t==null)return[];if(!Array.isArray(t))throw new Error("invalid tool arguments: inputConnections must be array");let n=[];for(let r=0;r<t.length;r++){let i=t[r];if(!ko(i))throw new Error(`invalid tool arguments: inputConnections[${r}] must be object`);let o=i.inputName,a=i.sourceNodeId,s=i.sourceOutputName,c=i.sourceIndex,d=i.targetIndex,p=i.createTargetArrayElement;if(typeof o!="string"||!o.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].inputName must be non-empty string`);if(typeof a!="string"||!a.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceNodeId must be non-empty string`);if(typeof s!="string"||!s.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceOutputName must be non-empty string`);if(typeof c!="string"||!c.trim())throw new Error(`invalid tool arguments: inputConnections[${r}].sourceIndex must be non-empty string`);if(d!==void 0&&typeof d!="string")throw new Error(`invalid tool arguments: inputConnections[${r}].targetIndex must be string`);if(p!==void 0&&typeof p!="boolean")throw new Error(`invalid tool arguments: inputConnections[${r}].createTargetArrayElement must be boolean`);n.push({inputName:o,sourceNodeId:a,sourceOutputName:s,sourceIndex:c,targetIndex:d,createTargetArrayElement:p})}return n}function jU(e){let t=Tr(e).inputLiterals;if(t==null)return[];if(!Array.isArray(t))throw new Error("invalid tool arguments: inputLiterals must be array");let n=[];for(let r=0;r<t.length;r++){let i=t[r];if(!ko(i))throw new Error(`invalid tool arguments: inputLiterals[${r}] must be object`);let o=i.inputName,a=i.literal,s=i.index,c=i.disconnect;if(typeof o!="string"||!o.trim())throw new Error(`invalid tool arguments: inputLiterals[${r}].inputName must be non-empty string`);if(!("literal"in i))throw new Error(`invalid tool arguments: inputLiterals[${r}].literal is required`);if(s!==void 0&&typeof s!="string")throw new Error(`invalid tool arguments: inputLiterals[${r}].index must be string`);if(c!==void 0&&typeof c!="boolean")throw new Error(`invalid tool arguments: inputLiterals[${r}].disconnect must be boolean`);n.push({inputName:o,literal:a,index:s,disconnect:c})}return n}function YU(e){let t=Tr(e).inputTypeOverrides;if(t==null)return[];if(!Array.isArray(t))throw new Error("invalid tool arguments: inputTypeOverrides must be array");let n=[];for(let r=0;r<t.length;r++){let i=t[r];if(!ko(i))throw new Error(`invalid tool arguments: inputTypeOverrides[${r}] must be object`);let o=i.inputName,a=i.type;if(typeof o!="string"||!o.trim())throw new Error(`invalid tool arguments: inputTypeOverrides[${r}].inputName must be non-empty string`);if(typeof a!="string"||!xo.includes(a))throw new Error(`invalid tool arguments: inputTypeOverrides[${r}].type must be supported type`);n.push({inputName:o,type:a})}return n}function D1(e){return{name:"blueprint_context_field_node_add",description:"Add a context field getter node using Base/function/blueprint/field-wildcard, setting outputType and Path literal. Apache Kafka context config is initialized from field connection/path when unset.",inputSchema:Ts({connectionId:{type:"string",description:"Context field connection id."},path:{type:"string",description:"Context field path such as topic or collection."},field:{type:"string",description:"Field name to store in Path literal."},type:{type:"string",enum:xo,description:"Field output type."}},["id","connectionId","path","field","type"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=re(t,"connectionId"),i=await e.readResourceItem("connections",r);i?.type&&await wa(i.type);let o=await Go(e,"Base/function/blueprint/field-wildcard"),a=du(n.blueprint,n.blueprintView,o);return a.outputType=Ii(t,"type",xo),a.inputs.Path.values["0.5"]={literal:re(t,"field")},QU(n.blueprint.context,r,re(t,"path")),await Co(e,n.blueprint,n.blueprintView),Me({node:a,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function QU(e,t,n){e.type==="ApacheKafkaTopic"&&(e.config??={},e.config.topicName===void 0&&(e.config.connectionId=t,e.config.topicName=n))}function C1(e){return{name:"blueprint_node_result_field_node_add",description:"Add a map/get node for a field inferred from an upstream node result. Sets Path literal and optionally connects source output to Target input.",inputSchema:Ts({path:{type:"string",description:"Result field path to store in Path literal."},sourceNodeId:{type:"string",description:"Optional upstream source node id to connect into Target."},sourceOutputName:{type:"string",description:"Optional upstream output name. Defaults to source operator output."}},["id","path"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=await Go(e,"Base/function/map/get"),i=du(n.blueprint,n.blueprintView,r);i.inputs.Path.values["0.5"]={literal:re(t,"path")};let o=bt(t,"sourceNodeId");return o&&fu(n.blueprint,await Do(e,n.blueprint),{nodeId:o,pinName:bt(t,"sourceOutputName")??await JU(e,n.blueprint,o)},{nodeId:i.id,pinName:"Target",index:"0.5"},!1),await Co(e,n.blueprint,n.blueprintView),Me({node:i,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}async function JU(e,t,n){let r=t.nodes[n];if(!r)throw new Error(`source node not found: ${n}`);let i=await Go(e,r.operatorId);if(!i.output?.name)throw new Error(`source node operator has no output: ${r.operatorId}`);return i.output.name}function O1(e){return{name:"blueprint_node_array_input_add",description:"Append an element to an array input using frontend CRDT list index generation. Returns new index.",inputSchema:_o({literal:{description:"Optional initial literal value. Defaults to null."}},["id","nodeId","inputName"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=n.blueprint.nodes[re(t,"nodeId")];if(!r)throw new Error("node not found");let i=await Go(e,r.operatorId),o=Tr(t),a=Object.prototype.hasOwnProperty.call(o,"literal")?o.literal:null,s=ZU(n.blueprint,i,r.id,re(t,"inputName"),a);return await yr(e,n.blueprint),Me({index:s,blueprint:n.blueprint})}}}function ZU(e,t,n,r,i){let o=tn(e,n);if(!lu(t,r).type.isArray)throw new Error(`operator input is not an array: ${r}`);let s=Oi(o,r);return Ta(s.values,{literal:i===void 0?null:i})}function k1(e){return $r("blueprint_node_array_input_remove","Remove one CRDT-indexed value from a node array input.",_o({index:mi()},["id","nodeId","inputName","index"]),e,(t,n)=>e4(t,re(n,"nodeId"),re(n,"inputName"),re(n,"index")))}function e4(e,t,n,r){let i=Oi(tn(e,t),n);if(!(r in i.values))throw new Error(`input value not found: ${t}.${n}[${r}]`);delete i.values[r]}function x1(e){return $r("blueprint_node_array_input_move","Move array input values by swapping two CRDT entries. Provide indexA/indexB or index plus direction up/down.",_o({indexA:mi(),indexB:mi(),index:mi(),direction:{type:"string",enum:["up","down"],description:"Adjacent move direction when indexA/indexB are omitted."}},["id","nodeId","inputName"]),e,(t,n)=>{let r=re(n,"inputName"),i=t.nodes[re(n,"nodeId")];if(!i)throw new Error("node not found");let o=bt(n,"indexA")??re(n,"index"),a=bt(n,"indexB")??n4(i.inputs[r]?.values??{},o,Ii(n,"direction",["up","down"]));t4(t,i.id,r,o,a)})}function t4(e,t,n,r,i){let o=Oi(tn(e,t),n);if(!(r in o.values))throw new Error(`input value not found: ${t}.${n}[${r}]`);if(!(i in o.values))throw new Error(`input value not found: ${t}.${n}[${i}]`);let a=o.values[r];o.values[r]=o.values[i],o.values[i]=a}function n4(e,t,n){let r=[];for(let a in e)Number.isNaN(parseFloat(a))||r.push(a);r.sort((a,s)=>parseFloat(a)-parseFloat(s));let i=r.indexOf(t),o=n==="up"?r[i-1]:r[i+1];if(!o)throw new Error(`no adjacent input value ${n} from index ${t}`);return o}function I1(e){return $r("blueprint_node_input_zipping_set","Set or clear forceZipping on a node input. Use enabled=true when connected list output should run element-by-element even if input expects a list. enabled=false clears the optional field like frontend. Cache operators never zip.",_o({enabled:{type:"boolean",description:"Whether to force zipping; false clears stored field."}},["id","nodeId","inputName","enabled"]),e,(t,n)=>r4(t,re(n,"nodeId"),re(n,"inputName"),$o(n,"enabled")))}function r4(e,t,n,r){let i=Oi(tn(e,t),n);r?i.forceZipping=!0:delete i.forceZipping}function P1(e,t){let n=new Set(t);for(let r of n)i4(e,r);for(let r in e.nodes){let i=e.nodes[r];for(let o in i.inputs)for(let a in i.inputs[o].values){let s=i.inputs[o].values[a];(n.has(i.id)||s.nodeId&&n.has(s.nodeId))&&Ui(s)}}}function N1(e,t,n){let r={};for(let i of n){let o=e.nodes[i],a=o?t[o.operatorId]:void 0,s=a?.inputs[0];if(!o||!a?.output||!s)continue;let c=Xm(o,a),d=o.inputs[s.name]?.type??s.type.type;if(c!==d)continue;let p=Gm(o.inputs[s.name]?.values??{});p?.nodeId&&(r[o.id]=structuredClone(p))}return r}function F1(e,t,n){for(let r in e.inputs)for(let i in e.inputs[r].values){let o=e.inputs[r].values[i];o.nodeId&&(t[o.nodeId]?o.nodeId=t[o.nodeId]:n.has(o.nodeId)||Ui(o))}}function M1(e,t){t?y1(e,t):Ui(e)}function i4(e,t){if(!e.nodes[t])throw new Error(`blueprint node not found: ${t}`)}function L1(e){return $r("blueprint_node_connections_remove","Remove selected nodes input links and downstream links pointing to selected nodes.",rt({nodeIds:Io("Node ids whose connections should be removed.")},["id","nodeIds"]),e,(t,n)=>P1(t,jo(n,"nodeIds")))}function B1(e){return{name:"blueprint_node_type_set",description:"Set or clear an input/output resolved type. Omitting type or setting base type clears override; incompatible existing links are disconnected.",inputSchema:rt({nodeId:{type:"string"},xputType:{type:"string",enum:["input","output"]},pinName:{type:"string"},type:{type:"string",enum:xo,description:"Resolved type override. Omit to reset to operator base type."}},["id","nodeId","xputType","pinName"]),call:async t=>{let n=await Tt(e,re(t,"id"));return Ff(n.blueprint,await Do(e,n.blueprint),re(t,"nodeId"),Ii(t,"xputType",["input","output"]),re(t,"pinName"),Ss(t,"type",xo)),await yr(e,n.blueprint),Me(n.blueprint)}}}function U1(e){return $r("blueprint_nodes_disabled_set","Set or clear disabled on selected nodes. disabled=false clears optional field like frontend.",rt({nodeIds:Io("Node ids to update."),disabled:{type:"boolean",description:"Whether nodes should be disabled."}},["id","nodeIds","disabled"]),e,(t,n)=>o4(t,jo(n,"nodeIds"),$o(n,"disabled")))}function o4(e,t,n){for(let r of t){let i=tn(e,r);n?i.disabled=!0:delete i.disabled}}function V1(e){return $r("blueprint_node_mock_never_set","Set or clear node-level mockNever. enabled=false clears optional field like frontend.",rt({nodeId:{type:"string"},enabled:{type:"boolean"}},["id","nodeId","enabled"]),e,(t,n)=>a4(t,re(n,"nodeId"),$o(n,"enabled")))}function a4(e,t,n){let r=tn(e,t);n?r.mockNever=!0:delete r.mockNever}function q1(e){return $r("blueprint_node_skip_behavior_set","Set On Skip behavior. behavior=skip clears stored value because frontend default skip is undefined; behavior=null stores string null.",rt({nodeId:{type:"string"},behavior:{type:"string",enum:["skip","null"]}},["id","nodeId","behavior"]),e,(t,n)=>s4(t,re(n,"nodeId"),Ii(n,"behavior",["skip","null"])))}function s4(e,t,n){let r=tn(e,t);n==="skip"?delete r.skipBehavior:r.skipBehavior="null"}function z1(e){return{name:"blueprint_nodes_delete",description:"Delete blueprint nodes and view nodes. Mirrors frontend rewire behavior for deleted nodes whose first input type matches output type.",inputSchema:rt({nodeIds:Io("Node ids to delete.")},["id","nodeIds"]),call:async t=>{let n=await Tt(e,re(t,"id"));return u4(n.blueprint,n.blueprintView,await Do(e,n.blueprint),jo(t,"nodeIds")),await Co(e,n.blueprint,n.blueprintView),Me({blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function u4(e,t,n,r){let i=new Set(r);for(let a of i)tn(e,a);let o=N1(e,n,i);for(let a in e.nodes)for(let s in e.nodes[a].inputs)for(let c in e.nodes[a].inputs[s].values){let d=e.nodes[a].inputs[s].values[c];!d.nodeId||!i.has(d.nodeId)||M1(d,o[d.nodeId])}for(let a of i)delete e.nodes[a],delete t.nodes[a]}function K1(e){return{name:"blueprint_nodes_duplicate",description:"Duplicate selected nodes and view nodes. Remaps internal copied-node references, drops missing-node references, and leaves new node positions for the frontend layout pass.",inputSchema:rt({nodeIds:Io("Node ids to duplicate.")},["id","nodeIds"]),call:async t=>{let n=await Tt(e,re(t,"id")),r=c4(n.blueprint,n.blueprintView,jo(t,"nodeIds"));return await Co(e,n.blueprint,n.blueprintView),Me({nodeIds:r,blueprint:n.blueprint,blueprintView:n.blueprintView})}}}function c4(e,t,n){let r=new Set(n);for(let s of r)tn(e,s);let i={},o=n.map(s=>structuredClone(e.nodes[s])),a=new Set;for(let s in e.nodes)a.add(s);for(let s of o){let c=hi();i[s.id]=c,s.id=c}for(let s of o)F1(s,i,a);for(let s of o)e.nodes[s.id]=s;for(let s of n){let c=structuredClone(t.nodes[s]??{id:s}),d=i[s];c.id=d,l4(c),t.nodes[d]=c}return n.map(s=>i[s])}function l4(e){if(!e.style)return;let t={...e.style};delete t.x,delete t.y;for(let n in t){e.style=t;return}delete e.style}function G1(e){return[m0(e),i1(e),T0(e),g0(e),b0(e),v0(e),S0(e),A0(e),R0(e),o1(e),s1(e),a1(e),f1(e),d1(e),p1(e),m1(e),h1(e),_1(e),g1(e),b1(e),w1(e),D1(e),C1(e),R1(e),O1(e),k1(e),x1(e),I1(e),T1(e),A1(e),L1(e),B1(e),U1(e),V1(e),q1(e),z1(e),K1(e)]}var Ac={type:"object",additionalProperties:!0},Rc={type:"object",additionalProperties:!1,properties:{}},X1=["kafka-topic:offset-extents","rabbitmq-stream:offset-extents","base-event-collection:offset-extents","shopify-webhook:offset-extents"],d4=["ticket-message-created","ticket-message-failed"];function $1(e=_s()){return[...p4(e),...m4(e),...h4(e),...G1(e),..._4(e),...g4(e),...v4(e)]}function p4(e){return[{name:"resources_list",description:"Discover Beepflow resources supported by this MCP server, including writable flags and item schema URIs.",inputSchema:Rc,call:async()=>Yt({resources:Oa,note:"tabs, pages, blueprints, and blueprint-views are dedicated resources; use tabs_query, page_tabs_query, blueprints_query, and tab intent tools instead of generic resource_* tools."})},{name:"resource_schema_get",description:"Read JSON Schema and mutation notes for one Beepflow resource item. Use before constructing an upsert item unless modifying an item read from the same resource.",inputSchema:{type:"object",additionalProperties:!1,required:["resource"],properties:{resource:{type:"string",enum:mu,description:"Resource whose item JSON Schema and mutation notes should be read."}}},call:async t=>{let n=Zf(Zn(t,"resource"));return Yt(Wc(n))}},{name:"resource_query",description:"Query a Beepflow resource with all, keys, or fieldEqualTo snapshot filters. Returns an item map. Use before editing existing resource items.",inputSchema:{type:"object",additionalProperties:!1,required:["resource"],properties:{resource:{type:"string",enum:mu,description:"Resource collection to query."},all:{type:"boolean",description:"Return whole resource collection."},keys:{type:"array",items:{type:"string"},description:"Return items with these ids."},fieldEqualTo:{...Ac,description:"Return items whose fields equal these exact values."}}},call:async t=>{let n=Zf(Zn(t,"resource"));await $m(n);let r=X4(t),i=await e.readResourceItems(n,r);return Yt(i)}},{name:"resource_upsert",description:"Create or update one writable Beepflow resource item. Mandatory: before calling resource_upsert, first call resource_schema_get for the same resource and ensure item matches that resource schema. Send full item state, not JSON patches; preserve unchanged fields.",inputSchema:{type:"object",additionalProperties:!1,required:["resource","item"],properties:{resource:{type:"string",enum:mu,description:"Writable resource collection to create or update."},item:{...Ac,description:"Full item state with non-empty id; not a JSON patch."}}},call:async t=>{let n=ed(Zn(t,"resource"));await $m(n);let r=jm(t,"item"),i=r.id;if(typeof i!="string"||!i)throw new Error("item.id must be non-empty string");dn(n,r);let o=await e.upsertResourceItem(n,r);return Yt({ok:o})}},{name:"resource_delete",description:"Delete one writable Beepflow resource item by key. Destructive; use only when user intent is explicit.",inputSchema:{type:"object",additionalProperties:!1,required:["resource","key"],properties:{resource:{type:"string",enum:mu,description:"Writable resource collection to delete from."},key:{type:"string",description:"Item id to delete."}}},call:async t=>{let n=ed(Zn(t,"resource"));await $m(n);let r=Zn(t,"key"),i=await e.deleteResourceItem(n,r);return Yt({ok:i})}}]}function m4(e){return[{name:"status",description:"Mandatory first call before any Beepflow task. Call status at least once whenever user wants to inspect, edit, debug, or operate Beepflow, so agent has latest user status and MCP instructions. Returns MCP instructions, frontendUrl, backendUrl, current authenticated user location, current tab id, tab, page file URL, blueprint, blueprint view, used operator definitions, and context fields when on a blueprint tab.",inputSchema:Rc,call:async()=>E4(e)}]}async function $m(e){e!=="users"&&e!=="roles"||await gh(e)}function h4(e){return[{name:"results_read",description:"Read current blueprint result events for a result id such as tabId-test or tabId-explore. Blueprint result ids are tabId-test and tabId-explore.",inputSchema:t5(),call:async t=>q4(e,t)},{name:"results_delete_state",description:"Stop and delete persisted result state for a result id. State-changing; use only when user intent is explicit.",inputSchema:n5(),call:async t=>G4(e,t)},{name:"results_set_offsets",description:"Set current stream offsets for a result id. State-changing; use only when user intent is explicit.",inputSchema:r5(),call:async t=>W4(e,t)},{name:"stream_offset_extents_read",description:"Read stream partition offset extents from supported frontend live channels for runtime diagnostics.",inputSchema:i5(),call:async t=>H4(e,t)}]}function _4(e){return[{name:"blueprint_operators_search",description:"Search blueprint operators with the same vector endpoint used by the editor menu. Use to find valid operator ids plus input/output metadata before editing blueprint nodes.",inputSchema:J4(),call:async t=>S4(e,t)},{name:"blueprint_context_fields_search",description:"Search contextual fields available to a blueprint using the editor menu field matching rules. Use to find fields available from blueprint context schemas.",inputSchema:Z4(),call:async t=>y4(e,t)}]}function g4(e){return[{name:"integrations_list",description:"List integration types available from the backend integration API. Use before listing endpoints for an integration type.",inputSchema:Rc,call:async()=>{let t=await po();return Yt((await r0()).filter(n=>hs(t,n)))}},{name:"integration_blueprint_contexts_list",description:"List backend-defined blueprint context resource types, including executionKind, config fields, and type/config templates. If a resource type is absent, do not use it for blueprint context. Use before blueprint_tab_create or blueprint_context_update when choosing context.type, context.trigger, and context.config. executionKind=managed means choose trigger { executor: { enabled: true } } because integration runtime owns stream/event/poll lifecycle. executionKind=finite means choose trigger from user intent: manual for ad hoc/sample/start-once execution, cron for scheduled refresh, loop for fixed-delay repeated polling, blueprint for upstream blueprint invocation, and webhook only for generic GET/POST /:tabId/trigger HTTP calls, not integration webhooks.",inputSchema:{type:"object",additionalProperties:!1,properties:{integrationType:{type:"string",description:"Optional integration type from integrations_list; omit to return all blueprint context resource definitions including ManualTick."},resourceType:{type:"string",description:"Optional integration resource type to return one matching blueprint context definition."}}},call:async t=>{let n=await po();return Yt((await i0(wc(t,"integrationType"),wc(t,"resourceType"))).filter(r=>Nc(n,r.resourceType)))}},{name:"integration_endpoints_list",description:"List backend integration endpoints for one integration type from workspace OpenAPI metadata, including access, side effect, request, response, confirmation metadata, parameters, requestBody, and payloadSchema for integration_endpoint_call. If payloadSchema includes connectionId, use integration_connections_list before integration_endpoint_call. MCP-only; external apps must integrate through a blueprint with webhook trigger.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type from integrations_list."}}},call:async t=>{let n=Zn(t,"integrationType");return await wa(n),Yt(await fd(n))}},{name:"integration_connections_list",description:"List redacted workspace connections for one integration type. Use this to find connectionId before integration_endpoint_call when endpoint payloadSchema declares connectionId. Use status only to disambiguate by current space when multiple matching connections exist. External apps must integrate through a blueprint with webhook trigger.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type whose connections should be listed."},spaceId:{type:"string",description:"Optional space id to restrict connection matches."}}},call:async t=>b4(e,t)},{name:"integration_endpoint_schema_get",description:"MCP-only; not for external app data sources. Read OpenAPI 3.1 schema for one integration type. Use before integration_endpoint_call when full request/response schema details are needed. External apps must call blueprint webhook endpoints.",inputSchema:{type:"object",additionalProperties:!1,required:["integrationType"],properties:{integrationType:{type:"string",description:"Integration type whose OpenAPI schema should be read."}}},call:async t=>{let n=Zn(t,"integrationType");return await wa(n),Yt(await dd(n))}},{name:"integration_endpoint_call",description:"Call one allowlisted backend integration endpoint by integrationType and operationId. First call integration_endpoints_list or integration_endpoint_schema_get, then pass one payload object matching the exposed payloadSchema. For endpoints with connectionId in payloadSchema, first call integration_connections_list. Can cause external reads or writes, read local files for multipart uploads, and write binary downloads to disk. Mutating or destructive endpoints require confirm=true. Supports JSON, form, multipart files, request headers, redirects, and binary downloads. MCP-only; not an external app runtime integration path. External apps must call blueprint webhook endpoints.",inputSchema:e5(),call:async t=>{let n=Q4(t);return await wa(n.integrationType),Yt(await o0(n))}}]}async function b4(e,t){let n={type:Zn(t,"integrationType")};await wa(n.type);let r=wc(t,"spaceId");return r&&(n.spaceId=r),Yt(await e.readResourceItems("connections",{fieldEqualTo:n}))}function v4(e){return[{name:"auth_email_request_code",description:"Request email login code via Beepflow auth service.",inputSchema:{type:"object",additionalProperties:!1,required:["email"],properties:{email:{type:"string"}}},call:async t=>{let n=Zn(t,"email");return await dh(n),j4(`code sent to ${n}`)}},{name:"auth_email_verify_code",description:"Verify email login code and persist JWT for backend. Modifies stored credentials.",inputSchema:{type:"object",additionalProperties:!1,required:["email","code"],properties:{email:{type:"string"},code:{type:"string"}}},call:async t=>{let n=await ph(Zn(t,"email"),Zn(t,"code"));return e.close(),Yt(n)}},{name:"auth_google_sign_in",description:"Open Google OAuth login, wait for completion, and persist JWT for backend. Modifies stored credentials.",inputSchema:Rc,call:async()=>{let t=await mh();return t.status==="authenticated"&&e.close(),Yt(t)}},{name:"auth_sign_out",description:"Delete stored backend JWT. Modifies stored credentials.",inputSchema:Rc,call:async()=>(e.close(),Yt(await lh()))}]}async function S4(e,t){let n=Zn(t,"query"),r=Dc(t,"limit")??25,i=Ym(t,"includeDeprecated")??!1,o=await po(),[a,s]=await Promise.all([w4(n,r),e.readResourceItems("blueprint-operators")]),c=[];for(let d of a){let p=s[d.operatorId];p?.hidden!==!0&&(!i&&p?.isDeprecated===!0||Mc(o,d.operatorId)&&c.push(D4(d,p)))}return Yt({results:c})}async function y4(e,t){let n=Zn(t,"blueprintId"),r=Zn(t,"query"),i=Dc(t,"limit")??25,o=wc(t,"connectionId"),[a,s,c]=await Promise.all([e.readResourceItem("blueprints",n),e.readResourceItems("schemas"),e.readResourceItems("connections")]);if(!a)return Yt({results:[]});let d=await po(),p=j1(a,s,c,o).filter(g=>{let b=c[g.connectionId]?.type;return!b||hs(d,b)}),m=k4(p,r,i);return Yt({results:m})}async function E4(e){let t=await _h(),n=Ht(),r=await e.readResourceItem("user-locations",t),i=R4(r);if(!i)return Yt({instructions:bs,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:t,tabId:null,location:r,tab:null,page:null,blueprint:null,blueprintView:null,blueprintOperators:{},contextFields:[]});let o=await e.readResourceItem("tabs",i);if(o?.type==="page"){let g=await e.readResourceItem("pages",i);return Yt({instructions:bs,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:t,tabId:i,location:r,tab:o,page:g,blueprint:null,blueprintView:null,blueprintOperators:{},contextFields:[]})}if(o?.type!=="blueprint")return Yt({instructions:bs,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:t,tabId:i,location:r,tab:o,page:null,blueprint:null,blueprintView:null,blueprintOperators:{},contextFields:[]});let[a,s]=await Promise.all([e.readResourceItem("blueprints",i),e.readResourceItem("blueprint-views",i)]);if(!a)return Yt({instructions:bs,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:t,tabId:i,location:r,tab:o,page:null,blueprint:null,blueprintView:s,blueprintOperators:{},contextFields:[]});let[c,d,p]=await Promise.all([T4(e,a),e.readResourceItems("schemas"),e.readResourceItems("connections")]),m=j1(a,d,p,void 0);return Yt({instructions:bs,frontendUrl:n.frontendUrl,backendUrl:n.backendUrl,email:t,tabId:i,location:r,tab:o,page:null,blueprint:a,blueprintView:s,blueprintOperators:c,contextFields:m})}async function T4(e,t){let n=A4(t),r=await e.readResourceItems("blueprint-operators"),i={};for(let o in n)i[o]=r[o]??null;return i}function A4(e){let t=e.nodes,n={};if(!qi(t))return n;for(let r in t){let i=t[r];if(!qi(i))continue;let o=i.operatorId;typeof o=="string"&&o.trim()&&(n[o]=!0)}return n}function R4(e){let t=e?.tab;if(qi(t)){let i=t.id;if(typeof i=="string"&&i.trim())return i}let n=e?.blueprint;if(!qi(n))return;let r=n.id;return typeof r=="string"&&r.trim()?r:void 0}async function w4(e,t){let n=await fi();if(!n)throw new Error("missing jwt: set BEEPFLOW_JWT or run auth tool to persist token");let r=await di(n),i=Ht(),o=await fetch(`${i.backendUrl}/blueprint/operators/search`,{method:"POST",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify({query:e,limit:t})});if(!o.ok){let c=await o.text().catch(()=>"");throw new Error(`blueprint/operators/search failed: ${o.status} ${c}`.trim())}let a=await o.json().catch(()=>{});if(!Array.isArray(a))throw new Error("blueprint/operators/search returned invalid payload");let s=[];for(let c of a){if(!qi(c))continue;let d=c.operatorId,p=c.score;typeof d!="string"||typeof p!="number"||s.push({operatorId:d,score:p})}return s}function D4(e,t){return{kind:"operator",id:e.operatorId,name:Tc(t,"name"),categoryPath:H1(t,"categoryPath"),aliases:H1(t,"aliases"),doc:Tc(t,"doc"),inputs:U4(t),output:V4(t),score:e.score}}function j1(e,t,n,r){let i=C4(e.context,t),o=[];for(let a of i){if(!a.connectionId||r&&a.connectionId!==r)continue;let s=n[a.connectionId],c=M4(a.path);for(let d in a.schema)o.push({kind:"contextField",connectionId:a.connectionId,connectionLabel:s?.label??"???",path:c,field:d,type:a.schema[d]??"wildcard",score:0})}return o}function C4(e,t){if(!e?.type)return[];let n=O4(e);if(n){let o=t[n];return o?[o]:[]}let r=lo(e.config,"connectionId"),i=[];for(let o in t){let a=t[o];if(a)switch(!0){case!!r:a.connectionId===r&&i.push(a);break;case a.type===e.type:i.push(a);break}}return i}function O4(e){let t=e.config,n=lo(t,"connectionId");if(n)switch(e.type){case"ApacheKafkaTopic":return Vi(n,{topicName:lo(t,"topicName")});case"ShopifyWebhook":return Vi(n,{topicName:L4(t)});case"RabbitMQStream":case"MQTTTopic":return Vi(n,{streamPattern:lo(t,"streamPattern")});case"QdrantCollection":case"BaseVectorCollection":case"BaseLookupCollection":case"BaseEventCollection":return Vi(n,{collectionName:lo(t,"collectionName")});case"AerospikeSet":return Vi(n,{namespace:lo(t,"namespace"),setName:lo(t,"setName")});case"KaggleFile":return Vi(n,{datasetRef:lo(t,"datasetRef"),fileName:lo(t,"filePath")});case"GoogleDriveFile":return Vi(n,{fileId:lo(t,"fileId"),parser:lo(t,"parser")});case"GmailMessage":return Vi(n,{resource:"message"});case"GmailThread":return Vi(n,{resource:"thread"});case"GmailEvent":return Vi(n,{resource:"event"});case"GorgiasEvent":return Vi(n,{resource:"event",variant:B4(t)?"message":"ticket"});case"GorgiasTicket":return Vi(n,{resource:"ticket"})}}function k4(e,t,n){let r=[];return e.forEach((i,o)=>{let a=I4(t,x4(i));a!==void 0&&r.push({field:{...i,score:a},index:o})}),r.sort((i,o)=>o.field.score-i.field.score||i.index-o.index).slice(0,n).map(i=>i.field)}function x4(e){return[e.connectionLabel,e.path,e.field,e.type].join(" ")}function I4(e,t){let n=W1(e);if(n.length===0)return;let r=t.toLowerCase(),i=W1(t),o=0;for(let a of n){let s=P4(a,i),c=Math.max(s,r.includes(a)?.82:0);if(c<=0)return;o+=c}return Number((o/n.length).toFixed(4))}function P4(e,t){let n=0;for(let r of t)switch(!0){case r===e:n=Math.max(n,1);break;case r.startsWith(e):n=Math.max(n,.92);break;case r.includes(e):n=Math.max(n,.82);break;case(e.length>=3&&r.length>=3):n=Math.max(n,N4(e,r));break}return n}function N4(e,t){let n=Math.max(e.length,t.length);if(n===0)return 0;let r=1-F4(e,t)/n;return r>=.72?r*.7:0}function F4(e,t){let n=Array.from({length:t.length+1},(i,o)=>o),r=Array.from({length:t.length+1},()=>0);for(let i=1;i<=e.length;i+=1){r[0]=i;for(let o=1;o<=t.length;o+=1){let a=e[i-1]===t[o-1]?0:1;r[o]=Math.min(n[o]+1,r[o-1]+1,n[o-1]+a)}for(let o=0;o<n.length;o+=1)n[o]=r[o]??0}return n[t.length]??0}function W1(e){return e.toLowerCase().split(/[^a-z0-9]+/).map(t=>t.trim()).filter(Boolean)}function Vi(e,t){let n="";for(let r in t){let i=t[r];if(!i)return;n+=`${r} = ${i} `}if(n=n.trim(),!!n)return f4("md5").update(`${e} ${n}`).digest("hex")}function M4(e){if(!e)return"";let t=[];for(let n in e)t.push(e[n]??"");return t.filter(Boolean).join("/")}function L4(e){let t=e?.webhookTopics;if(qi(t)){for(let n in t)if(t[n]===!0)return n}}function B4(e){let t=e?.webhookTriggers;if(!qi(t))return!1;for(let n in t)if(t[n]===!0&&d4.includes(n))return!0;return!1}function lo(e,t){let n=e?.[t];return typeof n=="string"&&n.trim()?n:void 0}function Tc(e,t){let n=e?.[t];return typeof n=="string"?n:void 0}function H1(e,t){let n=e?.[t];return Array.isArray(n)?n.filter(r=>typeof r=="string"):[]}function U4(e){return Array.isArray(e?.inputs)?e.inputs.map(t=>Y1(t)).filter(t=>t.name):[]}function V4(e){let t=e?.output;if(!qi(t))return;let n=Y1(t);return n.name?n:void 0}function Y1(e){let t=qi(e)?e:void 0,n=qi(t?.type)?t.type:void 0;return{name:Tc(t,"name")??"",type:Tc(n,"type")??"",doc:Tc(t,"doc")}}async function q4(e,t){let n=Zn(t,"resultId"),r=Dc(t,"timeoutMs")??15e3,i=Dc(t,"quietMs")??250;await z4(e,n);let o=`${n}:events`,a=`results:${o}`;await e.start();let s=e.collectChannelEvents(a,c=>c.key===o,r,i);e.sendChannelEvent("results",{resource:"results",key:o,action:"subscribe-key"});try{return Yt($4(await s))}finally{e.sendChannelEvent("results",{resource:"results",key:o,action:"unsubscribe-key"})}}async function z4(e,t){let n=K4(t);if(!n)throw new Error(`invalid result id: ${t}; expected blueprintId-test or blueprintId-explore`);let[r,i]=await Promise.all([e.readResourceItem("tabs",n.blueprintId),e.readResourceItem("blueprints",n.blueprintId)]);if(!r)throw new Error(`tab not found for result: ${n.blueprintId}`);if(r.type!=="blueprint")throw new Error(`tab is not a blueprint: ${n.blueprintId}`);if(!i)throw new Error(`blueprint not found for result: ${n.blueprintId}`);if(i.mode!==n.mode)throw new Error(`blueprint mode mismatch for result: requested ${n.mode}, blueprint is ${i.mode}`)}function K4(e){for(let t of["test","explore"]){let n=`-${t}`;if(e.endsWith(n)&&e.length>n.length)return{blueprintId:e.slice(0,-n.length),mode:t}}}async function G4(e,t){let n=Zn(t,"resultId");return await e.start(),e.sendChannelEvent("results",{resource:"results",key:n,action:"delete-state"}),Yt({ok:!0})}async function W4(e,t){let n=Zn(t,"resultId"),r=jm(t,"offsets");return await e.start(),e.sendChannelEvent("results",{resource:"results",key:n,action:"set-offsets",value:r}),Yt({ok:!0})}async function H4(e,t){let n=Zn(t,"channel");if(!X1.includes(n))throw new Error(`unsupported offset extent channel: ${n}`);let r=jm(t,"key"),i=Dc(t,"timeoutMs")??15e3;await e.start();let o=e.waitForChannelEvent(n,a=>JSON.stringify(a.key)===JSON.stringify(r),i);e.sendChannelEvent(n,{resource:n,key:r,action:"on"});try{return Yt(await o)}finally{e.sendChannelEvent(n,{resource:n,key:r,action:"off"})}}function X4(e){let t=Y4(e,"keys"),n=Q1(e,"fieldEqualTo"),r=Ym(e,"all")??(!t&&!n),i={};return r&&(i.all=!0),t&&(i.keys=t),n&&(i.fieldEqualTo=n),i}function $4(e){let t={},n;for(let r of e){let i=r.value;switch(i?.kind){case"blueprint":n=i.value;break;case"node":{let o=i.nodeId;typeof o=="string"&&(t[o]=i.value);break}case"reset":n=void 0;for(let o in t)delete t[o];break}}return{public:n,publicByNode:t,events:e}}function Yt(e){return{content:[{type:"text",text:JSON.stringify(e,null,2)}]}}function j4(e){return{content:[{type:"text",text:e}]}}function Zn(e,t){let n=Aa(e)[t];if(typeof n!="string"||!n.trim())throw new Error(`invalid tool arguments: ${t} must be non-empty string`);return n}function wc(e,t){if(e===void 0)return;let n=Aa(e)[t];if(n!=null){if(typeof n!="string")throw new Error(`invalid tool arguments: ${t} must be string`);return n}}function jm(e,t){let n=Aa(e)[t];if(!qi(n))throw new Error(`invalid tool arguments: ${t} must be object`);return n}function Q1(e,t){let n=Aa(e)[t];if(n!=null){if(!qi(n))throw new Error(`invalid tool arguments: ${t} must be object`);return n}}function Y4(e,t){let n=Aa(e)[t];if(n!=null){if(!Array.isArray(n)||n.some(r=>typeof r!="string"))throw new Error(`invalid tool arguments: ${t} must be string array`);return n}}function Ym(e,t){let n=Aa(e)[t];if(n!=null){if(typeof n!="boolean")throw new Error(`invalid tool arguments: ${t} must be boolean`);return n}}function Dc(e,t){let n=Aa(e)[t];if(n!=null){if(typeof n!="number"||!Number.isInteger(n)||n<=0)throw new Error(`invalid tool arguments: ${t} must be positive integer`);return n}}function Q4(e){let t=Aa(e);for(let n of["path","query","headers","body","files"])if(t[n]!==void 0)throw new Error(`invalid tool arguments: use payload instead of ${n}`);return{integrationType:Zn(e,"integrationType"),operationId:Zn(e,"operationId"),payload:Q1(e,"payload"),outputFilePath:wc(e,"outputFilePath"),confirm:Ym(e,"confirm")}}function Aa(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("invalid tool arguments: expected object");return e}function qi(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function J4(){return{type:"object",additionalProperties:!1,required:["query"],properties:{query:{type:"string",description:"Operator name, alias, category, or behavior to search for."},limit:{type:"integer",minimum:1,description:"Maximum number of operator matches to return."},includeDeprecated:{type:"boolean",description:"Include deprecated operators in results when true."}}}}function Z4(){return{type:"object",additionalProperties:!1,required:["blueprintId","query"],properties:{blueprintId:{type:"string",description:"Blueprint id whose context schemas should be searched."},query:{type:"string",description:"Field name, path, connection label, or type to search for."},limit:{type:"integer",minimum:1,description:"Maximum number of context fields to return."},connectionId:{type:"string",description:"Optional connection id to restrict context field matches."}}}}function e5(){return{type:"object",additionalProperties:!1,required:["integrationType","operationId"],properties:{integrationType:{type:"string",description:"Integration type from integrations_list. MCP-only; not for external app data sources."},operationId:{type:"string",description:"Operation id from integration_endpoints_list or integration_endpoint_schema_get. MCP-only; not for external app data sources."},payload:{...Ac,description:"Single payload object matching payloadSchema from integration_endpoints_list or integration_endpoint_schema_get."},outputFilePath:{type:"string",description:"Local path where binary response downloads should be written."},confirm:{type:"boolean",description:"Required true for mutating or destructive endpoints after explicit user intent."}}}}function t5(){return{type:"object",additionalProperties:!1,required:["resultId"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."},timeoutMs:{type:"integer",minimum:1,description:"Maximum wait in milliseconds."},quietMs:{type:"integer",minimum:1,description:"Quiet period before returning collected events."}}}}function n5(){return{type:"object",additionalProperties:!1,required:["resultId"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."}}}}function r5(){return{type:"object",additionalProperties:!1,required:["resultId","offsets"],properties:{resultId:{type:"string",description:"Blueprint result id, normally tabId-test or tabId-explore."},offsets:{...Ac,description:"Stream offsets to set for current result state."}}}}function i5(){return{type:"object",additionalProperties:!1,required:["channel","key"],properties:{channel:{type:"string",enum:X1,description:"Offset extent live channel to read."},key:{...Ac,description:"Stream partition key to read extents for."},timeoutMs:{type:"integer",minimum:1,description:"Maximum wait in milliseconds."}}}}var Cc="application/json";function J1(e=_s()){return[{uri:"beepflow://resources",name:"Beepflow workspace resource registry",description:"Resource registry supported by this MCP server, including item schema URIs.",mimeType:Cc,read:async()=>Mf("beepflow://resources",Oa)},{uri:"beepflow://resource-schemas",name:"Beepflow workspace resource schema registry",description:"JSON Schema registry for resource items supported by this MCP server.",mimeType:Cc,read:async()=>Mf("beepflow://resource-schemas",Gc)},...Gc.map(t=>({uri:t.uri,name:`Beepflow ${t.resource} item schema`,description:`JSON Schema for ${t.resource} resource items.`,mimeType:Cc,read:async()=>Mf(t.uri,t)})),...Oa.map(t=>({uri:`beepflow://resources/${t.name}`,name:`Beepflow ${t.name}`,description:t.description,mimeType:Cc,read:async()=>{let n=await e.readResourceItems(t.name);return Mf(`beepflow://resources/${t.name}`,n)}}))]}function Mf(e,t){return{contents:[{uri:e,mimeType:Cc,text:JSON.stringify(t,null,2)}]}}var Lf=_s(),{server:o5,closeServer:a5}=oh({serverName:"mcp",serverVersion:"0.1.0",instructions:l0,tools:$1(Lf),resources:J1(Lf),onInitialized:()=>{Lf.start().catch(()=>{})}});process.on("SIGINT",()=>Z1("SIGINT"));process.on("SIGTERM",()=>Z1("SIGTERM"));o5.start();function Z1(e){Lf.close(),a5(e)}
101
+ /*! Bundled license information:
102
+
103
+ html-minifier-terser/src/htmlparser.js:
104
+ (*!
105
+ * HTML Parser By John Resig (ejohn.org)
106
+ * Modified by Juriy "kangax" Zaytsev
107
+ * Original code by Erik Arvidsson, Mozilla Public License
108
+ * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
109
+ *)
110
+ */