import{s as j,f as S,y as k,j as q,i as y,d as w,r as C}from"./scheduler.bDsl0G2p.js";import{S as F,i as N,c as i,a as m,m as u,t as _,b as c,d as $,g as V,e as v}from"./index.DtyFm6kT.js";import{T as z}from"./Tome.Kgdvr8dP.js";import{T as A}from"./Trinket.DQmCXoc3.js";import{T as B}from"./0.D1YHP6Ug.js";function d(p){let n,s;return n=new A({props:{prepare:p[4],every_enhance:p[5]}}),{c(){i(n.$$.fragment)},l(e){m(n.$$.fragment,e)},m(e,r){u(n,e,r),s=!0},p(e,r){const t={};r&1&&(t.prepare=e[4]),r&1&&(t.every_enhance=e[5]),n.$set(t)},i(e){s||(_(n.$$.fragment,e),s=!0)},o(e){c(n.$$.fragment,e),s=!1},d(e){$(n,e)}}}function D(p){let n,s,e,r;n=new B({props:{on_change:p[3]}});let t=typeof p[0]=="object"&&p[2]==="yes"&&d(p);return{c(){i(n.$$.fragment),s=S(),t&&t.c(),e=k()},l(o){m(n.$$.fragment,o),s=q(o),t&&t.l(o),e=k()},m(o,a){u(n,o,a),y(o,s,a),t&&t.m(o,a),y(o,e,a),r=!0},p(o,a){const l={};a&1&&(l.on_change=o[3]),n.$set(l),typeof o[0]=="object"&&o[2]==="yes"?t?(t.p(o,a),a&5&&_(t,1)):(t=d(o),t.c(),_(t,1),t.m(e.parentNode,e)):t&&(V(),c(t,1,1,()=>{t=null}),v())},i(o){r||(_(n.$$.fragment,o),_(t),r=!0)},o(o){c(n.$$.fragment,o),c(t),r=!1},d(o){o&&(w(s),w(e)),$(n,o),t&&t.d(o)}}}function E(p){let n,s,e={on_prepare:p[6],$$slots:{default:[D]},$$scope:{ctx:p}};return n=new z({props:e}),p[7](n),{c(){i(n.$$.fragment)},l(r){m(n.$$.fragment,r)},m(r,t){u(n,r,t),s=!0},p(r,[t]){const o={};t&4&&(o.on_prepare=r[6]),t&261&&(o.$$scope={dirty:t,ctx:r}),n.$set(o)},i(r){s||(_(n.$$.fragment,r),s=!0)},o(r){c(n.$$.fragment,r),s=!1},d(r){p[7](null),$(n,r)}}}function G(p,n,s){let e=!1,r,t="no";const o=({freight:f})=>{s(0,e=f)},a=()=>(console.log("net choices with text prepared",{name:e.net_name,path:e.net_path}),{net_name:e.dapp_network.net_name}),l=({net_name:f,net_path:g,chain_id:h})=>{console.info("every_enhance:",{net_name:f,net_path:g,chain_id:h}),s(0,e.dapp_network.net_name=f,e),s(0,e.dapp_network.net_path=g,e),s(0,e.dapp_network.chain_id=h,e)},b=()=>{console.log("on prepare dapp network"),s(2,t="yes")};function T(f){C[f?"unshift":"push"](()=>{r=f,s(1,r)})}return[e,r,t,o,a,l,b,T]}class M extends F{constructor(n){super(),N(this,n,G,E,j,{})}}export{M as default};
//# sourceMappingURL=Tome.68_SPgbT.js.map
