2 lines
23 KiB
JavaScript
2 lines
23 KiB
JavaScript
![]() |
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerpolicy&&(l.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?l.credentials="include":i.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();const u={};function Q(e){u.context=e}function $e(){return{...u.context,id:`${u.context.id}${u.context.count++}-`,count:0}}const Ne=(e,t)=>e===t,H=Symbol("solid-proxy"),Se=Symbol("solid-track"),q={equals:Ne};let ae=he;const C=1,U=2,fe={owned:null,cleanups:null,context:null,owner:null};var h=null;let k=null,d=null,p=null,$=null,ee=0;function z(e,t){const n=d,s=h,i=e.length===0,l=i?fe:{owned:null,cleanups:null,context:null,owner:t||s},r=i?e:()=>e(()=>N(()=>ne(l)));h=l,d=null;try{return j(r,!0)}finally{d=n,h=s}}function W(e,t){t=t?Object.assign({},q,t):q;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=i=>(typeof i=="function"&&(i=i(n.value)),de(n,i));return[ue.bind(n),s]}function M(e,t,n){const s=te(e,t,!1,C);B(s)}function Ce(e,t,n){ae=Me;const s=te(e,t,!1,C);s.user=!0,$?$.push(s):B(s)}function S(e,t,n){n=n?Object.assign({},q,n):q;const s=te(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,B(s),ue.bind(s)}function Ct(e){return j(e,!1)}function N(e){const t=d;d=null;try{return e()}finally{d=t}}function Et(e){Ce(()=>N(e))}function Y(e){return h===null||(h.cleanups===null?h.cleanups=[e]:h.cleanups.push(e)),e}function Lt(e,t){const n=Symbol("context");return{id:n,Provider:_e(n),defaultValue:e}}function kt(e){let t;return(t=pe(h,e.id))!==void 0?t:e.defaultValue}function Ee(e){const t=S(e),n=S(()=>J(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}function ue(){const e=k;if(this.sources&&(this.state||e))if(this.state===C||e)B(this);else{const t=p;p=null,j(()=>R(this),!1),p=t}if(d){const t=this.observers?this.observers.length:0;d.sources?(d.sources.push(this),d.sourceSlots.push(t)):(d.sources=[this],d.sourceSlots=[t]),this.observers?(this.observers.push(d),this.observerSlots.push(d.sources.length-1)):(this.observers=[d],this.observerSlots=[d.sources.length-1])}return this.value}function de(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let i=0;i<e.observers.length;i+=1){const l=e.observers[i],r=k&&k.running;r&&k.disposed.has(l),(r&&!l.tState||!r&&!l.state)&&(l.pure?p.push(l):$.push(l),l.observers&&ge(l)),r||(l.state=C)}if(p.length>1e6)throw p=[],new Error},!1)),t}function B(e){if(!e.fn)return;ne(e);const t=h,n=d,s=ee;d=h=e,Le(e,e.value,s),d=n,h=t}function Le(e,t,n){let s;try{s=e.fn(t)}catch(i){e.pure&&(e.state=C),me(i)}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?de(e,s):e.value=s,e.updatedAt=n)}function te(e,t,n,s=C,i){const l={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:h,context:null,pure:n};return h===null||h!==fe&&(h.owned?h.owned.push(l):h.owned=[l]),l}function K(e){const t=k;if(e.state===0||t)return;if(e.state===U||t)return R(e);if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<ee);)(e.state||t)&&n.push(e);for(let s=n.length-1;s>=0;s--)if(e=n[s],e.state===C||t)B(e);else if(e.state===U||t){const i=p;p=null,j(()=>R(e,n[0]),!1),p=i}}function j(e,t){if(p)return e();let n=!1;t||(p=[]),$?n=!0:$=[],ee++;try{const s=e();return ke(n),s}catch(s){p||($=null),me(s)}}function ke(e){if(p&&(he(p),p=null),e)return;const t=$;$=null,t.length&&j(()=>ae(t),!1)}function he(e){for(let t=0;t<e.length;t++)K(e[t])}function M
|