@htmlbricks/hb-area-code 0.62.0 → 0.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,3 +1,3 @@
1
- (function(re){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ln=2,se="[",ie="[!",fe="]",dt={},w=Symbol(),le=!1;var un=Array.isArray,on=Array.prototype.indexOf,an=Array.from,Et=Object.keys,xt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,cn=Object.prototype,hn=Array.prototype,dn=Object.getPrototypeOf,ue=Object.isExtensible;function _n(t){for(var e=0;e<t.length;e++)t[e]()}function oe(){var t,e,n=new Promise((r,s)=>{t=r,e=s});return{promise:n,resolve:t,reject:e}}const b=2,Tt=4,Yt=8,B=16,tt=32,W=64,kt=128,N=512,m=1024,R=2048,Y=4096,G=8192,J=16384,ae=32768,St=65536,ce=1<<17,he=1<<18,et=1<<19,vn=1<<20,_t=32768,Vt=1<<21,Ht=1<<22,X=1<<23,Ut=Symbol("$state"),pn=Symbol("legacy props"),lt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},de=3,Rt=8;function $n(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function yn(){throw new Error("https://svelte.dev/e/hydration_failed")}function wn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function En(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Kt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function xn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function At(t){g=t}let $;function V(t){if(t===null)throw Kt(),dt;return $=t}function _e(){return V(Q($))}function Ct(t){if(g){if(Q($)!==null)throw Kt(),dt;$=t}}function Tn(t=1){if(g){for(var e=t,n=$;e--;)n=Q(n);$=n}}function kn(t=!0){for(var e=0,n=$;;){if(n.nodeType===Rt){var r=n.data;if(r===fe){if(e===0)return n;e-=1}else(r===se||r===ie)&&(e+=1)}var s=Q(n);t&&n.remove(),n=s}}function ve(t){return t===this.v}function Sn(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Rn(t){return!Sn(t,this.v)}let An=!1,P=null;function ut(t){P=t}function pe(t,e=!1,n){P={p:P,i:!1,c:null,e:null,s:t,x:null,l:null}}function $e(t){var e=P,n=e.e;if(n!==null){e.e=null;for(var r of n)Un(r)}return t!==void 0&&(e.x=t),e.i=!0,P=e.p,t??{}}function ge(){return!0}let nt=[];function ye(){var t=nt;nt=[],_n(t)}function zt(t){if(nt.length===0&&!vt){var e=nt;queueMicrotask(()=>{e===nt&&ye()})}nt.push(t)}function Cn(){for(;nt.length>0;)ye()}function we(t){var e=v;if(e===null)return _.f|=X,t;if((e.f&ae)===0){if((e.f&kt)===0)throw t;e.b.error(t)}else ot(t,e)}function ot(t,e){for(;e!==null;){if((e.f&kt)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t}const Ot=new Set;let y=null,A=null,L=[],Nt=null,Wt=!1,vt=!1;class D{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#u=0;#i=0;#o=null;#f=[];#s=[];skipped_effects=new Set;is_fork=!1;process(e){L=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#n(r,n);this.is_fork||this.#l(),this.#i>0||this.is_fork?(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects)):(y=null,me(n.render_effects),me(n.effects),this.#o?.resolve()),A=null}#n(e,n){e.f^=m;for(var r=e.first;r!==null;){var s=r.f,i=(s&(tt|W))!==0,f=i&&(s&m)!==0,l=f||(s&G)!==0||this.skipped_effects.has(r);if((r.f&kt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){i?r.f^=m:(s&Tt)!==0?n.effects.push(r):bt(r)&&((r.f&B)!==0&&n.block_effects.push(r),mt(r));var u=r.first;if(u!==null){r=u;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#r(e){for(const n of e)((n.f&R)!==0?this.#f:this.#s).push(n),x(n,m)}capture(e,n){this.previous.has(e)||this.previous.set(e,n),(e.f&X)===0&&(this.current.set(e,e.v),A?.set(e,e.v))}activate(){y=this,this.apply()}deactivate(){y=null,A=null}flush(){if(this.activate(),L.length>0){if(be(),y!==null&&y!==this)return}else this.#u===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#l(){if(this.#i===0){for(const e of this.#e)e();this.#e.clear()}this.#u===0&&this.#a()}#a(){if(Ot.size>1){this.previous.clear();var e=A,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ot){if(s===this){n=!1;continue}const i=[];for(const[l,u]of this.current){if(s.current.has(l))if(n&&u!==s.current.get(l))s.current.set(l,u);else continue;i.push(l)}if(i.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){const l=new Set,u=new Map;for(const o of i)Ee(o,f,l,u);if(L.length>0){y=s,s.apply();for(const o of L)s.#n(o,r);L=[],s.deactivate()}}}y=null,A=e}this.committed=!0,Ot.delete(this)}increment(e){this.#u+=1,e&&(this.#i+=1)}decrement(e){this.#u-=1,e&&(this.#i-=1),this.revive()}revive(){for(const e of this.#f)x(e,R),at(e);for(const e of this.#s)x(e,Y),at(e);this.#f=[],this.#s=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#o??=oe()).promise}static ensure(){if(y===null){const e=y=new D;Ot.add(y),vt||D.enqueue(()=>{y===e&&e.flush()})}return y}static enqueue(e){zt(e)}apply(){}}function Gt(t){var e=vt;vt=!0;try{for(var n;;){if(Cn(),L.length===0&&(y?.flush(),L.length===0))return Nt=null,n;be()}}finally{vt=e}}function be(){var t=st;Wt=!0;try{var e=0;for(Be(!0);L.length>0;){var n=D.ensure();if(e++>1e3){var r,s;On()}n.process(L),Z.clear()}}finally{Wt=!1,Be(t),Nt=null}}function On(){try{gn()}catch(t){ot(t,Nt)}}let H=null;function me(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(J|G))===0&&bt(r)&&(H=new Set,mt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?je(r):r.fn=null),H?.size>0)){Z.clear();for(const s of H){if((s.f&(J|G))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)H.has(f)&&(H.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const u=i[l];(u.f&(J|G))===0&&mt(u)}}H.clear()}}H=null}}function Ee(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const s of t.reactions){const i=s.f;(i&b)!==0?Ee(s,e,n,r):(i&(Ht|B))!==0&&(i&R)===0&&xe(s,e,r)&&(x(s,R),at(s))}}function xe(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const s of t.deps){if(e.includes(s))return!0;if((s.f&b)!==0&&xe(s,e,n))return n.set(s,!0),!0}return n.set(t,!1),!1}function at(t){for(var e=Nt=t;e.parent!==null;){e=e.parent;var n=e.f;if(Wt&&e===v&&(n&B)!==0&&(n&he)===0)return;if((n&(W|tt))!==0){if((n&m)===0)return;e.f^=m}}L.push(e)}function Nn(t){let e=0,n=pt(0),r;return()=>{Lt()&&(S(n),Ie(()=>(e===0&&(r=ir(()=>t(()=>$t(n)))),e+=1,()=>{zt(()=>{e-=1,e===0&&(r?.(),r=void 0,$t(n))})})))}}var Pn=St|et|kt;function Dn(t,e,n){new Fn(t,e,n)}class Fn{parent;#e=!1;#t;#u=g?$:null;#i;#o;#f;#s=null;#n=null;#r=null;#l=null;#a=null;#d=0;#c=0;#_=!1;#h=null;#y=Nn(()=>(this.#h=pt(this.#d),()=>{this.#h=null}));constructor(e,n,r){this.#t=e,this.#i=n,this.#o=r,this.parent=v.b,this.#e=!!this.#i.pending,this.#f=Xn(()=>{if(v.b=this,g){const i=this.#u;_e(),i.nodeType===Rt&&i.data===ie?this.#b():this.#w()}else{var s=this.#$();try{this.#s=rt(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#e=!1}return()=>{this.#a?.remove()}},Pn),g&&(this.#t=$)}#w(){try{this.#s=rt(()=>this.#o(this.#t))}catch(e){this.error(e)}this.#e=!1}#b(){const e=this.#i.pending;e&&(this.#n=rt(()=>e(this.#t)),D.enqueue(()=>{var n=this.#$();this.#s=this.#v(()=>(D.ensure(),rt(()=>this.#o(n)))),this.#c>0?this.#p():(Mt(this.#n,()=>{this.#n=null}),this.#e=!1)}))}#$(){var e=this.#t;return this.#e&&(this.#a=yt(),this.#t.before(this.#a),e=this.#a),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#v(e){var n=v,r=_,s=P;q(this.#f),k(this.#f),ut(this.#f.ctx);try{return e()}catch(i){return we(i),null}finally{q(n),k(r),ut(s)}}#p(){const e=this.#i.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#a),er(this.#s,this.#l)),this.#n===null&&(this.#n=rt(()=>e(this.#t)))}#g(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(e);return}this.#c+=e,this.#c===0&&(this.#e=!1,this.#n&&Mt(this.#n,()=>{this.#n=null}),this.#l&&(this.#t.before(this.#l),this.#l=null))}update_pending_count(e){this.#g(e),this.#d+=e,this.#h&&Dt(this.#h,this.#d)}get_effect_pending(){return this.#y(),S(this.#h)}error(e){var n=this.#i.onerror;let r=this.#i.failed;if(this.#_||!n&&!r)throw e;this.#s&&(I(this.#s),this.#s=null),this.#n&&(I(this.#n),this.#n=null),this.#r&&(I(this.#r),this.#r=null),g&&(V(this.#u),Tn(),V(kn()));var s=!1,i=!1;const f=()=>{if(s){xn();return}s=!0,i&&En(),D.ensure(),this.#d=0,this.#r!==null&&Mt(this.#r,()=>{this.#r=null}),this.#e=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,rt(()=>this.#o(this.#t)))),this.#c>0?this.#p():this.#e=!1};var l=_;try{k(null),i=!0,n?.(e,f),i=!1}catch(u){ot(u,this.#f&&this.#f.parent)}finally{k(l)}r&&zt(()=>{this.#r=this.#v(()=>{D.ensure(),this.#_=!0;try{return rt(()=>{r(this.#t,()=>e,()=>f)})}catch(u){return ot(u,this.#f.parent),null}finally{this.#_=!1}})})}}function In(t,e,n,r){const s=Te;if(n.length===0&&t.length===0){r(e.map(s));return}var i=y,f=v,l=Ln();function u(){Promise.all(n.map(o=>Mn(o))).then(o=>{l();try{r([...e.map(s),...o])}catch(h){(f.f&J)===0&&ot(h,f)}i?.deactivate(),Pt()}).catch(o=>{ot(o,f)})}t.length>0?Promise.all(t).then(()=>{l();try{return u()}finally{i?.deactivate(),Pt()}}):u()}function Ln(){var t=v,e=_,n=P,r=y;return function(i=!0){q(t),k(e),ut(n),i&&r?.activate()}}function Pt(){q(null),k(null),ut(null)}function Te(t){var e=b|R,n=_!==null&&(_.f&b)!==0?_:null;return v!==null&&(v.f|=et),{ctx:P,deps:null,effects:null,equals:ve,f:e,fn:t,reactions:null,rv:0,v:w,wv:0,parent:n??v,ac:null}}function Mn(t,e){let n=v;n===null&&$n();var r=n.b,s=void 0,i=pt(w),f=!_,l=new Map;return Gn(()=>{var u=oe();s=u.promise;try{Promise.resolve(t()).then(u.resolve,u.reject).then(()=>{o===y&&o.committed&&o.deactivate(),Pt()})}catch(a){u.reject(a),Pt()}var o=y;if(f){var h=!r.is_pending();r.update_pending_count(1),o.increment(h),l.get(o)?.reject(lt),l.delete(o),l.set(o,u)}const d=(a,c=void 0)=>{if(o.activate(),c)c!==lt&&(i.f|=X,Dt(i,c));else{(i.f&X)!==0&&(i.f^=X),Dt(i,a);for(const[p,T]of l){if(l.delete(p),p===o)break;T.reject(lt)}}f&&(r.update_pending_count(-1),o.decrement(h))};u.promise.then(d,a=>d(null,a||"unknown"))}),Hn(()=>{for(const u of l.values())u.reject(lt)}),new Promise(u=>{function o(h){function d(){h===s?u(i):o(s)}h.then(d,d)}o(s)})}function ke(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)I(e[n])}}function jn(t){for(var e=t.parent;e!==null;){if((e.f&b)===0)return e;e=e.parent}return null}function Jt(t){var e,n=v;q(jn(t));try{t.f&=~_t,ke(t),e=ze(t)}finally{q(n)}return e}function Se(t){var e=Jt(t);if(t.equals(e)||(t.v=e,t.wv=Ue()),!ct)if(A!==null)Lt()&&A.set(t,t.v);else{var n=(t.f&N)===0?Y:m;x(t,n)}}let Xt=new Set;const Z=new Map;let Re=!1;function pt(t,e){var n={f:0,v:t,reactions:null,equals:ve,rv:0,wv:0};return n}function U(t,e){const n=pt(t);return nr(n),n}function qn(t,e=!1,n=!0){const r=pt(t);return e||(r.equals=Rn),r}function F(t,e,n=!1){_!==null&&(!j||(_.f&ce)!==0)&&ge()&&(_.f&(b|B|Ht|ce))!==0&&!K?.includes(t)&&mn();let r=n?gt(e):e;return Dt(t,r)}function Dt(t,e){if(!t.equals(e)){var n=t.v;ct?Z.set(t,e):Z.set(t,n),t.v=e;var r=D.ensure();r.capture(t,n),(t.f&b)!==0&&((t.f&R)!==0&&Jt(t),x(t,(t.f&N)!==0?m:Y)),t.wv=Ue(),Ae(t,R),v!==null&&(v.f&m)!==0&&(v.f&(tt|W))===0&&(O===null?rr([t]):O.push(t)),!r.is_fork&&Xt.size>0&&!Re&&Bn()}return e}function Bn(){Re=!1;const t=Array.from(Xt);for(const e of t)(e.f&m)!==0&&x(e,Y),bt(e)&&mt(e);Xt.clear()}function $t(t){F(t,t.v+1)}function Ae(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&R)===0;if(l&&x(i,e),(f&b)!==0){var u=i;A?.delete(u),(f&_t)===0&&(f&N&&(i.f|=_t),Ae(u,Y))}else l&&((f&B)!==0&&H!==null&&H.add(i),at(i))}}function gt(t){if(typeof t!="object"||t===null||Ut in t)return t;const e=dn(t);if(e!==cn&&e!==hn)return t;var n=new Map,r=un(t),s=U(0),i=it,f=l=>{if(it===i)return l();var u=_,o=it;k(null),He(i);var h=l();return k(u),He(o),h};return r&&n.set("length",U(t.length)),new Proxy(t,{defineProperty(l,u,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&wn();var h=n.get(u);return h===void 0?h=f(()=>{var d=U(o.value);return n.set(u,d),d}):F(h,o.value,!0),!0},deleteProperty(l,u){var o=n.get(u);if(o===void 0){if(u in l){const h=f(()=>U(w));n.set(u,h),$t(s)}}else F(o,w),$t(s);return!0},get(l,u,o){if(u===Ut)return t;var h=n.get(u),d=u in l;if(h===void 0&&(!d||ft(l,u)?.writable)&&(h=f(()=>{var c=gt(d?l[u]:w),p=U(c);return p}),n.set(u,h)),h!==void 0){var a=S(h);return a===w?void 0:a}return Reflect.get(l,u,o)},getOwnPropertyDescriptor(l,u){var o=Reflect.getOwnPropertyDescriptor(l,u);if(o&&"value"in o){var h=n.get(u);h&&(o.value=S(h))}else if(o===void 0){var d=n.get(u),a=d?.v;if(d!==void 0&&a!==w)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return o},has(l,u){if(u===Ut)return!0;var o=n.get(u),h=o!==void 0&&o.v!==w||Reflect.has(l,u);if(o!==void 0||v!==null&&(!h||ft(l,u)?.writable)){o===void 0&&(o=f(()=>{var a=h?gt(l[u]):w,c=U(a);return c}),n.set(u,o));var d=S(o);if(d===w)return!1}return h},set(l,u,o,h){var d=n.get(u),a=u in l;if(r&&u==="length")for(var c=o;c<d.v;c+=1){var p=n.get(c+"");p!==void 0?F(p,w):c in l&&(p=f(()=>U(w)),n.set(c+"",p))}if(d===void 0)(!a||ft(l,u)?.writable)&&(d=f(()=>U(void 0)),F(d,gt(o)),n.set(u,d));else{a=d.v!==w;var T=f(()=>gt(o));F(d,T)}var z=Reflect.getOwnPropertyDescriptor(l,u);if(z?.set&&z.set.call(h,o),!a){if(r&&typeof u=="string"){var fn=n.get("length"),ne=Number(u);Number.isInteger(ne)&&ne>=fn.v&&F(fn,ne+1)}$t(s)}return!0},ownKeys(l){S(s);var u=Reflect.ownKeys(l).filter(d=>{var a=n.get(d);return a===void 0||a.v!==w});for(var[o,h]of n)h.v!==w&&!(o in l)&&u.push(o);return u},setPrototypeOf(){bn()}})}var Ce,Oe,Ne,Pe;function Zt(){if(Ce===void 0){Ce=window,Oe=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ne=ft(e,"firstChild").get,Pe=ft(e,"nextSibling").get,ue(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),ue(n)&&(n.__t=void 0)}}function yt(t=""){return document.createTextNode(t)}function Ft(t){return Ne.call(t)}function Q(t){return Pe.call(t)}function It(t,e){if(!g)return Ft(t);var n=Ft($);if(n===null)n=$.appendChild(yt());else if(e&&n.nodeType!==de){var r=yt();return n?.before(r),V(r),r}return V(n),n}function De(t,e=1,n=!1){let r=g?$:t;for(var s;e--;)s=r,r=Q(r);if(!g)return r;if(n&&r?.nodeType!==de){var i=yt();return r===null?s?.after(i):r.before(i),V(i),i}return V(r),r}function Yn(t){t.textContent=""}function Fe(t){var e=_,n=v;k(null),q(null);try{return t()}finally{k(e),q(n)}}function Vn(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function M(t,e,n,r=!0){var s=v;s!==null&&(s.f&G)!==0&&(t|=G);var i={ctx:P,deps:null,nodes_start:null,nodes_end:null,f:t|R|N,first:null,fn:e,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{mt(i),i.f|=ae}catch(u){throw I(i),u}else e!==null&&at(i);if(r){var f=i;if(n&&f.deps===null&&f.teardown===null&&f.nodes_start===null&&f.first===f.last&&(f.f&et)===0&&(f=f.first,(t&B)!==0&&(t&St)!==0&&f!==null&&(f.f|=St)),f!==null&&(f.parent=s,s!==null&&Vn(f,s),_!==null&&(_.f&b)!==0&&(t&W)===0)){var l=_;(l.effects??=[]).push(f)}}return i}function Lt(){return _!==null&&!j}function Hn(t){const e=M(Yt,null,!1);return x(e,m),e.teardown=t,e}function Un(t){return M(Tt|vn,t,!1)}function Kn(t){D.ensure();const e=M(W|et,t,!0);return()=>{I(e)}}function zn(t){D.ensure();const e=M(W|et,t,!0);return(n={})=>new Promise(r=>{n.outro?Mt(e,()=>{I(e),r(void 0)}):(I(e),r(void 0))})}function Wn(t){return M(Tt,t,!1)}function Gn(t){return M(Ht|et,t,!0)}function Ie(t,e=0){return M(Yt|e,t,!0)}function Jn(t,e=[],n=[],r=[],s=!1){In(r,e,n,i=>{M(s?Tt:Yt,()=>t(...i.map(S)),!0)})}function Xn(t,e=0){var n=M(B|e,t,!0);return n}function rt(t,e=!0){return M(tt|et,t,!0,e)}function Le(t){var e=t.teardown;if(e!==null){const n=ct,r=_;Ye(!0),k(null);try{e.call(null)}finally{Ye(n),k(r)}}}function Me(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const s=n.ac;s!==null&&Fe(()=>{s.abort(lt)});var r=n.next;(n.f&W)!==0?n.parent=null:I(n,e),n=r}}function Zn(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&tt)===0&&I(e),e=n}}function I(t,e=!0){var n=!1;(e||(t.f&he)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Qn(t.nodes_start,t.nodes_end),n=!0),Me(t,e&&!n),jt(t,0),x(t,J);var r=t.transitions;if(r!==null)for(const i of r)i.stop();Le(t);var s=t.parent;s!==null&&s.first!==null&&je(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Qn(t,e){for(;t!==null;){var n=t===e?null:Q(t);t.remove(),t=n}}function je(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function Mt(t,e,n=!0){var r=[];qe(t,r,!0),tr(r,()=>{n&&I(t),e&&e()})}function tr(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var s of t)s.out(r)}else e()}function qe(t,e,n){if((t.f&G)===0){if(t.f^=G,t.transitions!==null)for(const f of t.transitions)(f.is_global||n)&&e.push(f);for(var r=t.first;r!==null;){var s=r.next,i=(r.f&St)!==0||(r.f&tt)!==0&&(t.f&B)!==0;qe(r,e,i?n:!1),r=s}}}function er(t,e){for(var n=t.nodes_start,r=t.nodes_end;n!==null;){var s=n===r?null:Q(n);e.append(n),n=s}}let st=!1;function Be(t){st=t}let ct=!1;function Ye(t){ct=t}let _=null,j=!1;function k(t){_=t}let v=null;function q(t){v=t}let K=null;function nr(t){_!==null&&(K===null?K=[t]:K.push(t))}let E=null,C=0,O=null;function rr(t){O=t}let Ve=1,wt=0,it=wt;function He(t){it=t}function Ue(){return++Ve}function bt(t){var e=t.f;if((e&R)!==0)return!0;if(e&b&&(t.f&=~_t),(e&Y)!==0){var n=t.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(bt(i)&&Se(i),i.wv>t.wv)return!0}(e&N)!==0&&A===null&&x(t,m)}return!1}function Ke(t,e,n=!0){var r=t.reactions;if(r!==null&&!K?.includes(t))for(var s=0;s<r.length;s++){var i=r[s];(i.f&b)!==0?Ke(i,e,!1):e===i&&(n?x(i,R):(i.f&m)!==0&&x(i,Y),at(i))}}function ze(t){var e=E,n=C,r=O,s=_,i=K,f=P,l=j,u=it,o=t.f;E=null,C=0,O=null,_=(o&(tt|W))===0?t:null,K=null,ut(t.ctx),j=!1,it=++wt,t.ac!==null&&(Fe(()=>{t.ac.abort(lt)}),t.ac=null);try{t.f|=Vt;var h=t.fn,d=h(),a=t.deps;if(E!==null){var c;if(jt(t,C),a!==null&&C>0)for(a.length=C+E.length,c=0;c<E.length;c++)a[C+c]=E[c];else t.deps=a=E;if(st&&Lt()&&(t.f&N)!==0)for(c=C;c<a.length;c++)(a[c].reactions??=[]).push(t)}else a!==null&&C<a.length&&(jt(t,C),a.length=C);if(ge()&&O!==null&&!j&&a!==null&&(t.f&(b|Y|R))===0)for(c=0;c<O.length;c++)Ke(O[c],t);return s!==null&&s!==t&&(wt++,O!==null&&(r===null?r=O:r.push(...O))),(t.f&X)!==0&&(t.f^=X),d}catch(p){return we(p)}finally{t.f^=Vt,E=e,C=n,O=r,_=s,K=i,ut(f),j=l,it=u}}function sr(t,e){let n=e.reactions;if(n!==null){var r=on.call(n,t);if(r!==-1){var s=n.length-1;s===0?n=e.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(e.f&b)!==0&&(E===null||!E.includes(e))&&(x(e,Y),(e.f&N)!==0&&(e.f^=N,e.f&=~_t),ke(e),jt(e,0))}function jt(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)sr(t,n[r])}function mt(t){var e=t.f;if((e&J)===0){x(t,m);var n=v,r=st;v=t,st=!0;try{(e&B)!==0?Zn(t):Me(t),Le(t);var s=ze(t);t.teardown=typeof s=="function"?s:null,t.wv=Ve;var i;le&&An&&(t.f&R)!==0&&t.deps}finally{st=r,v=n}}}function S(t){var e=t.f,n=(e&b)!==0;if(_!==null&&!j){var r=v!==null&&(v.f&J)!==0;if(!r&&!K?.includes(t)){var s=_.deps;if((_.f&Vt)!==0)t.rv<wt&&(t.rv=wt,E===null&&s!==null&&s[C]===t?C++:E===null?E=[t]:E.includes(t)||E.push(t));else{(_.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[_]:i.includes(_)||i.push(_)}}}if(ct){if(Z.has(t))return Z.get(t);if(n){var f=t,l=f.v;return((f.f&m)===0&&f.reactions!==null||Ge(f))&&(l=Jt(f)),Z.set(f,l),l}}else if(n){if(f=t,A?.has(f))return A.get(f);bt(f)&&Se(f),st&&Lt()&&(f.f&N)===0&&We(f)}else if(A?.has(t))return A.get(t);if((t.f&X)!==0)throw t.v;return t.v}function We(t){if(t.deps!==null){t.f^=N;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&b)!==0&&(e.f&N)===0&&We(e)}}function Ge(t){if(t.v===w)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Z.has(e)||(e.f&b)!==0&&Ge(e))return!0;return!1}function ir(t){var e=j;try{return j=!0,t()}finally{j=e}}const fr=-7169;function x(t,e){t.f=t.f&fr|e}const Je=new Set,Qt=new Set;function lr(t){for(var e=0;e<t.length;e++)Je.add(t[e]);for(var n of Qt)n(t)}let Xe=null;function qt(t){var e=this,n=e.ownerDocument,r=t.type,s=t.composedPath?.()||[],i=s[0]||t.target;Xe=t;var f=0,l=Xe===t&&t.__root;if(l){var u=s.indexOf(l);if(u!==-1&&(e===document||e===window)){t.__root=e;return}var o=s.indexOf(e);if(o===-1)return;u<=o&&(f=u)}if(i=s[f]||t.target,i!==e){xt(t,"currentTarget",{configurable:!0,get(){return i||n}});var h=_,d=v;k(null),q(null);try{for(var a,c=[];i!==null;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var T=i["__"+r];T!=null&&(!i.disabled||t.target===i)&&T.call(i,t)}catch(z){a?c.push(z):a=z}if(t.cancelBubble||p===e||p===null)break;i=p}if(a){for(let z of c)queueMicrotask(()=>{throw z});throw a}}finally{t.__root=e,delete t.currentTarget,k(h),q(d)}}}function ur(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function te(t,e){var n=v;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function or(t,e){var n=(e&ln)!==0,r,s=!t.startsWith("<!>");return()=>{if(g)return te($,null),$;r===void 0&&(r=ur(s?t:"<!>"+t),r=Ft(r));var i=n||Oe?document.importNode(r,!0):r.cloneNode(!0);return te(i,i),i}}function Ze(t,e){if(g){v.nodes_end=$,_e();return}t!==null&&t.before(e)}const ar=["touchstart","touchmove"];function cr(t){return ar.includes(t)}function Qe(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function tn(t,e){return en(t,e)}function hr(t,e){Zt(),e.intro=e.intro??!1;const n=e.target,r=g,s=$;try{for(var i=Ft(n);i&&(i.nodeType!==Rt||i.data!==se);)i=Q(i);if(!i)throw dt;At(!0),V(i);const f=en(t,{...e,anchor:i});return At(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==dt&&console.warn("Failed to hydrate: ",f),e.recover===!1&&yn(),Zt(),Yn(n),At(!1),tn(t,e)}finally{At(r),V(s)}}const ht=new Map;function en(t,{target:e,anchor:n,props:r={},events:s,context:i,intro:f=!0}){Zt();var l=new Set,u=d=>{for(var a=0;a<d.length;a++){var c=d[a];if(!l.has(c)){l.add(c);var p=cr(c);e.addEventListener(c,qt,{passive:p});var T=ht.get(c);T===void 0?(document.addEventListener(c,qt,{passive:p}),ht.set(c,1)):ht.set(c,T+1)}}};u(an(Je)),Qt.add(u);var o=void 0,h=zn(()=>{var d=n??e.appendChild(yt());return Dn(d,{pending:()=>{}},a=>{if(i){pe({});var c=P;c.c=i}if(s&&(r.$$events=s),g&&te(a,null),o=t(a,r)||{},g&&(v.nodes_end=$,$===null||$.nodeType!==Rt||$.data!==fe))throw Kt(),dt;i&&$e()}),()=>{for(var a of l){e.removeEventListener(a,qt);var c=ht.get(a);--c===0?(document.removeEventListener(a,qt),ht.delete(a)):ht.set(a,c)}Qt.delete(u),d!==n&&d.parentNode?.removeChild(d)}});return ee.set(o,h),o}let ee=new WeakMap;function dr(t,e){const n=ee.get(t);return n?(ee.delete(t),n(e)):Promise.resolve()}function _r(t,e){Wn(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const s=document.createElement("style");s.id=e.hash,s.textContent=e.code,r.appendChild(s)}})}function vr(t,e){return t==null?null:String(t)}function pr(t,e,n,r){var s=t.__style;if(g||s!==e){var i=vr(e);(!g||i!==t.getAttribute("style"))&&(i==null?t.removeAttribute("style"):t.style.cssText=i),t.__style=e}return r}function nn(t,e,n,r){var s=r,i=!0,f=()=>(i&&(i=!1,s=r),s),l;l=t[e],l===void 0&&r!==void 0&&(l=f());var u;u=()=>{var a=t[e];return a===void 0?f():(i=!0,a)};var o=!1,h=Te(()=>(o=!1,u())),d=v;return(function(a,c){if(arguments.length>0){const p=c?S(h):a;return F(h,p),o=!0,s!==void 0&&(s=p),a}return ct&&o||(d.f&J)!==0?h.v:S(h)})}function $r(t){return new gr(t)}class gr{#e;#t;constructor(e){var n=new Map,r=(i,f)=>{var l=qn(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...e.props||{},$$events:{}},{get(i,f){return S(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===pn?!0:(S(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return F(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#t=(e.hydrate?hr:tn)(e.component,{target:e.target,anchor:e.anchor,props:s,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Gt(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||xt(this,i,{get(){return this.#t[i]},set(f){this.#t[i]=f},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{dr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...s)=>n.call(this,...s);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let rn;typeof HTMLElement=="function"&&(rn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),Ze(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=yr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=Bt(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=$r({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Kn(()=>{Ie(()=>{this.$$r=!0;for(const r of Et(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=Bt(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Bt(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Et(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Bt(t,e,n,r){const s=n[t]?.type;if(e=s==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(s){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function yr(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function wr(t,e,n,r,s,i){let f=class extends rn{constructor(){super(t,n,s),this.$$p_d=e}static get observedAttributes(){return Et(e).map(l=>(e[l].attribute||l).toLowerCase())}};return Et(e).forEach(l=>{xt(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){u=Bt(l,u,e),this.$$d[l]=u;var o=this.$$c;if(o){var h=ft(o,l)?.get;h?o[l]=u:o.$set({[l]:u})}}})}),r.forEach(l=>{xt(f.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=f,f}var br=or('<div id="content" part="content" class="svelte-d9fq57"><div id="copycode" class="svelte-d9fq57"><div id="flash">copied to the clipboard</div> <button id="copybutton" class="svelte-d9fq57"> </button></div> <code part="content" style="overflow-wrap: break-word;"> </code></div>');const mr={hash:"svelte-d9fq57",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;--hb-area-code-background: rgb(232 232 232 / 57%);}#content.svelte-d9fq57 {background-color:var(--hb-area-code-background);padding:28px 12px 28px 12px;position:relative;}#copycode.svelte-d9fq57 {position:absolute;right:6px;top:6px;font-size:0.6em;}#copybutton.svelte-d9fq57 {cursor:pointer;}'};function sn(t,e){pe(e,!0),_r(t,mr);let n=nn(e,"id",7,""),r=nn(e,"content",7,"");function s(T,z){e.$$host.dispatchEvent(new CustomEvent(T,{detail:z}))}let i=U(!1);function f(){S(i)||(navigator.clipboard.writeText(r()),F(i,!0),s("clipboardCopyText",{text:r()}),setInterval(()=>{F(i,!1)},5e3))}var l={get id(){return n()},set id(T=""){n(T),Gt()},get content(){return r()},set content(T=""){r(T),Gt()}},u=br(),o=It(u),h=It(o),d=De(h,2);d.__click=f;var a=It(d,!0);Ct(d),Ct(o);var c=De(o,2),p=It(c,!0);return Ct(c),Ct(u),Jn(()=>{pr(h,`display:${S(i)?"inline-block":"none"}`),Qe(a,S(i)?"ok!":"copy"),Qe(p,r())}),Ze(t,u),$e(l)}lr(["click"]),customElements.define("hb-area-code",wr(sn,{id:{},content:{}},[],[],!0)),re.Component=sn,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})})(this["area-code"]=this["area-code"]||{});
1
+ (function(ft){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ln=2,lt="[",ut="[!",ot="]",_e={},m=Symbol(),Ye=!1;var un=Array.isArray,on=Array.prototype.indexOf,an=Array.from,Ee=Object.keys,xe=Object.defineProperty,le=Object.getOwnPropertyDescriptor,cn=Object.prototype,hn=Array.prototype,dn=Object.getPrototypeOf,at=Object.isExtensible;function _n(e){for(var t=0;t<e.length;t++)e[t]()}function ct(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,Ve=4,He=8,B=16,te=32,G=64,Te=128,P=512,b=1024,R=2048,Y=4096,J=8192,V=16384,Ue=32768,ke=65536,ht=1<<17,dt=1<<18,ne=1<<19,vn=1<<20,re=32768,Ke=1<<21,ze=1<<22,X=1<<23,We=Symbol("$state"),pn=Symbol("legacy props"),ue=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},_t=3,Se=8;function $n(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function yn(){throw new Error("https://svelte.dev/e/hydration_failed")}function wn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function En(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ge(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function xn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function Re(e){w=e}let $;function H(e){if(e===null)throw Ge(),_e;return $=e}function vt(){return H(Q($))}function Ae(e){if(w){if(Q($)!==null)throw Ge(),_e;$=e}}function Tn(e=1){if(w){for(var t=e,n=$;t--;)n=Q(n);$=n}}function kn(e=!0){for(var t=0,n=$;;){if(n.nodeType===Se){var r=n.data;if(r===ot){if(t===0)return n;t-=1}else(r===lt||r===ut)&&(t+=1)}var i=Q(n);e&&n.remove(),n=i}}function pt(e){return e===this.v}function Sn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Rn(e){return!Sn(e,this.v)}let An=!1,D=null;function oe(e){D=e}function $t(e,t=!1,n){D={p:D,i:!1,c:null,e:null,s:e,x:null,l:null}}function gt(e){var t=D,n=t.e;if(n!==null){t.e=null;for(var r of n)Un(r)}return e!==void 0&&(t.x=e),t.i=!0,D=t.p,e??{}}function yt(){return!0}let se=[];function wt(){var e=se;se=[],_n(e)}function Je(e){if(se.length===0&&!ve){var t=se;queueMicrotask(()=>{t===se&&wt()})}se.push(e)}function Cn(){for(;se.length>0;)wt()}function mt(e){var t=v;if(t===null)return _.f|=X,e;if((t.f&Ue)===0){if((t.f&Te)===0)throw e;t.b.error(e)}else ae(e,t)}function ae(e,t){for(;t!==null;){if((t.f&Te)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ce=new Set;let g=null,C=null,O=[],Oe=null,Xe=!1,ve=!1;class F{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#u=0;#i=0;#o=null;#f=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#i>0}process(t){O=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#n(r,n);this.is_fork||this.#a(),this.is_deferred()?(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects)):(g=null,Et(n.render_effects),Et(n.effects),this.#o?.resolve()),C=null}#n(t,n){t.f^=b;for(var r=t.first;r!==null;){var i=r.f,s=(i&(te|G))!==0,l=s&&(i&b)!==0,u=l||(i&J)!==0||this.skipped_effects.has(r);if((r.f&Te)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!u&&r.fn!==null){s?r.f^=b:(i&Ve)!==0?n.effects.push(r):me(r)&&((r.f&B)!==0&&n.block_effects.push(r),be(r));var f=r.first;if(f!==null){r=f;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#r(t){for(const n of t)((n.f&R)!==0?this.#f:this.#s).push(n),this.#l(n.deps),x(n,b)}#l(t){if(t!==null)for(const n of t)(n.f&y)===0||(n.f&re)===0||(n.f^=re,this.#l(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&X)===0&&(this.current.set(t,t.v),C?.set(t,t.v))}activate(){g=this,this.apply()}deactivate(){g===this&&(g=null,C=null)}flush(){if(this.activate(),O.length>0){if(bt(),g!==null&&g!==this)return}else this.#u===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#a(){if(this.#i===0){for(const t of this.#t)t();this.#t.clear()}this.#u===0&&this.#c()}#c(){if(Ce.size>1){this.previous.clear();var t=C,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ce){if(s===this){n=!1;continue}const l=[];for(const[f,o]of this.current){if(s.current.has(f))if(n&&o!==s.current.get(f))s.current.set(f,o);else continue;l.push(f)}if(l.length===0)continue;const u=[...s.current.keys()].filter(f=>!this.current.has(f));if(u.length>0){var i=O;O=[];const f=new Set,o=new Map;for(const c of l)xt(c,u,f,o);if(O.length>0){g=s,s.apply();for(const c of O)s.#n(c,r);s.deactivate()}O=i}}g=null,C=t}this.committed=!0,Ce.delete(this)}increment(t){this.#u+=1,t&&(this.#i+=1)}decrement(t){this.#u-=1,t&&(this.#i-=1),this.revive()}revive(){for(const t of this.#f)x(t,R),ce(t);for(const t of this.#s)x(t,Y),ce(t);this.#f=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=ct()).promise}static ensure(){if(g===null){const t=g=new F;Ce.add(g),ve||F.enqueue(()=>{g===t&&t.flush()})}return g}static enqueue(t){Je(t)}apply(){}}function Ze(e){var t=ve;ve=!0;try{for(var n;;){if(Cn(),O.length===0&&(g?.flush(),O.length===0))return Oe=null,n;bt()}}finally{ve=t}}function bt(){var e=ee;Xe=!0;var t=null;try{var n=0;for(Me(!0);O.length>0;){var r=F.ensure();if(n++>1e3){var i,s;On()}r.process(O),Z.clear()}}finally{Xe=!1,Me(e),Oe=null}}function On(){try{gn()}catch(e){ae(e,Oe)}}let U=null;function Et(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(V|J))===0&&me(r)&&(U=new Set,be(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?qt(r):r.fn=null),U?.size>0)){Z.clear();for(const i of U){if((i.f&(V|J))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)U.has(l)&&(U.delete(l),s.push(l)),l=l.parent;for(let u=s.length-1;u>=0;u--){const f=s[u];(f.f&(V|J))===0&&be(f)}}U.clear()}}U=null}}function xt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?xt(i,t,n,r):(s&(ze|B))!==0&&(s&R)===0&&Tt(i,t,r)&&(x(i,R),ce(i))}}function Tt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&y)!==0&&Tt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ce(e){for(var t=Oe=e;t.parent!==null;){t=t.parent;var n=t.f;if(Xe&&t===v&&(n&B)!==0&&(n&dt)===0)return;if((n&(G|te))!==0){if((n&b)===0)return;t.f^=b}}O.push(t)}function Nn(e){let t=0,n=pe(0),r;return()=>{Ie()&&(S(n),Lt(()=>(t===0&&(r=ir(()=>e(()=>$e(n)))),t+=1,()=>{Je(()=>{t-=1,t===0&&(r?.(),r=void 0,$e(n))})})))}}var Pn=ke|ne|Te;function Dn(e,t,n){new Fn(e,t,n)}class Fn{parent;#t=!1;#e;#u=w?$:null;#i;#o;#f;#s=null;#n=null;#r=null;#l=null;#a=null;#c=0;#h=0;#_=!1;#d=null;#y=Nn(()=>(this.#d=pe(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#i=n,this.#o=r,this.parent=v.b,this.#t=!!this.#i.pending,this.#f=Xn(()=>{if(v.b=this,w){const s=this.#u;vt(),s.nodeType===Se&&s.data===ut?this.#m():this.#w()}else{var i=this.#$();try{this.#s=ie(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#a?.remove()}},Pn),w&&(this.#e=$)}#w(){try{this.#s=ie(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#m(){const t=this.#i.pending;t&&(this.#n=ie(()=>t(this.#e)),F.enqueue(()=>{var n=this.#$();this.#s=this.#v(()=>(F.ensure(),ie(()=>this.#o(n)))),this.#h>0?this.#p():(Le(this.#n,()=>{this.#n=null}),this.#t=!1)}))}#$(){var t=this.#e;return this.#t&&(this.#a=ye(),this.#e.before(this.#a),t=this.#a),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#v(t){var n=v,r=_,i=D;q(this.#f),k(this.#f),oe(this.#f.ctx);try{return t()}catch(s){return mt(s),null}finally{q(n),k(r),oe(i)}}#p(){const t=this.#i.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#a),tr(this.#s,this.#l)),this.#n===null&&(this.#n=ie(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#n&&Le(this.#n,()=>{this.#n=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#d&&Pe(this.#d,this.#c)}get_effect_pending(){return this.#y(),S(this.#d)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(this.#_||!n&&!r)throw t;this.#s&&(L(this.#s),this.#s=null),this.#n&&(L(this.#n),this.#n=null),this.#r&&(L(this.#r),this.#r=null),w&&(H(this.#u),Tn(),H(kn()));var i=!1,s=!1;const l=()=>{if(i){xn();return}i=!0,s&&En(),F.ensure(),this.#c=0,this.#r!==null&&Le(this.#r,()=>{this.#r=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,ie(()=>this.#o(this.#e)))),this.#h>0?this.#p():this.#t=!1};var u=_;try{k(null),s=!0,n?.(t,l),s=!1}catch(f){ae(f,this.#f&&this.#f.parent)}finally{k(u)}r&&Je(()=>{this.#r=this.#v(()=>{F.ensure(),this.#_=!0;try{return ie(()=>{r(this.#e,()=>t,()=>l)})}catch(f){return ae(f,this.#f.parent),null}finally{this.#_=!1}})})}}function In(e,t,n,r){const i=kt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=g,l=v,u=Ln();function f(){Promise.all(n.map(o=>Mn(o))).then(o=>{u();try{r([...t.map(i),...o])}catch(c){(l.f&V)===0&&ae(c,l)}s?.deactivate(),Ne()}).catch(o=>{ae(o,l)})}e.length>0?Promise.all(e).then(()=>{u();try{return f()}finally{s?.deactivate(),Ne()}}):f()}function Ln(){var e=v,t=_,n=D,r=g;return function(s=!0){q(e),k(t),oe(n),s&&r?.activate()}}function Ne(){q(null),k(null),oe(null)}function kt(e){var t=y|R,n=_!==null&&(_.f&y)!==0?_:null;return v!==null&&(v.f|=ne),{ctx:D,deps:null,effects:null,equals:pt,f:t,fn:e,reactions:null,rv:0,v:m,wv:0,parent:n??v,ac:null}}function Mn(e,t){let n=v;n===null&&$n();var r=n.b,i=void 0,s=pe(m),l=!_,u=new Map;return Gn(()=>{var f=ct();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{o===g&&o.committed&&o.deactivate(),Ne()})}catch(a){f.reject(a),Ne()}var o=g;if(l){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),u.get(o)?.reject(ue),u.delete(o),u.set(o,f)}const d=(a,h=void 0)=>{if(o.activate(),h)h!==ue&&(s.f|=X,Pe(s,h));else{(s.f&X)!==0&&(s.f^=X),Pe(s,a);for(const[p,T]of u){if(u.delete(p),p===o)break;T.reject(ue)}}l&&(r.update_pending_count(-1),o.decrement(c))};f.promise.then(d,a=>d(null,a||"unknown"))}),Hn(()=>{for(const f of u.values())f.reject(ue)}),new Promise(f=>{function o(c){function d(){c===i?f(s):o(i)}c.then(d,d)}o(i)})}function St(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function jn(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&V)===0?t:null;t=t.parent}return null}function Qe(e){var t,n=v;q(jn(e));try{e.f&=~re,St(e),t=zt(e)}finally{q(n)}return t}function Rt(e){var t=Qe(e);if(e.equals(t)||(g?.is_fork||(e.v=t),e.wv=Ut()),!he)if(C!==null)Ie()&&C.set(e,t);else{var n=(e.f&P)===0?Y:b;x(e,n)}}let et=new Set;const Z=new Map;let At=!1;function pe(e,t){var n={f:0,v:e,reactions:null,equals:pt,rv:0,wv:0};return n}function K(e,t){const n=pe(e);return nr(n),n}function qn(e,t=!1,n=!0){const r=pe(e);return t||(r.equals=Rn),r}function I(e,t,n=!1){_!==null&&(!j||(_.f&ht)!==0)&&yt()&&(_.f&(y|B|ze|ht))!==0&&!z?.includes(e)&&bn();let r=n?ge(t):t;return Pe(e,r)}function Pe(e,t){if(!e.equals(t)){var n=e.v;he?Z.set(e,t):Z.set(e,n),e.v=t;var r=F.ensure();r.capture(e,n),(e.f&y)!==0&&((e.f&R)!==0&&Qe(e),x(e,(e.f&P)!==0?b:Y)),e.wv=Ut(),Ct(e,R),v!==null&&(v.f&b)!==0&&(v.f&(te|G))===0&&(N===null?rr([e]):N.push(e)),!r.is_fork&&et.size>0&&!At&&Bn()}return t}function Bn(){At=!1;var e=ee;Me(!0);const t=Array.from(et);try{for(const n of t)(n.f&b)!==0&&x(n,Y),me(n)&&be(n)}finally{Me(e)}et.clear()}function $e(e){I(e,e.v+1)}function Ct(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,u=(l&R)===0;if(u&&x(s,t),(l&y)!==0){var f=s;C?.delete(f),(l&re)===0&&(l&P&&(s.f|=re),Ct(f,Y))}else u&&((l&B)!==0&&U!==null&&U.add(s),ce(s))}}function ge(e){if(typeof e!="object"||e===null||We in e)return e;const t=dn(e);if(t!==cn&&t!==hn)return e;var n=new Map,r=un(e),i=K(0),s=fe,l=u=>{if(fe===s)return u();var f=_,o=fe;k(null),Ht(s);var c=u();return k(f),Ht(o),c};return r&&n.set("length",K(e.length)),new Proxy(e,{defineProperty(u,f,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&wn();var c=n.get(f);return c===void 0?c=l(()=>{var d=K(o.value);return n.set(f,d),d}):I(c,o.value,!0),!0},deleteProperty(u,f){var o=n.get(f);if(o===void 0){if(f in u){const c=l(()=>K(m));n.set(f,c),$e(i)}}else I(o,m),$e(i);return!0},get(u,f,o){if(f===We)return e;var c=n.get(f),d=f in u;if(c===void 0&&(!d||le(u,f)?.writable)&&(c=l(()=>{var h=ge(d?u[f]:m),p=K(h);return p}),n.set(f,c)),c!==void 0){var a=S(c);return a===m?void 0:a}return Reflect.get(u,f,o)},getOwnPropertyDescriptor(u,f){var o=Reflect.getOwnPropertyDescriptor(u,f);if(o&&"value"in o){var c=n.get(f);c&&(o.value=S(c))}else if(o===void 0){var d=n.get(f),a=d?.v;if(d!==void 0&&a!==m)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return o},has(u,f){if(f===We)return!0;var o=n.get(f),c=o!==void 0&&o.v!==m||Reflect.has(u,f);if(o!==void 0||v!==null&&(!c||le(u,f)?.writable)){o===void 0&&(o=l(()=>{var a=c?ge(u[f]):m,h=K(a);return h}),n.set(f,o));var d=S(o);if(d===m)return!1}return c},set(u,f,o,c){var d=n.get(f),a=f in u;if(r&&f==="length")for(var h=o;h<d.v;h+=1){var p=n.get(h+"");p!==void 0?I(p,m):h in u&&(p=l(()=>K(m)),n.set(h+"",p))}if(d===void 0)(!a||le(u,f)?.writable)&&(d=l(()=>K(void 0)),I(d,ge(o)),n.set(f,d));else{a=d.v!==m;var T=l(()=>ge(o));I(d,T)}var W=Reflect.getOwnPropertyDescriptor(u,f);if(W?.set&&W.set.call(c,o),!a){if(r&&typeof f=="string"){var fn=n.get("length"),it=Number(f);Number.isInteger(it)&&it>=fn.v&&I(fn,it+1)}$e(i)}return!0},ownKeys(u){S(i);var f=Reflect.ownKeys(u).filter(d=>{var a=n.get(d);return a===void 0||a.v!==m});for(var[o,c]of n)c.v!==m&&!(o in u)&&f.push(o);return f},setPrototypeOf(){mn()}})}var Ot,Nt,Pt,Dt;function tt(){if(Ot===void 0){Ot=window,Nt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Pt=le(t,"firstChild").get,Dt=le(t,"nextSibling").get,at(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),at(n)&&(n.__t=void 0)}}function ye(e=""){return document.createTextNode(e)}function De(e){return Pt.call(e)}function Q(e){return Dt.call(e)}function Fe(e,t){if(!w)return De(e);var n=De($);if(n===null)n=$.appendChild(ye());else if(t&&n.nodeType!==_t){var r=ye();return n?.before(r),H(r),r}return H(n),n}function Ft(e,t=1,n=!1){let r=w?$:e;for(var i;t--;)i=r,r=Q(r);if(!w)return r;if(n&&r?.nodeType!==_t){var s=ye();return r===null?i?.after(s):r.before(s),H(s),s}return H(r),r}function Yn(e){e.textContent=""}function It(e){var t=_,n=v;k(null),q(null);try{return e()}finally{k(t),q(n)}}function Vn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function M(e,t,n){var r=v;r!==null&&(r.f&J)!==0&&(e|=J);var i={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:e|R|P,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{be(i),i.f|=Ue}catch(u){throw L(i),u}else t!==null&&ce(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ne)===0&&(s=s.first,(e&B)!==0&&(e&ke)!==0&&s!==null&&(s.f|=ke)),s!==null&&(s.parent=r,r!==null&&Vn(s,r),_!==null&&(_.f&y)!==0&&(e&G)===0)){var l=_;(l.effects??=[]).push(s)}return i}function Ie(){return _!==null&&!j}function Hn(e){const t=M(He,null,!1);return x(t,b),t.teardown=e,t}function Un(e){return M(Ve|vn,e,!1)}function Kn(e){F.ensure();const t=M(G|ne,e,!0);return()=>{L(t)}}function zn(e){F.ensure();const t=M(G|ne,e,!0);return(n={})=>new Promise(r=>{n.outro?Le(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function Wn(e){return M(Ve,e,!1)}function Gn(e){return M(ze|ne,e,!0)}function Lt(e,t=0){return M(He|t,e,!0)}function Jn(e,t=[],n=[],r=[]){In(r,t,n,i=>{M(He,()=>e(...i.map(S)),!0)})}function Xn(e,t=0){var n=M(B|t,e,!0);return n}function ie(e){return M(te|ne,e,!0)}function Mt(e){var t=e.teardown;if(t!==null){const n=he,r=_;Yt(!0),k(null);try{t.call(null)}finally{Yt(n),k(r)}}}function jt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&It(()=>{i.abort(ue)});var r=n.next;(n.f&G)!==0?n.parent=null:L(n,t),n=r}}function Zn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&dt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Qn(e.nodes_start,e.nodes_end),n=!0),jt(e,t&&!n),je(e,0),x(e,V);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Mt(e);var i=e.parent;i!==null&&i.first!==null&&qt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Qn(e,t){for(;e!==null;){var n=e===t?null:Q(e);e.remove(),e=n}}function qt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Le(e,t,n=!0){var r=[];Bt(e,r,!0),er(r,()=>{n&&L(e),t&&t()})}function er(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Bt(e,t,n){if((e.f&J)===0){if(e.f^=J,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ke)!==0||(r.f&te)!==0&&(e.f&B)!==0;Bt(r,t,s?n:!1),r=i}}}function tr(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Q(n);t.append(n),n=i}}let ee=!1;function Me(e){ee=e}let he=!1;function Yt(e){he=e}let _=null,j=!1;function k(e){_=e}let v=null;function q(e){v=e}let z=null;function nr(e){_!==null&&(z===null?z=[e]:z.push(e))}let E=null,A=0,N=null;function rr(e){N=e}let Vt=1,we=0,fe=we;function Ht(e){fe=e}function Ut(){return++Vt}function me(e){var t=e.f;if((t&R)!==0)return!0;if(t&y&&(e.f&=~re),(t&Y)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(me(s)&&Rt(s),s.wv>e.wv)return!0}(t&P)!==0&&C===null&&x(e,b)}return!1}function Kt(e,t,n=!0){var r=e.reactions;if(r!==null&&!z?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?Kt(s,t,!1):t===s&&(n?x(s,R):(s.f&b)!==0&&x(s,Y),ce(s))}}function zt(e){var t=E,n=A,r=N,i=_,s=z,l=D,u=j,f=fe,o=e.f;E=null,A=0,N=null,_=(o&(te|G))===0?e:null,z=null,oe(e.ctx),j=!1,fe=++we,e.ac!==null&&(It(()=>{e.ac.abort(ue)}),e.ac=null);try{e.f|=Ke;var c=e.fn,d=c(),a=e.deps;if(E!==null){var h;if(je(e,A),a!==null&&A>0)for(a.length=A+E.length,h=0;h<E.length;h++)a[A+h]=E[h];else e.deps=a=E;if(ee&&Ie()&&(e.f&P)!==0)for(h=A;h<a.length;h++)(a[h].reactions??=[]).push(e)}else a!==null&&A<a.length&&(je(e,A),a.length=A);if(yt()&&N!==null&&!j&&a!==null&&(e.f&(y|Y|R))===0)for(h=0;h<N.length;h++)Kt(N[h],e);return i!==null&&i!==e&&(we++,N!==null&&(r===null?r=N:r.push(...N))),(e.f&X)!==0&&(e.f^=X),d}catch(p){return mt(p)}finally{e.f^=Ke,E=t,A=n,N=r,_=i,z=s,oe(l),j=u,fe=f}}function sr(e,t){let n=t.reactions;if(n!==null){var r=on.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&y)!==0&&(E===null||!E.includes(t))&&(x(t,Y),(t.f&P)!==0&&(t.f^=P,t.f&=~re),St(t),je(t,0))}function je(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)sr(e,n[r])}function be(e){var t=e.f;if((t&V)===0){x(e,b);var n=v,r=ee;v=e,ee=!0;try{(t&B)!==0?Zn(e):jt(e),Mt(e);var i=zt(e);e.teardown=typeof i=="function"?i:null,e.wv=Vt;var s;Ye&&An&&(e.f&R)!==0&&e.deps}finally{ee=r,v=n}}}function S(e){var t=e.f,n=(t&y)!==0;if(_!==null&&!j){var r=v!==null&&(v.f&V)!==0;if(!r&&!z?.includes(e)){var i=_.deps;if((_.f&Ke)!==0)e.rv<we&&(e.rv=we,E===null&&i!==null&&i[A]===e?A++:E===null?E=[e]:E.includes(e)||E.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(he){if(Z.has(e))return Z.get(e);if(n){var l=e,u=l.v;return((l.f&b)===0&&l.reactions!==null||Gt(l))&&(u=Qe(l)),Z.set(l,u),u}}else n&&!C?.has(e)&&(l=e,me(l)&&Rt(l),ee&&Ie()&&(l.f&P)===0&&Wt(l));if(C?.has(e))return C.get(e);if((e.f&X)!==0)throw e.v;return e.v}function Wt(e){if(e.deps!==null){e.f^=P;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&P)===0&&Wt(t)}}function Gt(e){if(e.v===m)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Z.has(t)||(t.f&y)!==0&&Gt(t))return!0;return!1}function ir(e){var t=j;try{return j=!0,e()}finally{j=t}}const fr=-7169;function x(e,t){e.f=e.f&fr|t}const Jt=new Set,nt=new Set;function lr(e){for(var t=0;t<e.length;t++)Jt.add(e[t]);for(var n of nt)n(e)}let Xt=null;function qe(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Xt=e;var l=0,u=Xt===e&&e.__root;if(u){var f=i.indexOf(u);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==t){xe(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=_,d=v;k(null),q(null);try{for(var a,h=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var T=s["__"+r];T!=null&&(!s.disabled||e.target===s)&&T.call(s,e)}catch(W){a?h.push(W):a=W}if(e.cancelBubble||p===t||p===null)break;s=p}if(a){for(let W of h)queueMicrotask(()=>{throw W});throw a}}finally{e.__root=t,delete e.currentTarget,k(c),q(d)}}}function ur(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function rt(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function or(e,t){var n=(t&ln)!==0,r,i=!e.startsWith("<!>");return()=>{if(w)return rt($,null),$;r===void 0&&(r=ur(i?e:"<!>"+e),r=De(r));var s=n||Nt?document.importNode(r,!0):r.cloneNode(!0);return rt(s,s),s}}function Zt(e,t){if(w){var n=v;((n.f&Ue)===0||n.nodes_end===null)&&(n.nodes_end=$),vt();return}e!==null&&e.before(t)}const ar=["touchstart","touchmove"];function cr(e){return ar.includes(e)}function Qt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function en(e,t){return tn(e,t)}function hr(e,t){tt(),t.intro=t.intro??!1;const n=t.target,r=w,i=$;try{for(var s=De(n);s&&(s.nodeType!==Se||s.data!==lt);)s=Q(s);if(!s)throw _e;Re(!0),H(s);const l=tn(e,{...t,anchor:s});return Re(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(u=>u.startsWith("https://svelte.dev/e/")))throw l;return l!==_e&&console.warn("Failed to hydrate: ",l),t.recover===!1&&yn(),tt(),Yn(n),Re(!1),en(e,t)}finally{Re(r),H(i)}}const de=new Map;function tn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){tt();var u=new Set,f=d=>{for(var a=0;a<d.length;a++){var h=d[a];if(!u.has(h)){u.add(h);var p=cr(h);t.addEventListener(h,qe,{passive:p});var T=de.get(h);T===void 0?(document.addEventListener(h,qe,{passive:p}),de.set(h,1)):de.set(h,T+1)}}};f(an(Jt)),nt.add(f);var o=void 0,c=zn(()=>{var d=n??t.appendChild(ye());return Dn(d,{pending:()=>{}},a=>{if(s){$t({});var h=D;h.c=s}if(i&&(r.$$events=i),w&&rt(a,null),o=e(a,r)||{},w&&(v.nodes_end=$,$===null||$.nodeType!==Se||$.data!==ot))throw Ge(),_e;s&&gt()}),()=>{for(var a of u){t.removeEventListener(a,qe);var h=de.get(a);--h===0?(document.removeEventListener(a,qe),de.delete(a)):de.set(a,h)}nt.delete(f),d!==n&&d.parentNode?.removeChild(d)}});return st.set(o,c),o}let st=new WeakMap;function dr(e,t){const n=st.get(e);return n?(st.delete(e),n(t)):Promise.resolve()}function _r(e,t){Wn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function vr(e,t){return e==null?null:String(e)}function pr(e,t,n,r){var i=e.__style;if(w||i!==t){var s=vr(t);(!w||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}function nn(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),u;u=e[t],u===void 0&&r!==void 0&&(u=l());var f;f=()=>{var a=e[t];return a===void 0?l():(s=!0,a)};var o=!1,c=kt(()=>(o=!1,f())),d=v;return(function(a,h){if(arguments.length>0){const p=h?S(c):a;return I(c,p),o=!0,i!==void 0&&(i=p),a}return he&&o||(d.f&V)!==0?c.v:S(c)})}function $r(e){return new gr(e)}class gr{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var u=qn(l,!1,!1);return n.set(s,u),u};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return S(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===pn?!0:(S(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,u){return I(n.get(l)??r(l,u),u),Reflect.set(s,l,u)}});this.#e=(t.hydrate?hr:en)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ze(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||xe(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{dr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let rn;typeof HTMLElement=="function"&&(rn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),Zt(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=yr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Be(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=$r({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Kn(()=>{Lt(()=>{this.$$r=!0;for(const r of Ee(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Be(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Be(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Ee(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Be(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function yr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function wr(e,t,n,r,i,s){let l=class extends rn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Ee(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Ee(t).forEach(u=>{xe(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){f=Be(u,f,t),this.$$d[u]=f;var o=this.$$c;if(o){var c=le(o,u)?.get;c?o[u]=f:o.$set({[u]:f})}}})}),r.forEach(u=>{xe(l.prototype,u,{get(){return this.$$c?.[u]}})}),e.element=l,l}var mr=or('<div id="content" part="content" class="svelte-d9fq57"><div id="copycode" class="svelte-d9fq57"><div id="flash">copied to the clipboard</div> <button id="copybutton" class="svelte-d9fq57"> </button></div> <code part="content" style="overflow-wrap: break-word;"> </code></div>');const br={hash:"svelte-d9fq57",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;--hb-area-code-background: rgb(232 232 232 / 57%);}#content.svelte-d9fq57 {background-color:var(--hb-area-code-background);padding:28px 12px 28px 12px;position:relative;}#copycode.svelte-d9fq57 {position:absolute;right:6px;top:6px;font-size:0.6em;}#copybutton.svelte-d9fq57 {cursor:pointer;}'};function sn(e,t){$t(t,!0),_r(e,br);let n=nn(t,"id",7,""),r=nn(t,"content",7,"");function i(T,W){t.$$host.dispatchEvent(new CustomEvent(T,{detail:W}))}let s=K(!1);function l(){S(s)||(navigator.clipboard.writeText(r()),I(s,!0),i("clipboardCopyText",{text:r()}),setInterval(()=>{I(s,!1)},5e3))}var u={get id(){return n()},set id(T=""){n(T),Ze()},get content(){return r()},set content(T=""){r(T),Ze()}},f=mr(),o=Fe(f),c=Fe(o),d=Ft(c,2);d.__click=l;var a=Fe(d,!0);Ae(d),Ae(o);var h=Ft(o,2),p=Fe(h,!0);return Ae(h),Ae(f),Jn(()=>{pr(c,`display:${S(s)?"inline-block":"none"}`),Qt(a,S(s)?"ok!":"copy"),Qt(p,r())}),Zt(e,f),gt(u)}lr(["click"]),customElements.define("hb-area-code",wr(sn,{id:{},content:{}},[],[],!0)),ft.Component=sn,Object.defineProperty(ft,Symbol.toStringTag,{value:"Module"})})(this["area-code"]=this["area-code"]||{});
3
3
  //# sourceMappingURL=main.iife.js.map