PageSourceSearch

https://lassecash.pages.dev/_app/immutable/nodes/0.Dh5iyHvb.js

js lassecash.pages.dev collected 2026-10-03 05:21:44 UTC 13,756 bytes, 29 lines download raw bytes

1import"../chunks/B0XwC4Ot.js";import{r as Me,e as we,s as ae}from"../chunks/8mUhvwNQ.js";import{c as se,a as r,s as T,f as c,t as ye,d as qe,b as I}from"../chunks/D9sGZGkf.js";import{o as be}from"../chunks/WB-YkL4p.js";import{U as Oe,W as Fe,p as le,f as z,a as ce,g as a,v as w,s as o,c as i,r as n,o as X,t as H,b as W,d,aE as We}from"../chunks/CN4tyA6q.js";import{B as Be,i as u}from"../chunks/C5sdDPiI.js";import{p as ie}from"../chunks/B0-1Zguu.js";import{d as v,w as _e,c as Pe,M as Re,i as Ye}from"../chunks/BEQGXt1Q.js";import{a as V}from"../chunks/sxdSNjq4.js";import{b as Ge}from"../chunks/BlnfMc48.js";import{g as je}from"../chunks/C_nmt2mu.js";function Ue(M,O,...E){var k=new Be(M);Oe(()=>{const l=O()??null;k.ensure(l,l&&(x=>l(x,...E)))},Fe)}const ze=({url:M})=>({}),Lt=Object.freeze(Object.defineProperty({__proto__:null,load:ze},Symbol.toStringTag,{value:"Module"}));var Qe=c(`<div class="rcnote svelte-p2qxcw"><strong class="svelte-p2qxcw">You are low on action credits.</strong> <span class="mono svelte-p2qxcw"> </span> of <span class="mono svelte-p2qxcw"> </span> left. <!> <span class="fix svelte-p2qxcw">To act now, hold a little <strong class="svelte-p2qxcw">HBD on MAGI</strong>: 1 HBD adds 1,000
2      credits, and it is <strong class="svelte-p2qxcw">collateral, never spent</strong> — you can
3      withdraw it again whenever you like. <a href="/wallet" class="svelte-p2qxcw">Deposit HBD →</a></span></div>`);function Ze(M,O){le(O,!0);const E=5e3,k=1e4,l=w(()=>v.rc),x=w(()=>!!v.account&&!!a(l)&&a(l).max>0&&a(l).amount<E),B=w(()=>!!a(l)&&a(l).max<=k),F=N=>Math.trunc(N).toLocaleString();var A=se(),j=z(A);{var Q=N=>{var D=Qe(),f=o(i(D),2),p=i(f,!0);n(f);var y=o(f,2),P=i(y,!0);n(y);var R=o(y,2);{var Y=g=>{var S=ye(`Every account gets 10,000 free credits, and claiming uses most of them —
4      enough for the claim and little else.`);r(g,S)},G=g=>{var S=ye("Credits are spent by every action and come back over five days.");r(g,S)};u(R,g=>{a(B)?g(Y):g(G,-1)})}X(2),n(D),H((g,S)=>{T(p,g),T(P,S)},[()=>F(a(l).amount),()=>F(a(l).max)]),r(N,D)};u(j,N=>{a(x)&&a(l)&&N(Q)})}r(M,A),ce()}var Je=c("<button>sign in</button>"),Ke=c('<small class="svelte-1p5ro35">not installed</small>'),Ve=c('<button class="ghost svelte-1p5ro35"> <!></button>'),Xe=c('<p class="err svelte-1p5ro35"> </p>'),$e=c(`<div class="sheet svelte-1p5ro35"><div class="head svelte-1p5ro35"><strong class="svelte-1p5ro35">Sign in with your Hive wallet</strong> <button class="ghost small">✕</button></div> <label class="field"><span>Hive account</span> <input placeholder="lasseehlers" autocomplete="username"/></label> <div class="wallets svelte-1p5ro35"></div> <!> <p class="note svelte-1p5ro35">Your key never leaves your wallet. LasseCash asks for <strong>posting</strong> authority only — enough to publish and vote, and
5      it cannot move funds. Anything that touches value asks for active
6      authority separately, at the moment you do it.</p></div>`);function et(M,O){le(O,!0);let E=W(""),k=W(!1),l=W(null),x=W(!1);const B=w(()=>_e?_e.wallets():[]);async function F(f){const p=a(E).trim().replace(/^@/,"");if(!p){d(l,"Enter your Hive account name first");return}d(k,!0),d(l,null);try{await v.signInWithWallet(f,p),d(x,!1),await A()}catch(y){d(l,y instanceof Error?y.message:String(y),!0)}finally{d(k,!1)}}async function A(){try{if(await Pe.migrationRecord(v.account))return;ie.url.pathname!=="/mint"&&await je("/mint")}catch{}}var j=se(),Q=z(j);{var N=f=>{var p=Je();I("click",p,()=>d(x,!0)),r(f,p)},D=f=>{var p=$e(),y=i(p),P=o(i(y),2);n(y);var R=o(y,2),Y=o(i(R),2);Me(Y),n(R);var G=o(R,2);we(G,21,()=>a(B),b=>b.id,(b,m)=>{var L=Ve(),$=i(L),ee=o($);{var oe=Z=>{var re=Ke();r(Z,re)};u(ee,Z=>{a(m).available||Z(oe)})}n(L),H(()=>{L.disabled=a(k)||!a(m).available,T($,`${a(m).label??""} `)}),I("click",L,()=>F(a(m).id)),r(b,L)}),n(G);var g=o(G,2);{var S=b=>{var m=Xe(),L=i(m,!0);n(m),H(()=>T(L,a(l))),r(b,m)};u(g,b=>{a(l)&&b(S)})}X(2),n(p),H(()=>Y.disabled=a(k)),I("click",P,()=>d(x,!1)),Ge(Y,()=>a(E),b=>d(E,b)),r(f,p)};u(Q,f=>{a(x)?f(D,-1):f(N,1)})}r(M,j),ce()}qe(["click"]);var tt=c('<a class="svelte-12qhfyh"> </a>'),at=c('<span class="who svelte-12qhfyh"> </span> <button class="ghost svelte-12qhfyh">sign out</button>',1),st=c(`<div class="mobile-note svelte-12qhfyh" role="note"><span class="svelte-12qhfyh">Built desktop-first for now — everything works on a phone, but the
7        layout is not polished yet. A proper mobile layout is coming.</span> <button class="mobile-note-dismiss svelte-12qhfyh" aria-label="dismiss">×</button></div>`),ot=c(`<strong class="svelte-12qhfyh">Every migration mint has matured.</strong> They become claimable when the chain's day 30 <em class="svelte-12qhfyh">closes</em>, about
8          24 hours after it began — your card says "claimable when today closes"
9          until then. That wait is deliberate: every claim then reads the same
10          figure, so claiming early costs nothing and waiting gains nothing.
11          Nothing is at risk — grace runs to 29 December. <a href="/about" class="svelte-12qhfyh">How it works</a>`,1),rt=c(`<strong class="svelte-12qhfyh">The first 30 days are the migration itself, by design.</strong> Every snapshot position is a 30-day mint, so little is liquid and
12          the pool yield looks high. On <strong class="svelte-12qhfyh">30 September</strong> they all
13          mature at once — that is where price discovery becomes effective. A 100%
14          free-market product. <a href="/about" class="svelte-12qhfyh">How it works</a>`,1),nt=c('<div class="day30 svelte-12qhfyh" role="note"><span class="svelte-12qhfyh"><!></span> <button class="day30-dismiss svelte-12qhfyh" aria-label="dismiss">×</button></div>'),it=c(`<div class="day30 claimsnote svelte-12qhfyh" role="note"><span class="svelte-12qhfyh"><strong class="svelte-12qhfyh">
14Claiming a mint is paused while we fix a backing error.</strong> Your tokens and your positions are safe and recorded on chain, and
15        nothing expires — grace runs to 29 December. We found that the contract
16        cannot currently pay out large claims: its books record
17        28,356,122 LASSECASH in existence while the token ledger has only ever
18        minted 19,166,961, so 9,189,161 of backing is missing. The September
19        ledger upgrade carried the account balances across and not the amounts
20        the contract itself holds — the mint principals and the pools. <strong class="svelte-12qhfyh">We are fixing that before anything is frozen, so
21        the key burn planned for 10 October is on hold.</strong> Balances,
22        transfers, swaps, posting and voting all work normally. <a href="https://github.com/LasseEhlers/LasseCash-Migration-to-MAGI/blob/main/docs/FLOAT-SHORTFALL.md" target="_blank" rel="noreferrer" class="svelte-12qhfyh">The full write-up, with the numbers →</a></span> <button class="day30-dismiss svelte-12qhfyh" aria-label="dismiss">×</button></div>`),lt=c(`<div class="day30 feednote svelte-12qhfyh" role="note"><span class="svelte-12qhfyh"><strong class="svelte-12qhfyh">The Feed and profiles only reach back about a month.</strong> There is no index yet: every visit reads the chain's recent history
23        directly, so posts older than roughly thirty days drop out of the feed
24        and off their author's page. <strong class="svelte-12qhfyh">Nothing is lost</strong> — those
25        posts are still live at their own address, still earning, still in
26        search. An index that remembers them is the next thing we build. Posts,
27        payouts and every figure you see are settled on chain and real.</span> <button class="day30-dismiss svelte-12qhfyh" aria-label="dismiss">×</button></div>`),ct=c('<div class="confirming svelte-12qhfyh" role="status"><span class="dot svelte-12qhfyh"></span> Signed — waiting for MAGI to confirm. The figures update by themselves.</div>'),ht=c(`<strong class="svelte-12qhfyh">MAGI's nodes are busy.</strong> They cap how many previews a browser may ask for per minute, and we
28          hit the cap. Nothing is wrong with your funds or with anything you
29          just signed — wait a minute and it clears itself.`,1),vt=c(`<strong class="svelte-12qhfyh">MAGI's node is not answering.</strong> `,1),dt=c('<div class="banner error svelte-12qhfyh"><!></div>'),ut=c('<div class="banner svelte-12qhfyh">Loading engine…</div>'),ft=c('<span class="mono svelte-12qhfyh"> </span>'),mt=c('<div class="shell svelte-12qhfyh"><header class="svelte-12qhfyh"><a class="brand svelte-12qhfyh" href="/"><span class="mark svelte-12qhfyh">L</span> <span class="name svelte-12qhfyh">LASSECASH</span> <span class="tag svelte-12qhfyh">ANCAP SOCIETY TOOLS</span></a> <nav class="svelte-12qhfyh"></nav> <button class="unit svelte-12qhfyh"><span class="unitlabel svelte-12qhfyh">amounts in</span> <span class="unitval svelte-12qhfyh"> </span></button> <div class="session svelte-12qhfyh"><!></div></header> <!> <!> <!> <!> <!> <!> <!> <main class="svelte-12qhfyh"><!></main> <footer class="svelte-12qhfyh"><span class="svelte-12qhfyh">What you see is what the chain pays — every figure comes from the contract itself.</span> <span class="mono svelte-12qhfyh"><a href="https://discord.gg/wNhQrG44DC" target="_blank" rel="noopener" class="svelte-12qhfyh">Discord</a> · <a href="https://www.youtube.com/@LasseCashNews" target="_blank" rel="noopener" class="svelte-12qhfyh">Crypto World News</a> · <a href="https://lassemusic.com" target="_blank" rel="noopener" class="svelte-12qhfyh">Lasse Music</a></span> <!></footer></div>');function Ct(M,O){le(O,!0);const E=w(()=>[["/","Feed"],["/compose","Write"],["/mint","Mint"],["/pool","Pool"],["/chart","Chart"],["/wallet","Wallet"],["/chain","Chain"],["/thresholds","Thresholds"],["/stats","Stats"],["/about","About"]]);function k(t){const e=t.target;if(!e||e.tagName!=="INPUT"||e.inputMode!=="decimal"||!e.value.includes(","))return;const s=e.selectionStart;e.value=e.value.replace(/,/g,"."),s!==null&&e.setSelectionRange(s,s),e.dispatchEvent(new Event("input",{bubbles:!0}))}let l=W(!1);function x(){d(l,!1);try{localStorage.setItem("lc_mobile_note","1")}
29catch{}}let B=W(!1);const F=30,A=w(()=>{var s,h;const t=((s=v.info)==null?void 0:s.genesis_height)??0,e=((h=v.info)==null?void 0:h.height)??0;return t&&e?(e-t)/28800:null}),j=w(()=>a(A)===null||a(A)>=F+1),Q=w(()=>a(A)!==null&&a(A)>=F&&a(A)<F+1),N=w(()=>!a(B)&&!a(j)),D=3*24*60*60*1e3;let f=W(!1);const p=w(()=>!a(f));function y(){d(f,!0);try{localStorage.setItem("lc_claims_note",String(Date.now()))}catch{}}let P=W(!1);const R=w(()=>!a(P));function Y(){d(P,!0);try{localStorage.setItem("lc_feed_note",String(Date.now()))}catch{}}function G(){d(B,!0);try{localStorage.setItem("lc_day30_note",String(Date.now()))}catch{}}be(async()=>{try{d(l,!localStorage.getItem("lc_mobile_note"))}catch{d(l,!0)}try{const e=Number(localStorage.getItem("lc_claims_note")||0);d(f,e>0&&Date.now()-e<D,!0);const s=Number(localStorage.getItem("lc_feed_note")||0);d(P,s>0&&Date.now()-s<D,!0);const h=Number(localStorage.getItem("lc_day30_note")||0);d(B,h>0&&Date.now()-h<D,!0)}catch{}document.addEventListener("input",k,!0),V.restore(),await v.init();const t=new URLSearchParams(location.search).get("as");t?v.signIn(t):Re()}),be(()=>{function t(){document.visibilityState==="visible"&&v.refresh()}const e=setInterval(t,3e4);return document.addEventListener("visibilitychange",t),()=>{clearInterval(e),document.removeEventListener("visibilitychange",t)}});var g=mt(),S=i(g),b=o(i(S),2);we(b,21,()=>a(E),([t,e])=>t,(t,e)=>{var s=w(()=>We(a(e),2));let h=()=>a(s)[0],_=()=>a(s)[1];var q=tt(),J=i(q,!0);n(q),H(C=>{ae(q,"href",h()),ae(q,"aria-current",C),T(J,_())},[()=>ie.url.pathname===h()||h()!=="/"&&ie.url.pathname.startsWith(h()+"/")?"page":void 0]),r(t,q)}),n(b);var m=o(b,2),L=o(i(m),2),$=i(L,!0);n(L),n(m);var ee=o(m,2),oe=i(ee);{var Z=t=>{var e=at(),s=z(e),h=i(s,!0);n(s);var _=o(s,2);H(q=>T(h,q),[()=>Ye(v.account)]),I("click",_,()=>v.signOut()),r(t,e)},re=t=>{var e=se(),s=z(e);{var h=_=>{et(_,{})};u(s,_=>{_(h)})}r(t,e)};u(oe,t=>{v.account?t(Z):t(re,-1)})}n(ee),n(S);var he=o(S,2);{var Se=t=>{var e=st(),s=o(i(e),2);n(e),I("click",s,x),r(t,e)};u(he,t=>{a(l)&&t(Se)})}var ve=o(he,2);{var ke=t=>{var e=nt(),s=i(e),h=i(s);{var _=C=>{var K=ot();X(4),r(C,K)},q=C=>{var K=rt();X(4),r(C,K)};u(h,C=>{a(Q)?C(_):C(q,-1)})}n(s);var J=o(s,2);n(e),I("click",J,G),r(t,e)};u(ve,t=>{a(N)&&t(ke)})}var de=o(ve,2);{var xe=t=>{var e=it(),s=o(i(e),2);n(e),I("click",s,y),r(t,e)};u(de,t=>{a(p)&&t(xe)})}var ue=o(de,2);{var Ae=t=>{var e=lt(),s=o(i(e),2);n(e),I("click",s,Y),r(t,e)};u(ue,t=>{a(R)&&t(Ae)})}var fe=o(ue,2);{var Le=t=>{var e=ct();r(t,e)};u(fe,t=>{v.confirming&&t(Le)})}var me=o(fe,2);{var Ce=t=>{var e=dt(),s=i(e);{var h=_=>{var q=se(),J=z(q);{var C=U=>{var te=ht();X(),r(U,te)},K=w(()=>/rate limit/i.test(v.error??"")),Te=U=>{var te=vt(),He=o(z(te));H(()=>T(He,` ${v.info?"Showing the last figures loaded — retrying every 30 seconds.":"Retrying every 30 seconds."}`)),r(U,te)};u(J,U=>{a(K)?U(C):U(Te,-1)})}r(_,q)};u(s,_=>{_(h)})}n(e),r(t,e)},Ee=t=>{var e=ut();r(t,e)};u(me,t=>{v.outage?t(Ce):v.ready||t(Ee,1)})}var ge=o(me,2);Ze(ge,{});var ne=o(ge,2),Ne=i(ne);Ue(Ne,()=>O.children),n(ne);var pe=o(ne,2),De=o(i(pe),4);{var Ie=t=>{var e=ft(),s=i(e);n(e),H(h=>T(s,`height ${h??""}`),[()=>v.info.height.toLocaleString()]),r(t,e)};u(De,t=>{v.info&&t(Ie)})}n(pe),n(g),H(()=>{ae(m,"aria-pressed",V.show),ae(m,"title",V.show?"Showing an approximate HBD value beside LASSECASH amounts. Click to show amounts in LASSECASH only.":"Showing amounts in LASSECASH only. Click to show an approximate HBD value beside each amount."),T($,V.show?"LASSECASH + HBD":"LASSECASH only")}),I("click",m,()=>V.toggle()),r(M,g),ce()}qe(["click"]);export{Ct as component,Lt as universal};

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.