Conversation
|
|
|
|
|
Re-rendered previews from the latest commit:
* note not all html features will be properly displayed in the "quick preview" but it will give you a rough idea. Updated at 2026-01-13 with changes from the latest commit dcbed6b |
| @@ -0,0 +1,12 @@ | |||
| var Ye=Object.create;var G=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var Je=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty;var P=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Qe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),et=(e,t)=>{for(var r in t)G(e,r,{get:t[r],enumerable:!0})},tt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Je(t))!Ke.call(e,n)&&n!==r&&G(e,n,{get:()=>t[n],enumerable:!(a=Ze(t,n))||a.enumerable});return e};var rt=(e,t,r)=>(r=e!=null?Ye(Xe(e)):{},tt(t||!e||!e.__esModule?G(r,"default",{value:e,enumerable:!0}):r,e));var de=Qe(()=>{});var $={};et($,{createEndpoint:()=>H,expose:()=>E,finalizer:()=>_,proxy:()=>z,proxyMarker:()=>Z,releaseProxy:()=>ae,transfer:()=>fe,transferHandlers:()=>w,windowEndpoint:()=>ut,wrap:()=>W});var Z=Symbol("Comlink.proxy"),H=Symbol("Comlink.endpoint"),ae=Symbol("Comlink.releaseProxy"),_=Symbol("Comlink.finalizer"),M=Symbol("Comlink.thrown"),se=e=>typeof e=="object"&&e!==null||typeof e=="function",nt={canHandle:e=>se(e)&&e[Z],serialize(e){let{port1:t,port2:r}=new MessageChannel;return E(e,t),[r,[r]]},deserialize(e){return e.start(),W(e)}},it={canHandle:e=>se(e)&&M in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},w=new Map([["proxy",nt],["throw",it]]);function ot(e,t){for(let r of e)if(t===r||r==="*"||r instanceof RegExp&&r.test(t))return!0;return!1}function E(e,t=globalThis,r=["*"]){t.addEventListener("message",function a(n){if(!n||!n.data)return;if(!ot(r,n.origin)){console.warn(`Invalid origin '${n.origin}' for comlink proxy`);return}let{id:o,type:i,path:l}=Object.assign({path:[]},n.data),c=(n.data.argumentList||[]).map(b),u;try{let d=l.slice(0,-1).reduce((p,m)=>p[m],e),f=l.reduce((p,m)=>p[m],e);switch(i){case"GET":u=f;break;case"SET":d[l.slice(-1)[0]]=b(n.data.value),u=!0;break;case"APPLY":u=f.apply(d,c);break;case"CONSTRUCT":{let p=new f(...c);u=z(p)}break;case"ENDPOINT":{let{port1:p,port2:m}=new MessageChannel;E(e,m),u=fe(p,[p])}break;case"RELEASE":u=void 0;break;default:return}}catch(d){u={value:d,[M]:0}}Promise.resolve(u).catch(d=>({value:d,[M]:0})).then(d=>{let[f,p]=B(d);t.postMessage(Object.assign(Object.assign({},f),{id:o}),p),i==="RELEASE"&&(t.removeEventListener("message",a),le(t),_ in e&&typeof e[_]=="function"&&e[_]())}).catch(d=>{let[f,p]=B({value:new TypeError("Unserializable return value"),[M]:0});t.postMessage(Object.assign(Object.assign({},f),{id:o}),p)})}),t.start&&t.start()}function at(e){return e.constructor.name==="MessagePort"}function le(e){at(e)&&e.close()}function W(e,t){return Y(e,[],t)}function N(e){if(e)throw new Error("Proxy has been released and is not useable")}function ce(e){return A(e,{type:"RELEASE"}).then(()=>{le(e)})}var D=new WeakMap,U="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(D.get(e)||0)-1;D.set(e,t),t===0&&ce(e)});function st(e,t){let r=(D.get(t)||0)+1;D.set(t,r),U&&U.register(e,t,e)}function lt(e){U&&U.unregister(e)}function Y(e,t=[],r=function(){}){let a=!1,n=new Proxy(r,{get(o,i){if(N(a),i===ae)return()=>{lt(n),ce(e),a=!0};if(i==="then"){if(t.length===0)return{then:()=>n};let l=A(e,{type:"GET",path:t.map(c=>c.toString())}).then(b);return l.then.bind(l)}return Y(e,[...t,i])},set(o,i,l){N(a);let[c,u]=B(l);return A(e,{type:"SET",path:[...t,i].map(d=>d.toString()),value:c},u).then(b)},apply(o,i,l){N(a);let c=t[t.length-1];if(c===H)return A(e,{type:"ENDPOINT"}).then(b);if(c==="bind")return Y(e,t.slice(0,-1));let[u,d]=oe(l);return A(e,{type:"APPLY",path:t.map(f=>f.toString()),argumentList:u},d).then(b)},construct(o,i){N(a);let[l,c]=oe(i);return A(e,{type:"CONSTRUCT",path:t.map(u=>u.toString()),argumentList:l},c).then(b)}});return st(n,e),n}function ct(e){return Array.prototype.concat.apply([],e)}function oe(e){let t=e.map(B);return[t.map(r=>r[0]),ct(t.map(r=>r[1]))]}var ue=new WeakMap;function fe(e,t){return ue.set(e,t),e}function z(e){return Object.assign(e,{[Z]:!0})}function ut(e,t=globalThis,r="*"){return{postMessage:(a,n)=>e.postMessage(a,r,n),addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}function B(e){for(let[t,r]of w)if(r.canHandle(e)){let[a,n]=r.serialize(e);return[{type:"HANDLER",name:t,value:a},n]}return[{type:"RAW",value:e},ue.get(e)||[]]}function b(e){switch(e.type){case"HANDLER":return w.get(e.name).deserialize(e.value);case"RAW":return e.value}}function A(e,t,r){return new Promise(a=>{let n=ft();e.addEventListener("message",function o(i){!i.data||!i.data.id||i.data.id!==n||(e.removeEventListener("message",o),a(i.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:n},t),r)})}function ft(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}var dt=Object.defineProperty,s=(e,t)=>dt(e,"name",{value:t,configurable:!0}),me=(e=>typeof P<"u"?P:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof P<"u"?P:t)[r]}):e)(function(e){if(typeof P<"u")return P.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),pt=(()=>{for(var e=new Uint8Array(128),t=0;t<64;t++)e[t<26?t+65:t<52?t+71:t<62?t-4:t*4-205]=t;return r=>{for(var a=r.length,n=new Uint8Array((a-(r[a-1]=="=")-(r[a-2]=="="))*3/4|0),o=0,i=0;o<a;){var l=e[r.charCodeAt(o++)],c=e[r.charCodeAt(o++)],u=e[r.charCodeAt(o++)],d=e[r.charCodeAt(o++)];n[i++]=l<<2|c>>4,n[i++]=c<<4|u>>2,n[i++]=u<<6|d}return n}})();function ye(e){return!isNaN(parseFloat(e))&&isFinite(e)}s(ye,"_isNumber");function h(e){return e.charAt(0).toUpperCase()+e.substring(1)}s(h,"_capitalize");function j(e){return function(){return this[e]}}s(j,"_getter");var C=["isConstructor","isEval","isNative","isToplevel"],T=["columnNumber","lineNumber"],F=["fileName","functionName","source"],mt=["args"],yt=["evalOrigin"],V=C.concat(T,F,mt,yt);function y(e){if(e)for(var t=0;t<V.length;t++)e[V[t]]!==void 0&&this["set"+h(V[t])](e[V[t]])}s(y,"StackFrame");y.prototype={getArgs:s(function(){return this.args},"getArgs"),setArgs:s(function(e){if(Object.prototype.toString.call(e)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=e},"setArgs"),getEvalOrigin:s(function(){return this.evalOrigin},"getEvalOrigin"),setEvalOrigin:s(function(e){if(e instanceof y)this.evalOrigin=e;else if(e instanceof Object)this.evalOrigin=new y(e);else throw new TypeError("Eval Origin must be an Object or StackFrame")},"setEvalOrigin"),toString:s(function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",r=this.getColumnNumber()||"",a=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+r+")":"[eval]:"+t+":"+r:a?a+" ("+e+":"+t+":"+r+")":e+":"+t+":"+r},"toString")};y.fromString=s(function(e){var t=e.indexOf("("),r=e.lastIndexOf(")"),a=e.substring(0,t),n=e.substring(t+1,r).split(","),o=e.substring(r+1);if(o.indexOf("@")===0)var i=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(o,""),l=i[1],c=i[2],u=i[3];return new y({functionName:a,args:n||void 0,fileName:l,lineNumber:c||void 0,columnNumber:u||void 0})},"StackFrame$$fromString");for(v=0;v<C.length;v++)y.prototype["get"+h(C[v])]=j(C[v]),y.prototype["set"+h(C[v])]=function(e){return function(t){this[e]=!!t}}(C[v]);var v;for(k=0;k<T.length;k++)y.prototype["get"+h(T[k])]=j(T[k]),y.prototype["set"+h(T[k])]=function(e){return function(t){if(!ye(t))throw new TypeError(e+" must be a Number");this[e]=Number(t)}}(T[k]);var k;for(x=0;x<F.length;x++)y.prototype["get"+h(F[x])]=j(F[x]),y.prototype["set"+h(F[x])]=function(e){return function(t){this[e]=String(t)}}(F[x]);var x,J=y;function ge(){var e=/^\s*at .*(\S+:\d+|\(native\))/m,t=/^(eval@)?(\[native code])?$/;return{parse:s(function(r){if(r.stack&&r.stack.match(e))return this.parseV8OrIE(r);if(r.stack)return this.parseFFOrSafari(r);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:s(function(r){if(r.indexOf(":")===-1)return[r];var a=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=a.exec(r.replace(/[()]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:s(function(r){var a=r.stack.split(` | |||
Check warning
Code scanning / CodeQL
Prototype-polluting assignment Medium
Copilot Autofix
AI about 1 month ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
Updating with Season 9 details