import{V as M,a9 as fe,aa as le,ab as p,ac as oe,K as P,ad as g,ae as C,M as y,v as I,af as ce,a2 as _e,z as ee,ag as q,ah as N,ai as re,aj as ne,U as de,Y as ve,g as j,q as U,ak as be,al as he,u as T,f as O,e as te,h as ae,P as ge,am as W,r as z,R as G,Q as me,an as we,ao as ye,d as H,Z as ie,n as V,s as Pe,ap as pe,aq as Ee,ar as se,as as Re,C as Z,at as $,au as Te,av as Se,aw as Ie,A as Oe,ax as xe,ay as Ae,W as Ne,a1 as Q,az as Le,aA as De}from"./utils.D9Yp2dhp.js";function A(e,r=null,n){if(typeof e!="object"||e===null||M in e)return e;const o=_e(e);if(o!==fe&&o!==le)return e;var a=new Map,i=ee(e),c=p(0);i&&a.set("length",p(e.length));var d;return new Proxy(e,{defineProperty(f,t,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&oe();var l=a.get(t);return l===void 0?(l=p(s.value),a.set(t,l)):P(l,A(s.value,d)),!0},deleteProperty(f,t){var s=a.get(t);if(s===void 0)t in f&&a.set(t,p(g));else{if(i&&typeof t=="string"){var l=a.get("length"),u=Number(t);Number.isInteger(u)&&u=R.v&&P(R,E+1)}J(c)}return!0},ownKeys(f){y(c);var t=Reflect.ownKeys(f).filter(u=>{var _=a.get(u);return _===void 0||_.v!==g});for(var[s,l]of a)l.v!==g&&!(s in f)&&t.push(s);return t},setPrototypeOf(){ce()}})}function J(e,r=1){P(e,e.v+r)}let X=!1;function Me(){X||(X=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var r;if(!e.defaultPrevented)for(const n of e.target.elements)(r=n.__on_r)==null||r.call(n)})},{capture:!0}))}function ue(e){var r=re,n=I;q(null),N(null);try{return e()}finally{q(r),N(n)}}function We(e,r,n,o=n){e.addEventListener(r,()=>ue(n));const a=e.__on_r;a?e.__on_r=()=>{a(),o()}:e.__on_r=o,Me()}const ze=new Set,Ge=new Set;function Ce(e,r,n,o){function a(i){if(o.capture||qe.call(r,i),!i.cancelBubble)return ue(()=>n.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?de(()=>{r.addEventListener(e,a,o)}):r.addEventListener(e,a,o),a}function He(e,r,n,o,a){var i={capture:o,passive:a},c=Ce(e,r,n,i);(r===document.body||r===window||r===document)&&ne(()=>{r.removeEventListener(e,c,i)})}function qe(e){var E;var r=this,n=r.ownerDocument,o=e.type,a=((E=e.composedPath)==null?void 0:E.call(e))||[],i=a[0]||e.target,c=0,d=e.__root;if(d){var f=a.indexOf(d);if(f!==-1&&(r===document||r===window)){e.__root=r;return}var t=a.indexOf(r);if(t===-1)return;f<=t&&(c=f)}if(i=a[c]||e.target,i!==r){ve(e,"currentTarget",{configurable:!0,get(){return i||n}});var s=re,l=I;q(null),N(null);try{for(var u,_=[];i!==null;){var b=i.assignedSlot||i.parentNode||i.host||null;try{var m=i["__"+o];if(m!==void 0&&!i.disabled)if(ee(m)){var[h,...R]=m;h.apply(i,[e,...R])}else m.call(i,e)}catch(w){u?_.push(w):u=w}if(e.cancelBubble||b===r||b===null)break;i=b}if(u){for(let w of _)queueMicrotask(()=>{throw w});throw u}}finally{e.__root=r,delete e.currentTarget,q(s),N(l)}}}function Be(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function S(e,r){var n=I;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=r)}function Ve(e,r){var n=(r&be)!==0,o=(r&he)!==0,a,i=!e.startsWith("");return()=>{if(T)return S(O,null),O;a===void 0&&(a=Be(i?e:""+e),n||(a=j(a)));var c=o?document.importNode(a,!0):a.cloneNode(!0);if(n){var d=j(c),f=c.lastChild;S(d,f)}else S(c,c);return c}}function Ze(e=""){if(!T){var r=U(e+"");return S(r,r),r}var n=O;return n.nodeType!==3&&(n.before(n=U()),te(n)),S(n,n),n}function $e(){if(T)return S(O,null),O;var e=document.createDocumentFragment(),r=document.createComment(""),n=U();return e.append(r,n),S(r,n),e}function Qe(e,r){if(T){I.nodes_end=O,ae();return}e!==null&&e.before(r)}function Je(e,r,n,o=null,a=!1){T&&ae();var i=e,c=null,d=null,f=null,t=a?me:0;ge(()=>{if(f===(f=!!r()))return;let s=!1;if(T){const l=i.data===we;f===l&&(i=ye(),te(i),H(!1),s=!0)}f?(c?W(c):c=z(()=>n(i)),d&&G(d,()=>{d=null})):(d?W(d):o&&(d=z(()=>o(i))),c&&G(c,()=>{c=null})),s&&H(!0)},t),T&&(i=O)}let D=!1;function Xe(e,r,n){const o=n[r]??(n[r]={store:null,source:ie(void 0),unsubscribe:V});if(o.store!==e)if(o.unsubscribe(),o.store=e??null,e==null)o.source.v=void 0,o.unsubscribe=V;else{var a=!0;o.unsubscribe=Pe(e,i=>{a?o.source.v=i:P(o.source,i)}),a=!1}return y(o.source)}function ke(){const e={};return ne(()=>{for(var r in e)e[r].unsubscribe()}),e}function er(e,r,n){return e.set(n),r}function Fe(e){var r=D;try{return D=!1,[e(),D]}finally{D=r}}const Ue={get(e,r){if(!e.exclude.includes(r))return y(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,n){return r in e.special||(e.special[r]=Ye({get[r](){return e.props[r]}},r,se)),e.special[r](n),$(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),$(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function rr(e,r){return new Proxy({props:e,exclude:r,special:{},version:p(0)},Ue)}function k(e){for(var r=I,n=I;r!==null&&!(r.f&(Te|Se));)r=r.parent;try{return N(r),e()}finally{N(n)}}function Ye(e,r,n,o){var K;var a=(n&Ie)!==0,i=!Oe||(n&xe)!==0,c=(n&Ae)!==0,d=(n&De)!==0,f=!1,t;c?[t,f]=Fe(()=>e[r]):t=e[r];var s=M in e||Ne in e,l=((K=C(e,r))==null?void 0:K.set)??(s&&c&&r in e?v=>e[r]=v:void 0),u=o,_=!0,b=!1,m=()=>(b=!0,_&&(_=!1,d?u=Z(o):u=o),u);t===void 0&&o!==void 0&&(l&&i&&pe(),t=m(),l&&l(t));var h;if(i)h=()=>{var v=e[r];return v===void 0?m():(_=!0,b=!1,v)};else{var R=k(()=>(a?Q:Le)(()=>e[r]));R.f|=Ee,h=()=>{var v=y(R);return v!==void 0&&(u=void 0),v===void 0?u:v}}if(!(n&se))return h;if(l){var E=e.$$legacy;return function(v,x){return arguments.length>0?((!i||!x||E||f)&&l(x?h():v),v):h()}}var w=!1,Y=!1,B=ie(t),L=k(()=>Q(()=>{var v=h(),x=y(B);return w?(w=!1,Y=!0,x):(Y=!1,B.v=v)}));return a||(L.equals=Re),function(v,x){if(arguments.length>0){const F=x?y(L):i&&c?A(v):v;return L.equals(F)||(w=!0,P(B,F),b&&u!==void 0&&(u=F),Z(()=>y(L))),v}return y(L)}}const Ke="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);export{ze as a,S as b,Qe as c,Ze as d,He as e,$e as f,A as g,qe as h,Je as i,Me as j,Be as k,rr as l,We as m,Xe as n,er as o,Ye as p,Ge as r,ke as s,Ve as t}; //# sourceMappingURL=disclose-version.CCuNq-Eb.js.map