PageSourceSearch

https://globle-capitals.com/assets/solid-vendor-BobL5a0w.js

js globle-capitals.com collected 2026-09-24 10:35:14 UTC 14,207 bytes, 1 lines download raw bytes

1const e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return t(this.context.count)},getNextContextId(){return t(this.context.count++)}};function t(t){const n=String(t),r=n.length-1;return e.context.id+(r?String.fromCharCode(96+r):"")+n}function n(t){e.context=t}const r=Symbol("solid-proxy"),o="function"==typeof Proxy,s=Symbol("solid-track"),u={equals:(e,t)=>e===t};let l=Q;const i=1,c=2,a={owned:null,cleanups:null,context:null,owner:null},f={};var d=null;let h=null,p=null,g=null,v=null,w=0;function y(e,t){const n=p,r=d,o=0===e.length,s=void 0===t?r:t,u=o?a:{owned:null,cleanups:null,context:s?s.context:null,owner:s},l=o?e:()=>e(()=>V(()=>X(u)));d=u,p=null;try{return J(l,!0)}finally{p=n,d=r}}function b(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},u,t):u).equals||void 0};return[H.bind(n),e=>("function"==typeof e&&(e=h&&h.running&&h.sources.has(n)?e(n.tValue):e(n.value)),K(n,e))]}function S(e,t,n){L(B(e,t,!0,i))}function x(e,t,n){L(B(e,t,!1,i))}function k(e,t,n){l=R;const r=B(e,t,!1,i),o=z&&_(z);o&&(r.suspense=o),r.user=!0,v?v.push(r):L(r)}function m(e,t,n){n=n?Object.assign({},u,n):u;const r=B(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,L(r),H.bind(r)}function A(t,n,r){let o,s,u;o=!0,s=t,u={};let l=null,i=f,c=null,a=!1,g=!1,v="initialValue"in u,w=!1;const y=new Set,[x,k]=(u.storage||b)(u.initialValue),[m,A]=b(void 0),[O,q]=b(void 0,{equals:!1}),[P,j]=b(v?"ready":"unresolved");function F(e,t,n,r){return l===e&&(l=null,void 0!==r&&(v=!0),e!==i&&t!==i||!u.onHydrated||queueMicrotask(()=>u.onHydrated(r,{value:t})),i=f,h&&e&&a?(h.promises.delete(e),a=!1,J(()=>{h.running=!0,M(t,n)},!1)):M(t,n)),t}function M(e,t){J(()=>{void 0===t&&k(()=>e),j(void 0!==t?"errored":v?"ready":"unresolved"),A(t);for(const e of y.keys())e.decrement();y.clear()},!1)}function $(){const e=z&&_(z),t=x(),n=m();if(void 0!==n&&!l)throw n;return p&&!p.user&&e&&S(()=>{O(),l&&(e.resolved&&h&&a?h.promises.add(l):y.has(e)||(e.increment(),y.add(e)))}),t}function E(e=!0){if(!1!==e&&g)return;g=!1;const t=w?w():o;if(a=h&&h.running,null==t||!1===t)return void F(l,V(x));let n;h&&l&&h.promises.delete(l);const r=i!==f?i:V(()=>{try{return s(t,{value:x(),refetching:e})}catch(r){n=r}});var u;if(void 0===n)return(u=r)&&"object"==typeof u&&"then"in u?(l=r,"v"in r?(1===r.s?F(l,r.v,void 0,t):F(l,void 0,Z(r.v),t),r):(g=!0,queueMicrotask(()=>g=!1),J(()=>{j(v?"refreshing":"pending"),q()},!1),r.then(e=>F(r,e,void 0,t),e=>F(r,void 0,Z(e),t)))):(F(l,r,void 0,t),r);F(l,void 0,Z(n),t)}e.context&&(c=e.getNextContextId(),"initial"===u.ssrLoadFrom?i=u.initialValue:e.load&&e.has(c)&&(i=e.load(c))),Object.defineProperties($,{state:{get:()=>P()},error:{get:()=>m()},loading:{get(){const e=P();return"pending"===e||"refreshing"===e}},latest:{get(){if(!v)return $();const e=m();if(e&&!l)throw e;return x()}}});let I=d;return w?S(()=>(I=d,E(!1))):E(!1),[$,{refetch:e=>C(I,()=>E(e)),mutate:k}]}function O(e){return J(e,!1)}function V(e){if(null===p)return e();const t=p;p=null;try{return e()}finally{p=t}}function q(e,t,n){const r=Array.isArray(e);let o,s=n&&n.defer;return n=>{let u;if(r){u=Array(e.length);for(let t=0;t<e.length;t++)u[t]=e[t]()}else u=e();if(s)return s=!1,n;const l=V(()=>t(u,o,n));return o=u,l}}function P(e){k(()=>V(e))}function j(e){return null===d||(null===d.cleanups?d.cleanups=[e]:d.cleanups.push(e)),e}function F(){return d}function C(e,t){const n=d,r=p;d=e,p=null;try{return J(t,!0)}catch(o){ee(o)}finally{d=n,p=r}}function M(e){if(h&&h.running)return e(),h.done;const t=p,n=d;return Promise.resolve().then(()=>{let r;return p=t,d=n,z&&(r=h||(h={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(e=>r.resolve=e)),r.running=!0),J(e,!1),p=d=null,r?r.done:void 0})}const[$,E]=b(!1);function I(e,t){const n=Symbol("context");return{id:n,Provider:ne(n),defaultValue:e}}function _(e){let t;return d&&d.context&&void 0!==(t=d.context[e.id])?t:e.defaultValue}function N(e){const t=m(e),n=m(()=>te(t()));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}let z;function D(){return z||(z=I())}function H(){const e=h&&h.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===i)L(this);else{const e=g;g=null,J(()=>T(this),!1),g=e}if(p){const e=this.observers?this.observers.length:0;p.sources?(p.sources.push(this),p.sourceSlots.push(e)):(p.sources=[this],p.sourceSlots=[e]),this.observers?(this.observers.push(p),this.observerSlots.push(p.sources.length-1)):(this.observers=[p],this.observerSlots=[p.sources.length-1])}return e&&h.sources.has(this)?this.tValue:this.value}function K(e,t,n){let r=h&&h.running&&h.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(h){const r=h.running;(r||!n&&h.sources.has(e))&&(h.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&J(()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=h&&h.running;r&&h.disposed.has(n)||((r?n.tState:n.state)||(n.pure?g.push(n):v.push(n),n.observers&&W(n)),r?n.tState=i:n.state=i)}if(g.length>1e6)throw g=[],new Error},!1)}return t}function L(e){if(!e.fn)return;X(e);const t=w;U(e,h&&h.running&&h.sources.has(e)?e.tValue:e.value,t),h&&!h.running&&h.sources.has(e)&&queueMicrotask(()=>{J(()=>
1{h&&(h.running=!0),p=d=e,U(e,e.tValue,t),p=d=null},!1)})}function U(e,t,n){let r;const o=d,s=p;p=d=e;try{r=e.fn(t)}catch(u){return e.pure&&(h&&h.running?(e.tState=i,e.tOwned&&e.tOwned.forEach(X),e.tOwned=void 0):(e.state=i,e.owned&&e.owned.forEach(X),e.owned=null)),e.updatedAt=n+1,ee(u)}finally{p=s,d=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?K(e,r,!0):h&&h.running&&e.pure?(h.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function B(e,t,n,r=i,o){const s={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:d,context:d?d.context:null,pure:n};return h&&h.running&&(s.state=0,s.tState=r),null===d||d!==a&&(h&&h.running&&d.pure?d.tOwned?d.tOwned.push(s):d.tOwned=[s]:d.owned?d.owned.push(s):d.owned=[s]),s}function G(e){const t=h&&h.running;if(0===(t?e.tState:e.state))return;if((t?e.tState:e.state)===c)return T(e);if(e.suspense&&V(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<w);){if(t&&h.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(h.disposed.has(t))return}if((t?e.tState:e.state)===i)L(e);else if((t?e.tState:e.state)===c){const t=g;g=null,J(()=>T(e,n[0]),!1),g=t}}}function J(e,t){if(g)return e();let n=!1;t||(g=[]),v?n=!0:v=[],w++;try{const t=e();return function(e){g&&(Q(g),g=null);if(e)return;let t;if(h)if(h.promises.size||h.queue.size){if(h.running)return h.running=!1,h.effects.push.apply(h.effects,v),v=null,void E(!0)}else{const e=h.sources,n=h.disposed;v.push.apply(v,h.effects),t=h.resolve;for(const t of v)"tState"in t&&(t.state=t.tState),delete t.tState;h=null,J(()=>{for(const e of n)X(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)X(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}E(!1)},!1)}const n=v;v=null,n.length&&J(()=>l(n),!1);t&&t()}(n),t}catch(r){n||(v=null),g=null,ee(r)}}function Q(e){for(let t=0;t<e.length;t++)G(e[t])}function R(t){let r,o=0;for(r=0;r<t.length;r++){const e=t[r];e.user?t[o++]=e:G(e)}if(e.context){if(e.count)return e.effects||(e.effects=[]),void e.effects.push(...t.slice(0,o));n()}for(!e.effects||!e.done&&e.count||(t=[...e.effects,...t],o+=e.effects.length,delete e.effects),r=0;r<o;r++)G(t[r])}function T(e,t){const n=h&&h.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];if(o.sources){const e=n?o.tState:o.state;e===i?o!==t&&(!o.updatedAt||o.updatedAt<w)&&G(o):e===c&&T(o,t)}}}function W(e){const t=h&&h.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?r.tState:r.state)||(t?r.tState=c:r.state=c,r.pure?g.push(r):v.push(r),r.observers&&W(r))}}function X(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)X(e.tOwned[t]);delete e.tOwned}if(h&&h.running&&e.pure)Y(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)X(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}h&&h.running?e.tState=0:e.state=0}function Y(e,t){if(t||(e.tState=0,h.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)Y(e.owned[n])}function Z(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function ee(e,t=d){throw Z(e)}function te(e){if("function"==typeof e&&!e.length)return te(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=te(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function ne(e,t){return function(t){let n;return x(()=>n=V(()=>(d.context={...d.context,[e]:t.value},N(()=>t.children))),void 0),n}}const re=Symbol("fallback");function oe(e){for(let t=0;t<e.length;t++)e[t]()}function se(e,t){return V(()=>e(t||{}))}function ue(){return!0}const le={get:(e,t,n)=>t===r?n:e.get(t),has:(e,t)=>t===r||e.has(t),set:ue,deleteProperty:ue,getOwnPropertyDescriptor:(e,t)=>
1({configurable:!0,enumerable:!0,get:()=>e.get(t),set:ue,deleteProperty:ue}),ownKeys:e=>e.keys()};function ie(e){return(e="function"==typeof e?e():e)?e:{}}function ce(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function ae(...e){let t=!1;for(let o=0;o<e.length;o++){const n=e[o];t=t||!!n&&r in n,e[o]="function"==typeof n?(t=!0,m(n)):n}if(o&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=ie(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in ie(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(ie(e[n])));return[...new Set(t)]}},le);const n={},s=Object.create(null);for(let r=e.length-1;r>=0;r--){const t=e[r];if(!t)continue;const o=Object.getOwnPropertyNames(t);for(let e=o.length-1;e>=0;e--){const r=o[e];if("__proto__"===r||"constructor"===r)continue;const u=Object.getOwnPropertyDescriptor(t,r);if(s[r]){const e=n[r];e&&(u.get?e.push(u.get.bind(t)):void 0!==u.value&&e.push(()=>u.value))}else s[r]=u.get?{enumerable:!0,configurable:!0,get:ce.bind(n[r]=[u.get.bind(t)])}:void 0!==u.value?u:void 0}}const u={},l=Object.keys(s);for(let r=l.length-1;r>=0;r--){const e=l[r],t=s[e];t&&t.get?Object.defineProperty(u,e,t):u[e]=t?t.value:void 0}return u}function fe(t){let r,o;const s=s=>{const u=e.context;if(u){const[s,l]=b();e.count||(e.count=0),e.count++,(o||(o=t())).then(t=>{!e.done&&n(u),e.count--,l(()=>t.default),n()}),r=s}else if(!r){const[e]=A(()=>(o||(o=t())).then(e=>e.default));r=e}let l;return m(()=>(l=r())?V(()=>{if(!u||e.done)return l(s);const t=e.context;n(u);const r=l(s);return n(t),r}):"")};return s.preload=()=>o||((o=t()).then(e=>r=()=>e.default),o),s}const de=e=>`Stale read from <${e}>.`;function he(e){const t="fallback"in e&&{fallback:()=>e.fallback};return m(function(e,t,n={}){let r=[],o=[],u=[],l=0,i=t.length>1?[]:null;return j(()=>oe(u)),()=>{let c,a,f=e()||[],d=f.length;return f[s],V(()=>{let e,t,s,p,g,v,w,b,S;if(0===d)0!==l&&(oe(u),u=[],r=[],o=[],l=0,i&&(i=[])),n.fallback&&(r=[re],o[0]=y(e=>(u[0]=e,n.fallback())),l=1);else if(0===l){for(o=new Array(d),a=0;a<d;a++)r[a]=f[a],o[a]=y(h);l=d}else{for(s=new Array(d),p=new Array(d),i&&(g=new Array(d)),v=0,w=Math.min(l,d);v<w&&r[v]===f[v];v++);for(w=l-1,b=d-1;w>=v&&b>=v&&r[w]===f[b];w--,b--)s[b]=o[w],p[b]=u[w],i&&(g[b]=i[w]);for(e=new Map,t=new Array(b+1),a=b;a>=v;a--)S=f[a],c=e.get(S),t[a]=void 0===c?-1:c,e.set(S,a);for(c=v;c<=w;c++)S=r[c],a=e.get(S),void 0!==a&&-1!==a?(s[a]=o[c],p[a]=u[c],i&&(g[a]=i[c]),a=t[a],e.set(S,a)):u[c]();for(a=v;a<d;a++)a in s?(o[a]=s[a],u[a]=p[a],i&&(i[a]=g[a],i[a](a))):o[a]=y(h);o=o.slice(0,l=d),r=f.slice(0)}return o});function h(e){if(u[a]=e,i){const[e,n]=b(a);return i[a]=n,t(f[a],e)}return t(f[a])}}}(()=>e.each,e.children,t||void 0))}function pe(e){const t=e.keyed,n=m(()=>e.when,void 0,void 0),r=t?n:m(n,void 0,{equals:(e,t)=>!e==!t});return m(()=>{const o=r();if(o){const s=e.children;return"function"==typeof s&&s.length>0?V(()=>s(t?o:()=>{if(!V(r))throw de("Show");return n()})):s}return e.fallback},void 0,void 0)}function ge(e){const t=N(()=>e.children),n=m(()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let t=0;t<n.length;t++){const e=t,o=n[t],s=r,u=m(()=>s()?void 0:o.when,void 0,void 0),l=o.keyed?u:m(u,void 0,{equals:(e,t)=>!e==!t});r=()=>s()||(l()?[e,u,o]:void 0)}return r});return m(()=>{const t=n()();if(!t)return e.fallback;const[r,o,s]=t,u=s.children;return"function"==typeof u&&u.length>0?V(()=>u(s.keyed?o():()=>{if(V(n)()?.[0]!==r)throw de("Match");return o()})):u},void 0,void 0)}function ve(e){return e}const we=I();function ye(t){let r,o,s,u,l,i=0;const[c,a]=b(!1),f=D(),d={increment:()=>{1===++i&&a(!0)},decrement:()=>{0===--i&&a(!1)},inFallback:c,effects:[],resolved:!1},h=F();if(e.context&&e.load){const t=e.getContextId();let r=e.load(t);if(r&&("object"!=typeof r||1!==r.s?s=r:e.gather(t)),s&&"$$f"!==s){const[r,i]=b(void 0,{equals:!1});u=r,s.then(()=>{if(e.done)return i();e.gather(t),n(o),i(),n()},e=>{l=e,i()})}}const p=_(we);let g;return p&&(r=p.register(d.inFallback)),j(()=>g&&g()),se(f.Provider,{value:d,get children(){return m(()=>{if(l)throw l;if(o=e.context,u)return u(),u=void 0;o&&"$$f"===s&&n();const i=m(()=>t.children);return m(e=>{const u=d.inFallback(),{showContent:l=!0,showFallback:c=!0}=r?r():{};return(!u||s&&"$$f"!==s)&&l?(d.resolved=!0,g&&g(),g=o=s=void 0,a=d.effects,v.push.apply(v,a),a.length=0,i()):c?g?e:y(e=>(g=e,o&&(n({id:o.id+"F",count:0}),o=void 0),t.fallback),h):void 0;var a})})}})}
1export{he as F,ve as M,pe as S,x as a,m as b,y as c,_ as d,I as e,b as f,F as g,M as h,O as i,se as j,N as k,j as l,ae as m,P as n,q as o,k as p,fe as q,C as r,e as s,A as t,V as u,ye as v,ge as w};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.