This commit is contained in:
SchrodingersGat committed 2026-11-22 11:40:43 +00:00
1 parent aabce70759
commit ad253b0234
363 files changed
+306698 -62278

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
-------------------------------------------------------------------------------
Third-Party licenses
-------------------------------------------------------------------------------
Package: clipboard@2.0.11
License: MIT
Copyright: Zeno Rocha
-------------------------------------------------------------------------------
Package: escape-html@1.0.3
License: MIT
Copyright: 2012-2013 TJ Holowaychuk
2015 Andreas Lubbe
2015 Tiancheng "Timothy" Gu
-------------------------------------------------------------------------------
Package: focus-visible@5.2.1
License: W3C
Copyright: WICG
-------------------------------------------------------------------------------
Package: rxjs@7.8.2
License: Apache-2.0
Copyright: 2015-2018 Google, Inc.,
2015-2018 Netflix, Inc.,
2015-2018 Microsoft Corp. and contributors
+10
View File
@@ -0,0 +1,10 @@
"use strict";(()=>{var rl=Object.create;var qn=Object.defineProperty,nl=Object.defineProperties,ol=Object.getOwnPropertyDescriptor,il=Object.getOwnPropertyDescriptors,al=Object.getOwnPropertyNames,Xr=Object.getOwnPropertySymbols,sl=Object.getPrototypeOf,Kn=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable;var ii=(e,t,r)=>t in e?qn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t)=>{for(var r in t||(t={}))Kn.call(t,r)&&ii(e,r,t[r]);if(Xr)for(var r of Xr(t))ai.call(t,r)&&ii(e,r,t[r]);return e},Ce=(e,t)=>nl(e,il(t));var wr=(e,t)=>{var r={};for(var n in e)Kn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Xr)for(var n of Xr(e))t.indexOf(n)<0&&ai.call(e,n)&&(r[n]=e[n]);return r};var Bn=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}};var cl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of al(t))!Kn.call(e,o)&&o!==r&&qn(e,o,{get:()=>t[o],enumerable:!(n=ol(t,o))||n.enumerable});return e};var Er=(e,t,r)=>(r=e!=null?rl(sl(e)):{},cl(t||!e||!e.__esModule?qn(r,"default",{value:e,enumerable:!0}):r,e));var Xe=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{s(r.next(l))}catch(c){o(c)}},a=l=>{try{s(r.throw(l))}catch(c){o(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);s((r=r.apply(e,t)).next())});var ci=Bn((Gn,si)=>{(function(e,t){typeof Gn=="object"&&typeof si!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Gn,(function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(y){return!!(y&&y!==document&&y.nodeName!=="HTML"&&y.nodeName!=="BODY"&&"classList"in y&&"contains"in y.classList)}function l(y){var ye=y.type,de=y.tagName;return!!(de==="INPUT"&&a[ye]&&!y.readOnly||de==="TEXTAREA"&&!y.readOnly||y.isContentEditable)}function c(y){y.classList.contains("focus-visible")||(y.classList.add("focus-visible"),y.setAttribute("data-focus-visible-added",""))}function u(y){y.hasAttribute("data-focus-visible-added")&&(y.classList.remove("focus-visible"),y.removeAttribute("data-focus-visible-added"))}function f(y){y.metaKey||y.altKey||y.ctrlKey||(s(r.activeElement)&&c(r.activeElement),n=!0)}function p(y){n=!1}function d(y){s(y.target)&&(n||l(y.target))&&c(y.target)}function h(y){s(y.target)&&(y.target.classList.contains("focus-visible")||y.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(y.target))}function v(y){document.visibilityState==="hidden"&&(o&&(n=!0),_())}function _(){document.addEventListener("mousemove",w),document.addEventListener("mousedown",w),document.addEventListener("mouseup",w),document.addEventListener("pointermove",w),document.addEventListener("pointerdown",w),document.addEventListener("pointerup",w),document.addEventListener("touchmove",w),document.addEventListener("touchstart",w),document.addEventListener("touchend",w)}function S(){document.removeEventListener("mousemove",w),document.removeEventListener("mousedown",w),document.removeEventListener("mouseup",w),document.removeEventListener("pointermove",w),document.removeEventListener("pointerdown",w),document.removeEventListener("pointerup",w),document.removeEventListener("touchmove",w),document.removeEventListener("touchstart",w),document.removeEventListener("touchend",w)}function w(y){y.target.nodeName&&y.target.nodeName.toLowerCase()==="html"||(n=!1,S())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",p,!0),document.addEventListener("pointerdown",p,!0),document.addEventListener("touchstart",p,!0),document.addEventListener("visibilitychange",v,!0),_(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)}))});var Wo=Bn((WE,Vs)=>{"use strict";var Hp=/["'&<>]/;Vs.exports=$p;function $p(e){var t=""+e,r=Hp.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=n}return a!==i?o+t.substring(a,i):o}});var qo=Bn((Br,zo)=>{(function(t,r){typeof Br=="object"&&typeof zo=="object"?zo.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Br=="object"?Br.ClipboardJS=r():t.ClipboardJLine truncated
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function mt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var at=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=Fe(a),l=s.next();!l.done;l=s.next()){var c=l.value;c.remove(this)}}catch(v){t={error:v}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var u=this.initialTeardown;if(U(u))try{u()}catch(v){i=v instanceof Qr?v.errors:[v]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var p=Fe(f),d=p.next();!d.done;d=p.next()){var h=d.value;try{fi(h)}catch(v){i=i!=null?i:[],v instanceof Qr?i=ae(ae([],re(i)),re(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(i)throw new Qr(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)fi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&mt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&mt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})();var Jn=at.EMPTY;function en(e){return e instanceof at||e&&"closed"in e&&U(e.remove)&&U(e.add)&&U(e.unsubscribe)}function fi(e){U(e)?e():e.unsubscribe()}var rt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var er={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=er.delegate;return o!=null&&o.setTimeout?o.setTimeout.apply(o,ae([e,t],re(r))):setTimeout.apply(void 0,ae([e,t],re(r)))},clearTimeout:function(e){var t=er.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function tn(e){er.setTimeout(function(){var t=rt.onUnhandledError;if(t)t(e);else throw e})}function Ue(){}var mi=(function(){return Xn("C",void 0,void 0)})();function di(e){return Xn("E",void 0,e)}function hi(e){return Xn("N",e,void 0)}function Xn(e,t,r){return{kind:e,value:t,error:r}}var Ut=null;function tr(e){if(rt.useDeprecatedSynchronousErrorHandling){var t=!Ut;if(t&&(Ut={errorThrown:!1,error:null}),e(),t){var r=Ut,n=r.errorThrown,o=r.error;if(Ut=null,n)throw o}}else e()}function vi(e){rt.useDeprecatedSynchronousErrorHandling&&Ut&&(Ut.errorThrown=!0,Ut.error=e)}var Tr=(function(e){pe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,en(r)&&r.add(n)):n.destination=fl,n}return t.create=function(r,n,o){return new dt(r,n,o)},t.prototype.next=function(r){this.isStopped?Qn(hi(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Qn(di(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Qn(mi,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(at);var ll=Function.prototype.bind;function Zn(e,t){return ll.call(e,t)}var ul=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){rn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){rn(n)}else rn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){rn(r)}},e})(),dt=(function(e){pe(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(U(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var s;i&&rt.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&Zn(r.next,s),error:r.error&&Zn(r.error,s),complete:r.complete&&Zn(r.complete,s)}):a=r}return i.destination=new ul(a),i}return t})(Tr);function rn(e){rt.useDeprecatedSynchronousErrorHandling?vi(e):tn(e)}function pl(e){throw e}function Qn(e,t){var r=rt.onStoppedNotification;r&&er.setTimeout(function(){return r(e,t)})}var fl={closed:!0,next:Ue,error:pl,complete:Ue};var rr=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function Me(e){return e}function bi(){ Line truncated
`)}
`)}});try{let i=yield e.runPythonAsync(t.getValue(),{globals:Kp(n,e)});typeof i!="undefined"&&i!==null&&(o.push(String(i)),Gr(r,`${o.join(`
`)}
`))}catch(i){o.push(String(i)),Gr(r,`${o.join(`
`)}
`)}})}function Yp(){return Bo||(Bo=nc("https://unpkg.com/pyodide@314.0.2/pyodide.js",()=>typeof loadPyodide=="undefined"||loadPyodide instanceof Element).pipe(m(()=>Xe(null,null,function*(){try{let e=yield loadPyodide({indexURL:"https://cdn.jsdelivr.net/pyodide/v314.0.2/full/"});return yield e.loadPackage("micropip"),e}catch(e){return null}})),ee(1))),Bo}function Jp(){rc||(ace.define("ace/theme/zensical",["require","exports","module","ace/lib/dom"],(e,t)=>{t.isDark=!1,t.cssClass="ace-zensical",t.cssText=""}),rc=!0)}function oc(e){return Ko||(Ko=nc("https://unpkg.com/ace-builds@1.44.0/src-noconflict/ace.js",()=>typeof ace=="undefined"||ace instanceof Element).pipe(ee(1))),new j(t=>{let r=!0,n,o,i=qp(e);i.root.setAttribute("data-md-exec-state","ready");let a=()=>Yo(i.output),s=()=>Xe(null,null,function*(){return o||(o=Xe(null,null,function*(){if(i.root.setAttribute("data-md-exec-state","loading"),Gr(i.output,"Initializing..."),yield Bp(),!r)return null;let u=yield vn(Yp()).then(f=>f);if(!r||!u)return null;if(i.install.length>0)try{let f=u.pyimport("micropip");for(let p of i.install)yield f.install(p)}catch(f){return Yo(i.output),Gr(i.output,`Could not install one or more packages: ${i.install.join(", ")}
${String(f)}`),i.root.setAttribute("data-md-exec-state","error"),null}return r?(Yo(i.output),i.root.setAttribute("data-md-exec-state","ready"),u):null})),o}),l=()=>{Xe(null,null,function*(){let u=yield s();!r||!u||!n||Gp(u,n,i.output,i.session)})},c=u=>{u.ctrlKey&&u.key.toLowerCase()==="enter"&&(u.preventDefault(),i.run.click())};return i.run.addEventListener("click",l),i.clear.addEventListener("click",a),i.root.addEventListener("keydown",c),Xe(null,null,function*(){yield vn(Ko),r&&(Jp(),i.editor.textContent="",n=ace.edit(i.editor),n.setTheme("ace/theme/zensical"),n.session.setMode("ace/mode/python"),n.setOption("fontFamily","var(--md-code-font)"),n.setOption("minLines",i.minLines),n.setOption("maxLines",i.maxLines),n.session.setValue(i.source),n.gotoLine(1,0,!1),n.clearSelection(),n.resize(),n.renderer.updateFull())}),t.next({ref:i.root}),()=>{r=!1,i.run.removeEventListener("click",l),i.clear.removeEventListener("click",a),i.root.removeEventListener("keydown",c),n==null||n.destroy(),i.root.removeAttribute("data-md-exec-state")}})}var Jo,Xo;function Xp(){return typeof GLightbox=="undefined"||GLightbox instanceof Element?lt("https://unpkg.com/glightbox@3/dist/js/glightbox.min.js").pipe(le(()=>x),m(()=>{})):F(void 0)}function Zp(){return typeof GLightbox=="undefined"||GLightbox instanceof Element?I(()=>Ji("https://unpkg.com/glightbox@3/dist/css/glightbox.min.css")).pipe(le(()=>x),m(()=>{})):F(void 0)}function ic(e){return Jo||(Jo=Xp().pipe(m(()=>new GLightbox(A({selector:".glightbox:not([data-md-glightbox-disabled])",touchNavigation:!0,loop:!1,zoomable:!0,draggable:!0,openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",onOpen:()=>{document.activeElement instanceof HTMLElement&&document.activeElement.blur()}},typeof GLightboxOptions!="undefined"?GLightboxOptions:{}))),ee(1))),Xo||(Xo=Zp()),Xo.pipe(g(()=>Jo),g(t=>b(e,"click",{capture:!0}).pipe(z(void 0),M(()=>{for(let r of e){let n=r.querySelector("img");r.toggleAttribute("data-md-glightbox-disabled",n!==null&&getComputedStyle(n).display==="none")}t.reload()}),g(()=>e.map(r=>({ref:r}))))))}var ac=0,sc=new Map;function Qp(e){let t=document.createElement("h3");t.innerHTML=e.innerHTML;let r=[t],n=e.nextElementSibling;for(;n&&!(n instanceof HTMLHeadingElement);)r.push(n.cloneNode(!0)),n=n.nextElementSibling;return r}function ef(e,t){for(let r of L("[href], [src]",e))for(let n of["href","src"]){let o=r.getAttribute(n);if(o&&!/^(?:[a-z]+:)?\/\//i.test(o)){r[n]=new URL(r.getAttribute(n),t).toString();break}}for(let r of L("[name^=__], [for]",e))for(let n of["id","for","name"]){let o=r.getAttribute(n);o&&r.setAttribute(n,`${o}$preview_${ac}`)}return ac++,F(e)}function tf(e){let t=sc.get(e.toString());return t?F(t):Fn(e).pipe(g(r=>ef(r,e)),m(r=>(sc.set(e.toString(),r),r)))}function cc(e,t){let{sitemap$:r}=t;if(!(e instanceof HTMLAnchorElement))return x;if(!(J("navigation.instant.preview")||e.hasAttribute("data-preview")))return x;e.removeAttribute("title");let n=te([cr(e),zt(e).pipe(_e(1))]).pipe(m(([i,a])=>i||a),se(),T(i=>i));return Dt([r,n]).pipe(g(([i])=>{let a=new URL(e.href);return a.search=a.hash="",i.has(`${a}`)?F(a):x}),g(i=>tf(i)),g(i=>{let a=e.hash?`article [id="${decodeURIComponent(e.hash.slice(1))}"]`:"article h1",s=Se(a,i);return typeof s=="undefined"?x:F(Qp(s))})).pipe(g(i=>{let a=new j(s=>{let l=Dn(...i);return s.next(l),document.body.append(l),()=>l.remove()});return Kr(e,A({content$:a},t))}))}var lc="[filter*=drop-shadow],[style*=drop-shadow]{filter:none!important}.node circle,.node ellipse,.node path,.node polygon,.node rect,.node[data-look=neo] .neo-line path,.node[data-look=neo] circle,.node[data-look=neo] ellipse,.node[data-look=neo] path,.node[data-look=neo] polygon,.node[data-look=neo] rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.node path[fill=none],.node[data-look=neo] path[fill=none]{fill:none}.node [stroke=none],.node[data-look=neo] [stroke=none]{stroke:none}.marker,.marker path,.marker polygon{fill:var(--md-mermaid-edge-color);stroke:var(--md-mermaid-edge-color)}.marker circle{fill:var(--md-mermaid-label-bg-color);stroke:var(--md-mermaid-edge-color)}.marker path[fill=none],.marker.cross path{fill:none}.edgeLabel .label rect{fill:#0000}.flowchartTitleText{fill:var(--md-mermaid-label-fg-color)}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{overflow:visible;line-height:normal}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.classLabel .box,.edgeLabel,.edgeLabel p,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel p{color:var(--md-mermaid-edge-color);fill:var(--md-mermaid-label-bg-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color)}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect,.cluster[data-look=neo] rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-la Line truncated
+1
View File
@@ -0,0 +1 @@
"use strict";(()=>{var gt=Object.defineProperty,mt=Object.defineProperties;var xt=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var yt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable;var V=(t,r,e)=>r in t?gt(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,F=(t,r)=>{for(var e in r||(r={}))yt.call(r,e)&&V(t,e,r[e]);if(G)for(var e of G(r))vt.call(r,e)&&V(t,e,r[e]);return t},q=(t,r)=>mt(t,xt(r));var K=(t,r,e)=>V(t,typeof r!="symbol"?r+"":r,e);var E=(t,r,e)=>new Promise((l,n)=>{var s=u=>{try{o(e.next(u))}catch(i){n(i)}},a=u=>{try{o(e.throw(u))}catch(i){n(i)}},o=u=>u.done?l(u.value):Promise.resolve(u.value).then(s,a);o((e=e.apply(t,r)).next())});function C(t,r,e={}){return{name:t,from:r,meta:e}}function N(t,r){let e=[{value:t,depth:0}];for(let l=0,n=-1,s=0;l>=0;){let{value:a,depth:o}=e[l];if(n<=o&&a.type==="operator"&&a.data.operands.length>0)for(let u=a.data.operands.length;u>0;)e[++l]={value:a.data.operands[--u],depth:o+1};else{let u=r(a,s++,o);if(typeof u<"u")return u;--l}n=o}}var P=class extends Error{constructor(t,r){super(r),this.code=t}};function Y(t,r){let e=wt(t);for(let l=0;l<e.length;l++){let n=r(e[l]);if(typeof n<"u")return n}}function wt(t){return t.items}function Z(t,r){return Y(t,e=>{let{matches:l}=e;for(let n=0;n<l.length;n++){let s=r(l[n],e);if(typeof s<"u")return s}})}function B(t,r=new Map){return(e,...l)=>{let n=r.get(e);return typeof n>"u"&&r.set(e,n=t(e,...l)),n}}function D(t,r){return Object.defineProperty(r,"name",{value:t}),r}function $(t){return E(this,null,function*(){let r=[];if(typeof t.plugins<"u")for(let e=0;e<t.plugins.length;e++){let l=t.plugins[e];r.push(typeof l=="function"?yield l(t):l)}return r})}function X(t,r){return E(this,null,function*(){for(let e=0;e<t.length;e++){let l=r(t[e]);l instanceof Promise&&(yield l)}})}function z(t,r,e){for(let l=0;l<t.length;l++){let n=r(e,t[l]);typeof n<"u"&&(e=n)}return e}function bt(t,r,e){return E(this,null,function*(){var l;for(let n=0;n<t.length;n++){let s=r(e,t[n]);typeof s<"u"&&(e=s instanceof Promise?(l=yield s)!=null?l:e:s)}return e})}function Tt(t){return typeof t!="object"?{node:t,children:[]}:t}function kt(t){return typeof t=="object"&&t!==null&&"select"in t&&"values"in t}function U(t){return Math.max(1,Math.ceil(Math.log2(t)))}function Mt(t){if(t.d+t.f+t.x>32)throw new RangeError("Bit format exceeds 32 bits");return t}function tt(t,r,e){let l=U(t),n=U(r),s=typeof e<"u"?U(e):32-l-n;return Mt({d:l,f:n,x:s})}var T=[0];for(let t=0;t<32;t++)T.push(T[t]|1<<t);function Et(t){return new Uint8Array(t)}function Ft(t){return new Uint32Array(t)}function M(){return[0].slice(0,0)}function Rt(){return[1/0].slice(0,0)}var W=class{constructor(t=[]){K(this,"magnitude",0);this.data=t}add(t,r,e){this.data.push({start:t,end:r,value:e}),this.magnitude=0}get(t){for(let r=0;r<this.data.length;r++){let{start:e,end:l,value:n}=this.data[r];if(t>=e&&t<l)return n}return 0}forEach(t){for(let r=0;r<this.data.length;r++){let{start:e,end:l,value:n}=this.data[r];for(let s=e;s<l;s++)t(s,n)}}get length(){return this.magnitude||(this.magnitude=et(this))}},j=class{constructor(t,r=M()){K(this,"magnitude",0);this.data=t,this.cols=r}add(t,r){this.cols.push(t),this.data.push(r),this.magnitude=0}get(t){for(let r=0;r<this.cols.length;r++)if(this.cols[r]===t)return this.data[r];return 0}forEach(t){for(let r=0;r<this.cols.length;r++)t(this.cols[r],this.data[r])}get length(){return this.magnitude||(this.magnitude=et(this))}};function et(t){let r=0;return t.forEach((e,l)=>{r+=l*l}),Math.sqrt(r)}function St(t,r){t instanceof W?t.data.forEach((e,l)=>{r(e,l)}):t.forEach((e,l)=>{r({start:e,end:e+1,value:1},l)})}var O=class{constructor(t,r=Ft(Math.ceil(t/32))){this.size=t,this.data=r}get(t){return this.data[t>>>5]>>>t&1}set(t){this.data[t>>>5]|=1<<(t&31)}forEach(t){let r=this.size&31;for(let e=0;e<this.data.length;e++){if(this.data[e]===0)continue;let l=this.data[e];r&&e===this.data.length-1&&(l=l&T[r]);for(let n=0,s=32-Math.clz32(l);n<s;n++)l&1<<n&&t((e<<5)+n)}}};function nt(t,r){for(let e=0;e<t.data.length;e++)t.data[e]&=~r.data[e]}function A(t,r){r*=T[32]>>>0;for(let e=0;e<t.data.length;e++)t.data.fill(r)}function _(t,r){for(let e=0;e<t.data.length;e++)t.data[e]&=r.data[e]}function rt(t){for(let r=0;r<t.data.length;r++)t.data[r]^=T[32]}function Q(t,r){for(let e=0;e<t.data.length;e++)t.data[e]|=r.data[e]}function qt(t,r){let e=[{value:t,depth:0}];for(let l=1,n=0;l>0;n++){let{value:s,depth:a}=e[--l],o=r(s,n,a);if(typeof o<"u")return o;for(let u=s.children.length;u>0;)e[l++]={value:s.children[--u],depth:a+1}}}function zt(t,r){return E(this,null,function*(){let{fields:e,plugins:l=[]}=r,n=tt(t.length,e.length),s=[];for(let u=0;u<e.length;u++)s.push({terms:[],index:new Map});for(let u=0;u<t.length;u++)for(let i=0;i<e.length;i++){let d=e[i].from(t[u]);if(typeof d>"u")continue;let f=u<<n.f|i;d=z(l,(p,g)=>{var m;return(m=g.onFilterInput)==null?void 0:m.call(g,p,f,n)},d);let c=s[i],h=M();d=Array.isArray(d)?d:[d];for(let p=0;pLine truncated