@htmlbricks/hb-area-code 0.66.5 → 0.66.7

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(ht){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const yn=2,dt="[",_t="[!",vt="[?",pt="]",we={},T=Symbol(),wn="http://www.w3.org/1999/xhtml",bn=!1;var mn=Array.isArray,En=Array.prototype.indexOf,he=Array.prototype.includes,Tn=Array.from,Ae=Object.keys,Ne=Object.defineProperty,de=Object.getOwnPropertyDescriptor,xn=Object.prototype,Sn=Array.prototype,kn=Object.getPrototypeOf,gt=Object.isExtensible;const Rn=()=>{};function An(e){for(var t=0;t<e.length;t++)e[t]()}function $t(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const b=2,_e=4,Oe=8,yt=1<<24,K=16,W=32,J=64,Be=128,N=512,m=1024,S=2048,V=4096,X=8192,D=16384,se=32768,wt=1<<25,Ce=65536,bt=1<<17,Nn=1<<18,ie=1<<19,On=1<<20,le=65536,ze=1<<21,Ue=1<<22,Z=1<<23,Ge=Symbol("$state"),Cn=Symbol("legacy props"),B=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ke=3,We=8;function Pn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Dn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Fn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function In(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Je(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function qn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function Pe(e){x=e}let y;function z(e){if(e===null)throw Je(),we;return y=e}function mt(){return z(re(y))}function De(e){if(x){if(re(y)!==null)throw Je(),we;y=e}}function Vn(e=1){if(x){for(var t=e,n=y;t--;)n=re(n);y=n}}function Yn(e=!0){for(var t=0,n=y;;){if(n.nodeType===We){var r=n.data;if(r===pt){if(t===0)return n;t-=1}else(r===dt||r===_t||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=re(n);e&&n.remove(),n=s}}function Et(e){return e===this.v}function Hn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bn(e){return!Hn(e,this.v)}let zn=!1,M=null;function ve(e){M=e}function Tt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function xt(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)cr(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function St(){return!0}let fe=[];function kt(){var e=fe;fe=[],An(e)}function pe(e){if(fe.length===0&&!be){var t=fe;queueMicrotask(()=>{t===fe&&kt()})}fe.push(e)}function Un(){for(;fe.length>0;)kt()}function Rt(e){var t=p;if(t===null)return v.f|=Z,e;if((t.f&se)===0&&(t.f&_e)===0)throw e;Q(e,t)}function Q(e,t){for(;t!==null;){if((t.f&Be)!==0){if((t.f&se)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Gn=-7169;function w(e,t){e.f=e.f&Gn|t}function Xe(e){(e.f&N)!==0||e.deps===null?w(e,m):w(e,V)}function At(e){if(e!==null)for(const t of e)(t.f&b)===0||(t.f&le)===0||(t.f^=le,At(t.deps))}function Nt(e,t,n){(e.f&S)!==0?t.add(e):(e.f&V)!==0&&n.add(e),At(e.deps),w(e,m)}const ee=new Set;let $=null,F=null,Ze=null,be=!1,Qe=!1,ge=null,Me=null;var Ot=0;let Kn=1;class te{id=Kn++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#i=new Map;#o=new Map;#l=null;#t=[];#r=new Set;#s=new Set;#f=new Map;is_fork=!1;#c=!1;#u=new Set;#h(){return this.is_fork||this.#o.size>0}#_(){for(const r of this.#u)for(const s of r.#o.keys()){for(var t=!1,n=s;n.parent!==null;){if(this.#f.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#f.has(t)||this.#f.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#f.get(t);if(n){this.#f.delete(t);for(var r of n.d)w(r,S),this.schedule(r);for(r of n.m)w(r,V),this.schedule(r)}}#d(){if(Ot++>1e3&&(ee.delete(this),Wn()),!this.#h()){for(const l of this.#r)this.#s.delete(l),w(l,S),this.schedule(l);for(const l of this.#s)w(l,V),this.schedule(l)}const t=this.#t;this.#t=[],this.apply();var n=ge=[],r=[],s=Me=[];for(const l of t)try{this.#a(l,n,r)}catch(u){throw Ft(l),u}if($=null,s.length>0){var i=te.ensure();for(const l of s)i.schedule(l)}if(ge=null,Me=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,u]of this.#f)Mt(l,u)}else{this.#i.size===0&&ee.delete(this),this.#r.clear(),this.#s.clear();for(const l of this.#e)l(this);this.#e.clear(),Ct(r),Ct(n),this.#l?.resolve()}var o=$;if(this.#t.length>0){const l=o??=this;l.#t.push(...this.#t.filter(u=>!l.#t.includes(u)))}o!==null&&(ee.add(o),o.#d()),ee.has(this)||this.#p()}#a(t,n,r){t.f^=m;for(var s=t.first;s!==null;){var i=s.f,o=(i&(W|J))!==0,l=o&&(i&m)!==0,u=l||(i&X)!==0||this.#f.has(s);if(!u&&s.fn!==null){o?s.f^=m:(i&_e)!==0?n.push(s):Se(s)&&((i&K)!==0&&this.#s.add(s),$e(s));var f=s.first;if(f!==null){s=f;continue}}for(;s!==null;){var a=s.next;if(a!==null){s=a;break}s=s.parent}}}#v(t){for(var n=0;n<t.length;n+=1)Nt(t[n],this.#r,this.#s)}capture(t,n,r=!1){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Z)===0&&(this.current.set(t,[t.v,r]),F?.set(t,t.v))}activate(){$=this}deactivate(){$=null,F=null}flush(){try{Qe=!0,$=this,this.#d()}finally{Ot=0,Ze=null,ge=null,Me=null,Qe=!1,$=null,F=null,ne.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ee.delete(this)}#p(){for(const f of ee){var t=f.id<this.id,n=[];for(const[a,[h,c]]of this.current){if(f.current.has(a)){var r=f.current.get(a)[0];if(t&&h!==r)f.current.set(a,[h,c]);else continue}n.push(a)}var s=[...f.current.keys()].filter(a=>!this.current.has(a));if(s.length===0)t&&f.discard();else if(n.length>0){f.activate();var i=new Set,o=new Map;for(var l of n)Pt(l,s,i,o);if(f.#t.length>0){f.apply();for(var u of f.#t)f.#a(u,[],[]);f.#t=[]}f.deactivate()}}for(const f of ee)f.#u.has(this)&&(f.#u.delete(this),f.#u.size===0&&!f.#h()&&(f.activate(),f.#d()))}increment(t,n){let r=this.#i.get(n)??0;if(this.#i.set(n,r+1),t){let s=this.#o.get(n)??0;this.#o.set(n,s+1)}}decrement(t,n,r){let s=this.#i.get(n)??0;if(s===1?this.#i.delete(n):this.#i.set(n,s-1),t){let i=this.#o.get(n)??0;i===1?this.#o.delete(n):this.#o.set(n,i-1)}this.#c||r||(this.#c=!0,pe(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#r.add(r);for(const r of n)this.#s.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#l??=$t()).promise}static ensure(){if($===null){const t=$=new te;Qe||(ee.add($),be||pe(()=>{$===t&&t.flush()}))}return $}apply(){{F=null;return}}schedule(t){if(Ze=t,t.b?.is_pending&&(t.f&(_e|Oe|yt))!==0&&(t.f&se)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(ge!==null&&n===p&&(v===null||(v.f&b)===0))return;if((r&(J|W))!==0){if((r&m)===0)return;n.f^=m}}this.#t.push(n)}}function et(e){var t=be;be=!0;try{for(var n;;){if(Un(),$===null)return n;$.flush()}}finally{be=t}}function Wn(){try{Dn()}catch(e){Q(e,Ze)}}let U=null;function Ct(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(D|X))===0&&Se(r)&&(U=new Set,$e(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Zt(r),U?.size>0)){ne.clear();for(const s of U){if((s.f&(D|X))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)U.has(o)&&(U.delete(o),i.push(o)),o=o.parent;for(let l=i.length-1;l>=0;l--){const u=i[l];(u.f&(D|X))===0&&$e(u)}}U.clear()}}U=null}}function Pt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&b)!==0?Pt(s,t,n,r):(i&(Ue|K))!==0&&(i&S)===0&&Dt(s,t,r)&&(w(s,S),tt(s))}}function Dt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(he.call(t,s))return!0;if((s.f&b)!==0&&Dt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function tt(e){$.schedule(e)}function Mt(e,t){if(!((e.f&W)!==0&&(e.f&m)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),w(e,m);for(var n=e.first;n!==null;)Mt(n,t),n=n.next}}function Ft(e){w(e,m);for(var t=e.first;t!==null;)Ft(t),t=t.next}function Jn(e){let t=0,n=me(0),r;return()=>{lt()&&(R(n),Jt(()=>(t===0&&(r=Tr(()=>e(()=>Ee(n)))),t+=1,()=>{pe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ee(n))})})))}}var Xn=Ce|ie;function Zn(e,t,n,r){new Qn(e,t,n,r)}class Qn{parent;is_pending=!1;transform_error;#e;#n=x?y:null;#i;#o;#l;#t=null;#r=null;#s=null;#f=null;#c=0;#u=0;#h=!1;#_=new Set;#d=new Set;#a=null;#v=Jn(()=>(this.#a=me(this.#c),()=>{this.#a=null}));constructor(t,n,r,s){this.#e=t,this.#i=n,this.#o=i=>{var o=p;o.b=this,o.f|=Be,r(i)},this.parent=p.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#l=gr(()=>{if(x){const i=this.#n;mt();const o=i.data===_t;if(i.data.startsWith(vt)){const u=JSON.parse(i.data.slice(vt.length));this.#b(u)}else o?this.#m():this.#p()}else this.#y()},Xn),x&&(this.#e=y)}#p(){try{this.#t=oe(()=>this.#o(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#i.failed;n&&(this.#s=oe(()=>{n(this.#e,()=>t,()=>()=>{})}))}#m(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#r=oe(()=>t(this.#e)),pe(()=>{var n=this.#f=document.createDocumentFragment(),r=xe();n.append(r),this.#t=this.#$(()=>oe(()=>this.#o(r))),this.#u===0&&(this.#e.before(n),this.#f=null,qe(this.#r,()=>{this.#r=null}),this.#g($))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#c=0,this.#t=oe(()=>{this.#o(this.#e)}),this.#u>0){var t=this.#f=document.createDocumentFragment();wr(this.#t,t);const n=this.#i.pending;this.#r=oe(()=>n(this.#e))}else this.#g($)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){Nt(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#$(t){var n=p,r=v,s=M;H(this.#l),O(this.#l),ve(this.#l.ctx);try{return te.ensure(),t()}catch(i){return Rt(i),null}finally{H(n),O(r),ve(s)}}#w(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,n);return}this.#u+=t,this.#u===0&&(this.#g(n),this.#r&&qe(this.#r,()=>{this.#r=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#a||this.#h)&&(this.#h=!0,pe(()=>{this.#h=!1,this.#a&&Ie(this.#a,this.#c)}))}get_effect_pending(){return this.#v(),R(this.#a)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(!n&&!r)throw t;this.#t&&(L(this.#t),this.#t=null),this.#r&&(L(this.#r),this.#r=null),this.#s&&(L(this.#s),this.#s=null),x&&(z(this.#n),Vn(),z(Yn()));var s=!1,i=!1;const o=()=>{if(s){qn();return}s=!0,i&&jn(),this.#s!==null&&qe(this.#s,()=>{this.#s=null}),this.#$(()=>{this.#y()})},l=u=>{try{i=!0,n?.(u,o),i=!1}catch(f){Q(f,this.#l&&this.#l.parent)}r&&(this.#s=this.#$(()=>{try{return oe(()=>{var f=p;f.b=this,f.f|=Be,r(this.#e,()=>u,()=>o)})}catch(f){return Q(f,this.#l.parent),null}}))};pe(()=>{var u;try{u=this.transform_error(t)}catch(f){Q(f,this.#l&&this.#l.parent);return}u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(l,f=>Q(f,this.#l&&this.#l.parent)):l(u)})}}function er(e,t,n,r){const s=Lt;var i=e.filter(c=>!c.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var o=p,l=tr(),u=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(c=>c.promise)):null;function f(c){l();try{r(c)}catch(_){(o.f&D)===0&&Q(_,o)}Fe()}if(n.length===0){u.then(()=>f(t.map(s)));return}var a=It();function h(){Promise.all(n.map(c=>nr(c))).then(c=>f([...t.map(s),...c])).catch(c=>Q(c,o)).finally(()=>a())}u?u.then(()=>{l(),h(),Fe()}):h()}function tr(){var e=p,t=v,n=M,r=$;return function(i=!0){H(e),O(t),ve(n),i&&(e.f&D)===0&&(r?.activate(),r?.apply())}}function Fe(e=!0){H(null),O(null),ve(null),e&&$?.deactivate()}function It(){var e=p,t=e.b,n=$,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(s=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,s)}}function Lt(e){var t=b|S,n=v!==null&&(v.f&b)!==0?v:null;return p!==null&&(p.f|=ie),{ctx:M,deps:null,effects:null,equals:Et,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function nr(e,t,n){let r=p;r===null&&Pn();var s=void 0,i=me(T),o=!v,l=new Map;return vr(()=>{var u=p,f=$t();s=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Fe)}catch(_){f.reject(_),Fe()}var a=$;if(o){if((u.f&se)!==0)var h=It();if(r.b.is_rendered())l.get(a)?.reject(B),l.delete(a);else{for(const _ of l.values())_.reject(B);l.clear()}l.set(a,f)}const c=(_,d=void 0)=>{if(h){var g=d===B;h(g)}if(!(d===B||(u.f&D)!==0)){if(a.activate(),d)i.f|=Z,Ie(i,d);else{(i.f&Z)!==0&&(i.f^=Z),Ie(i,_);for(const[E,q]of l){if(l.delete(E),E===a)break;q.reject(B)}}a.deactivate()}};f.promise.then(c,_=>c(null,_||"unknown"))}),ar(()=>{for(const u of l.values())u.reject(B)}),new Promise(u=>{function f(a){function h(){a===s?u(i):f(s)}a.then(h,h)}f(s)})}function rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function sr(e){for(var t=e.parent;t!==null;){if((t.f&b)===0)return(t.f&D)===0?t:null;t=t.parent}return null}function nt(e){var t,n=p;H(sr(e));try{e.f&=~le,rr(e),t=ln(e)}finally{H(n)}return t}function jt(e){var t=e.v,n=nt(e);if(!e.equals(n)&&(e.wv=rn(),(!$?.is_fork||e.deps===null)&&(e.v=n,$?.capture(e,t,!0),e.deps===null))){w(e,m);return}ue||(F!==null?(lt()||$?.is_fork)&&F.set(e,n):Xe(e))}function ir(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(B),t.teardown=Rn,t.ac=null,ke(t,0),ft(t))}function qt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&$e(t)}let rt=new Set;const ne=new Map;let Vt=!1;function me(e,t){var n={f:0,v:e,reactions:null,equals:Et,rv:0,wv:0};return n}function G(e,t){const n=me(e);return br(n),n}function lr(e,t=!1,n=!0){const r=me(e);return t||(r.equals=Bn),r}function I(e,t,n=!1){v!==null&&(!j||(v.f&bt)!==0)&&St()&&(v.f&(b|K|Ue|bt))!==0&&(C===null||!he.call(C,e))&&Ln();let r=n?Te(t):t;return Ie(e,r,Me)}function Ie(e,t,n=null){if(!e.equals(t)){var r=e.v;ue?ne.set(e,t):ne.set(e,r),e.v=t;var s=te.ensure();if(s.capture(e,r),(e.f&b)!==0){const i=e;(e.f&S)!==0&&nt(i),F===null&&Xe(i)}e.wv=rn(),Yt(e,S,n),p!==null&&(p.f&m)!==0&&(p.f&(W|J))===0&&(P===null?mr([e]):P.push(e)),!s.is_fork&&rt.size>0&&!Vt&&fr()}return t}function fr(){Vt=!1;for(const e of rt)(e.f&m)!==0&&w(e,V),Se(e)&&$e(e);rt.clear()}function Ee(e){I(e,e.v+1)}function Yt(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var o=r[i],l=o.f,u=(l&S)===0;if(u&&w(o,t),(l&b)!==0){var f=o;F?.delete(f),(l&le)===0&&(l&N&&(o.f|=le),Yt(f,V,n))}else if(u){var a=o;(l&K)!==0&&U!==null&&U.add(a),n!==null?n.push(a):tt(a)}}}function Te(e){if(typeof e!="object"||e===null||Ge in e)return e;const t=kn(e);if(t!==xn&&t!==Sn)return e;var n=new Map,r=mn(e),s=G(0),i=ce,o=l=>{if(ce===i)return l();var u=v,f=ce;O(null),nn(i);var a=l();return O(u),nn(f),a};return r&&n.set("length",G(e.length)),new Proxy(e,{defineProperty(l,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Fn();var a=n.get(u);return a===void 0?o(()=>{var h=G(f.value);return n.set(u,h),h}):I(a,f.value,!0),!0},deleteProperty(l,u){var f=n.get(u);if(f===void 0){if(u in l){const a=o(()=>G(T));n.set(u,a),Ee(s)}}else I(f,T),Ee(s);return!0},get(l,u,f){if(u===Ge)return e;var a=n.get(u),h=u in l;if(a===void 0&&(!h||de(l,u)?.writable)&&(a=o(()=>{var _=Te(h?l[u]:T),d=G(_);return d}),n.set(u,a)),a!==void 0){var c=R(a);return c===T?void 0:c}return Reflect.get(l,u,f)},getOwnPropertyDescriptor(l,u){var f=Reflect.getOwnPropertyDescriptor(l,u);if(f&&"value"in f){var a=n.get(u);a&&(f.value=R(a))}else if(f===void 0){var h=n.get(u),c=h?.v;if(h!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(l,u){if(u===Ge)return!0;var f=n.get(u),a=f!==void 0&&f.v!==T||Reflect.has(l,u);if(f!==void 0||p!==null&&(!a||de(l,u)?.writable)){f===void 0&&(f=o(()=>{var c=a?Te(l[u]):T,_=G(c);return _}),n.set(u,f));var h=R(f);if(h===T)return!1}return a},set(l,u,f,a){var h=n.get(u),c=u in l;if(r&&u==="length")for(var _=f;_<h.v;_+=1){var d=n.get(_+"");d!==void 0?I(d,T):_ in l&&(d=o(()=>G(T)),n.set(_+"",d))}if(h===void 0)(!c||de(l,u)?.writable)&&(h=o(()=>G(void 0)),I(h,Te(f)),n.set(u,h));else{c=h.v!==T;var g=o(()=>Te(f));I(h,g)}var E=Reflect.getOwnPropertyDescriptor(l,u);if(E?.set&&E.set.call(a,f),!c){if(r&&typeof u=="string"){var q=n.get("length"),ye=Number(u);Number.isInteger(ye)&&ye>=q.v&&I(q,ye+1)}Ee(s)}return!0},ownKeys(l){R(s);var u=Reflect.ownKeys(l).filter(h=>{var c=n.get(h);return c===void 0||c.v!==T});for(var[f,a]of n)a.v!==T&&!(f in l)&&u.push(f);return u},setPrototypeOf(){In()}})}var Ht,Bt,zt,Ut;function st(){if(Ht===void 0){Ht=window,Bt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;zt=de(t,"firstChild").get,Ut=de(t,"nextSibling").get,gt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),gt(n)&&(n.__t=void 0)}}function xe(e=""){return document.createTextNode(e)}function Le(e){return zt.call(e)}function re(e){return Ut.call(e)}function je(e,t){if(!x)return Le(e);var n=Le(y);if(n===null)n=y.appendChild(xe());else if(t&&n.nodeType!==Ke){var r=xe();return n?.before(r),z(r),r}return t&&Kt(n),z(n),n}function Gt(e,t=1,n=!1){let r=x?y:e;for(var s;t--;)s=r,r=re(r);if(!x)return r;if(n){if(r?.nodeType!==Ke){var i=xe();return r===null?s?.after(i):r.before(i),z(i),i}Kt(r)}return z(r),r}function or(e){e.textContent=""}function it(e,t,n){return document.createElementNS(wn,e,void 0)}function Kt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Ke;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Wt(e){var t=v,n=p;O(null),H(null);try{return e()}finally{O(t),H(n)}}function ur(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t){var n=p;n!==null&&(n.f&X)!==0&&(e|=X);var r={ctx:M,deps:null,nodes:null,f:e|S|N,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&_e)!==0)ge!==null?ge.push(r):te.ensure().schedule(r);else if(t!==null){try{$e(r)}catch(o){throw L(r),o}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&ie)===0&&(s=s.first,(e&K)!==0&&(e&Ce)!==0&&s!==null&&(s.f|=Ce))}if(s!==null&&(s.parent=n,n!==null&&ur(s,n),v!==null&&(v.f&b)!==0&&(e&J)===0)){var i=v;(i.effects??=[]).push(s)}return r}function lt(){return v!==null&&!j}function ar(e){const t=Y(Oe,null);return w(t,m),t.teardown=e,t}function cr(e){return Y(_e|On,e)}function hr(e){te.ensure();const t=Y(J|ie,e);return()=>{L(t)}}function dr(e){te.ensure();const t=Y(J|ie,e);return(n={})=>new Promise(r=>{n.outro?qe(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function _r(e){return Y(_e,e)}function vr(e){return Y(Ue|ie,e)}function Jt(e,t=0){return Y(Oe|t,e)}function pr(e,t=[],n=[],r=[]){er(r,t,n,s=>{Y(Oe,()=>e(...s.map(R)))})}function gr(e,t=0){var n=Y(K|t,e);return n}function oe(e){return Y(W|ie,e)}function Xt(e){var t=e.teardown;if(t!==null){const n=ue,r=v;en(!0),O(null);try{t.call(null)}finally{en(n),O(r)}}}function ft(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Wt(()=>{s.abort(B)});var r=n.next;(n.f&J)!==0?n.parent=null:L(n,t),n=r}}function $r(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&Nn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(yr(e.nodes.start,e.nodes.end),n=!0),w(e,wt),ft(e,t&&!n),ke(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Xt(e),e.f^=wt,e.f|=D;var s=e.parent;s!==null&&s.first!==null&&Zt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function yr(e,t){for(;e!==null;){var n=e===t?null:re(e);e.remove(),e=n}}function Zt(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 qe(e,t,n=!0){var r=[];Qt(e,r,!0);var s=()=>{n&&L(e),t&&t()},i=r.length;if(i>0){var o=()=>--i||s();for(var l of r)l.out(o)}else s()}function Qt(e,t,n){if((e.f&X)===0){e.f^=X;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,o=(s.f&Ce)!==0||(s.f&W)!==0&&(e.f&K)!==0;Qt(s,t,o?n:!1),s=i}}}function wr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:re(n);t.append(n),n=s}}let Ve=!1,ue=!1;function en(e){ue=e}let v=null,j=!1;function O(e){v=e}let p=null;function H(e){p=e}let C=null;function br(e){v!==null&&(C===null?C=[e]:C.push(e))}let k=null,A=0,P=null;function mr(e){P=e}let tn=1,ae=0,ce=ae;function nn(e){ce=e}function rn(){return++tn}function Se(e){var t=e.f;if((t&S)!==0)return!0;if(t&b&&(e.f&=~le),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Se(i)&&jt(i),i.wv>e.wv)return!0}(t&N)!==0&&F===null&&w(e,m)}return!1}function sn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(C!==null&&he.call(C,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&b)!==0?sn(i,t,!1):t===i&&(n?w(i,S):(i.f&m)!==0&&w(i,V),tt(i))}}function ln(e){var t=k,n=A,r=P,s=v,i=C,o=M,l=j,u=ce,f=e.f;k=null,A=0,P=null,v=(f&(W|J))===0?e:null,C=null,ve(e.ctx),j=!1,ce=++ae,e.ac!==null&&(Wt(()=>{e.ac.abort(B)}),e.ac=null);try{e.f|=ze;var a=e.fn,h=a();e.f|=se;var c=e.deps,_=$?.is_fork;if(k!==null){var d;if(_||ke(e,A),c!==null&&A>0)for(c.length=A+k.length,d=0;d<k.length;d++)c[A+d]=k[d];else e.deps=c=k;if(lt()&&(e.f&N)!==0)for(d=A;d<c.length;d++)(c[d].reactions??=[]).push(e)}else!_&&c!==null&&A<c.length&&(ke(e,A),c.length=A);if(St()&&P!==null&&!j&&c!==null&&(e.f&(b|V|S))===0)for(d=0;d<P.length;d++)sn(P[d],e);if(s!==null&&s!==e){if(ae++,s.deps!==null)for(let g=0;g<n;g+=1)s.deps[g].rv=ae;if(t!==null)for(const g of t)g.rv=ae;P!==null&&(r===null?r=P:r.push(...P))}return(e.f&Z)!==0&&(e.f^=Z),h}catch(g){return Rt(g)}finally{e.f^=ze,k=t,A=n,P=r,v=s,C=i,ve(o),j=l,ce=u}}function Er(e,t){let n=t.reactions;if(n!==null){var r=En.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&b)!==0&&(k===null||!he.call(k,t))){var i=t;(i.f&N)!==0&&(i.f^=N,i.f&=~le),Xe(i),ir(i),ke(i,0)}}function ke(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Er(e,n[r])}function $e(e){var t=e.f;if((t&D)===0){w(e,m);var n=p,r=Ve;p=e,Ve=!0;try{(t&(K|yt))!==0?$r(e):ft(e),Xt(e);var s=ln(e);e.teardown=typeof s=="function"?s:null,e.wv=tn;var i;bn&&zn&&(e.f&S)!==0&&e.deps}finally{Ve=r,p=n}}}function R(e){var t=e.f,n=(t&b)!==0;if(v!==null&&!j){var r=p!==null&&(p.f&D)!==0;if(!r&&(C===null||!he.call(C,e))){var s=v.deps;if((v.f&ze)!==0)e.rv<ae&&(e.rv=ae,k===null&&s!==null&&s[A]===e?A++:k===null?k=[e]:k.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:he.call(i,v)||i.push(v)}}}if(ue&&ne.has(e))return ne.get(e);if(n){var o=e;if(ue){var l=o.v;return((o.f&m)===0&&o.reactions!==null||on(o))&&(l=nt(o)),ne.set(o,l),l}var u=(o.f&N)===0&&!j&&v!==null&&(Ve||(v.f&N)!==0),f=(o.f&se)===0;Se(o)&&(u&&(o.f|=N),jt(o)),u&&!f&&(qt(o),fn(o))}if(F?.has(e))return F.get(e);if((e.f&Z)!==0)throw e.v;return e.v}function fn(e){if(e.f|=N,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&b)!==0&&(t.f&N)===0&&(qt(t),fn(t))}function on(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&b)!==0&&on(t))return!0;return!1}function Tr(e){var t=j;try{return j=!0,e()}finally{j=t}}const Re=Symbol("events"),un=new Set,ot=new Set;function xr(e,t,n){(t[Re]??={})[e]=n}function Sr(e){for(var t=0;t<e.length;t++)un.add(e[t]);for(var n of ot)n(e)}let an=null;function cn(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;an=e;var o=0,l=an===e&&e[Re];if(l){var u=s.indexOf(l);if(u!==-1&&(t===document||t===window)){e[Re]=t;return}var f=s.indexOf(t);if(f===-1)return;u<=f&&(o=u)}if(i=s[o]||e.target,i!==t){Ne(e,"currentTarget",{configurable:!0,get(){return i||n}});var a=v,h=p;O(null),H(null);try{for(var c,_=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var g=i[Re]?.[r];g!=null&&(!i.disabled||e.target===i)&&g.call(i,e)}catch(E){c?_.push(E):c=E}if(e.cancelBubble||d===t||d===null)break;i=d}if(c){for(let E of _)queueMicrotask(()=>{throw E});throw c}}finally{e[Re]=t,delete e.currentTarget,O(a),H(h)}}}const kr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Rr(e){return kr?.createHTML(e)??e}function Ar(e){var t=it("template");return t.innerHTML=Rr(e.replaceAll("<!>","<!---->")),t.content}function ut(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Nr(e,t){var n=(t&yn)!==0,r,s=!e.startsWith("<!>");return()=>{if(x)return ut(y,null),y;r===void 0&&(r=Ar(s?e:"<!>"+e),r=Le(r));var i=n||Bt?document.importNode(r,!0):r.cloneNode(!0);return ut(i,i),i}}function hn(e,t){if(x){var n=p;((n.f&se)===0||n.nodes.end===null)&&(n.nodes.end=y),mt();return}e!==null&&e.before(t)}const Or=["touchstart","touchmove"];function Cr(e){return Or.includes(e)}function dn(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function _n(e,t){return vn(e,t)}function Pr(e,t){st(),t.intro=t.intro??!1;const n=t.target,r=x,s=y;try{for(var i=Le(n);i&&(i.nodeType!==We||i.data!==dt);)i=re(i);if(!i)throw we;Pe(!0),z(i);const o=vn(e,{...t,anchor:i});return Pe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==we&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Mn(),st(),or(n),Pe(!1),_n(e,t)}finally{Pe(r),z(s)}}const Ye=new Map;function vn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:o=!0,transformError:l}){st();var u=void 0,f=dr(()=>{var a=n??t.appendChild(xe());Zn(a,{pending:()=>{}},_=>{Tt({});var d=M;if(i&&(d.c=i),s&&(r.$$events=s),x&&ut(_,null),u=e(_,r)||{},x&&(p.nodes.end=y,y===null||y.nodeType!==We||y.data!==pt))throw Je(),we;xt()},l);var h=new Set,c=_=>{for(var d=0;d<_.length;d++){var g=_[d];if(!h.has(g)){h.add(g);var E=Cr(g);for(const ct of[t,document]){var q=Ye.get(ct);q===void 0&&(q=new Map,Ye.set(ct,q));var ye=q.get(g);ye===void 0?(ct.addEventListener(g,cn,{passive:E}),q.set(g,1)):q.set(g,ye+1)}}}};return c(Tn(un)),ot.add(c),()=>{for(var _ of h)for(const E of[t,document]){var d=Ye.get(E),g=d.get(_);--g==0?(E.removeEventListener(_,cn),d.delete(_),d.size===0&&Ye.delete(E)):d.set(_,g)}ot.delete(c),a!==n&&a.parentNode?.removeChild(a)}});return at.set(u,f),u}let at=new WeakMap;function Dr(e,t){const n=at.get(e);return n?(at.delete(e),n(t)):Promise.resolve()}function Mr(e,t){_r(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=it("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function Fr(e,t){return e==null?null:String(e)}function Ir(e,t,n,r){var s=e.__style;if(x||s!==t){var i=Fr(t);(!x||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}function pn(e,t,n,r){var s=r,i=!0,o=()=>(i&&(i=!1,s=r),s),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var u;u=()=>{var c=e[t];return c===void 0?o():(i=!0,c)};var f=!1,a=Lt(()=>(f=!1,u())),h=p;return(function(c,_){if(arguments.length>0){const d=_?R(a):c;return I(a,d),f=!0,s!==void 0&&(s=d),c}return ue&&f||(h.f&D)!==0?a.v:R(a)})}function Lr(e){return new jr(e)}class jr{#e;#n;constructor(t){var n=new Map,r=(i,o)=>{var l=lr(o,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return R(n.get(o)??r(o,Reflect.get(i,o)))},has(i,o){return o===Cn?!0:(R(n.get(o)??r(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,l){return I(n.get(o)??r(o,l),l),Reflect.set(i,o,l)}});this.#n=(t.hydrate?Pr:_n)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&et(),this.#e=s.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||Ne(this,i,{get(){return this.#n[i]},set(o){this.#n[i]=o},enumerable:!0});this.#n.$set=i=>{Object.assign(s,i)},this.#n.$destroy=()=>{Dr(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#n.$destroy()}}let gn;typeof HTMLElement=="function"&&(gn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}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 s=>{const i=it("slot");r!=="default"&&(i.name=r),hn(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=qr(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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=He(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=Lr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=hr(()=>{Jt(()=>{this.$$r=!0;for(const r of Ae(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=He(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(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=He(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 Ae(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function He(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Vr(e,t,n,r,s,i){let o=class extends gn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Ae(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Ae(t).forEach(l=>{Ne(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){u=He(l,u,t),this.$$d[l]=u;var f=this.$$c;if(f){var a=de(f,l)?.get;a?f[l]=u:f.$set({[l]:u})}}})}),r.forEach(l=>{Ne(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var Yr=Nr('<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 Hr={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 $n(e,t){Tt(t,!0),Mr(e,Hr);let n=pn(t,"id",7,""),r=pn(t,"content",7,"");function s(g,E){t.$$host.dispatchEvent(new CustomEvent(g,{detail:E}))}let i=G(!1);function o(){R(i)||(navigator.clipboard.writeText(r()),I(i,!0),s("clipboardCopyText",{text:r()}),setInterval(()=>{I(i,!1)},5e3))}var l={get id(){return n()},set id(g=""){n(g),et()},get content(){return r()},set content(g=""){r(g),et()}},u=Yr(),f=je(u),a=je(f),h=Gt(a,2),c=je(h,!0);De(h),De(f);var _=Gt(f,2),d=je(_,!0);return De(_),De(u),pr(()=>{Ir(a,`display:${R(i)?"inline-block":"none"}`),dn(c,R(i)?"ok!":"copy"),dn(d,r())}),xr("click",h,o),hn(e,u),xt(l)}Sr(["click"]),customElements.define("hb-area-code",Vr($n,{id:{},content:{}},[],[],{mode:"open"})),ht.Component=$n,Object.defineProperty(ht,Symbol.toStringTag,{value:"Module"})})(this["area-code"]=this["area-code"]||{});
3
- //# sourceMappingURL=main.iife.js.map
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=Array.isArray,i=Array.prototype.indexOf,a=Array.prototype.includes,o=Array.from,s=Object.keys,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.prototype,d=Array.prototype,f=Object.getPrototypeOf,p=Object.isExtensible,m=()=>{};function h(e){for(var t=0;t<e.length;t++)e[t]()}function g(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var _=1024,v=2048,y=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,b=1<<19,ae=1<<20,oe=65536,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`legacy props`),x=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"};globalThis.document?.contentType;function fe(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function pe(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function me(){throw Error(`https://svelte.dev/e/hydration_failed`)}function he(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function ge(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function _e(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function ve(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function ye(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function be(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function xe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var S=!1;function Se(e){S=e}var C;function w(e){if(e===null)throw be(),t;return C=e}function Ce(){return w(L(C))}function we(e){if(S){if(L(C)!==null)throw be(),t;C=e}}function Te(e=1){if(S){for(var t=e,n=C;t--;)n=L(n);C=n}}function Ee(e=!0){for(var t=0,n=C;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=L(n);e&&n.remove(),n=i}}function De(e){return e===this.v}function Oe(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function ke(e){return!Oe(e,this.v)}var Ae=!1,je=!1,T=null;function Me(e){T=e}function Ne(e,t=!1,n){T={p:T,i:!1,c:null,e:null,s:e,x:null,r:G,l:je&&!t?{s:null,u:null,$:[]}:null}}function Pe(e){var t=T,n=t.e;if(n!==null){t.e=null;for(var r of n)Xt(r)}return e!==void 0&&(t.x=e),t.i=!0,T=t.p,e??{}}function Fe(){return!je||T!==null&&T.l===null}var E=[];function Ie(){var e=E;E=[],h(e)}function D(e){if(E.length===0&&!qe){var t=E;queueMicrotask(()=>{t===E&&Ie()})}E.push(e)}function Le(){for(;E.length>0;)Ie()}function Re(e){var t=G;if(t===null)return H.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;O(e,t)}function O(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var ze=~(v|y|_);function k(e,t){e.f=e.f&ze|t}function Be(e){e.f&512||e.deps===null?k(e,_):k(e,y)}function Ve(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=oe,Ve(t.deps))}function He(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ve(e.deps),k(e,_)}var Ue=!1,We=!1;function Ge(e){var t=We;try{return We=!1,[e(),We]}finally{We=t}}var A=new Set,j=null,M=null,Ke=null,qe=!1,Je=!1,Ye=null,Xe=null,Ze=0,Qe=1,$e=class e{id=Qe++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)k(n,v),this.schedule(n);for(n of t.m)k(n,y),this.schedule(n)}}#p(){if(Ze++>1e3&&(A.delete(this),tt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,v),this.schedule(e);for(let e of this.#s)k(e,y),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=Ye=[],r=[],i=Xe=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw st(e),t}if(j=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Ye=null,Xe=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)ot(e,t)}else{this.#n.size===0&&A.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),nt(r),nt(n),this.#i?.resolve()}var o=j;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(A.add(o),o.#p()),A.has(this)||this.#g()}#m(e,t,n){e.f^=_;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=_:i&4?t.push(r):Ae&&i&16777224?n.push(r):xn(r)&&(i&16&&this.#s.add(r),En(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)He(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),M?.set(e,e.v))}activate(){j=this}deactivate(){j=null,M=null}flush(){try{Je=!0,j=this,this.#p()}finally{Ze=0,Ke=null,Ye=null,Xe=null,Je=!1,j=null,M=null,P.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),A.delete(this)}#g(){for(let c of A){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)rt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of A)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,D(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=g()).promise}static ensure(){if(j===null){let t=j=new e;Je||(A.add(j),qe||D(()=>{j===t&&t.flush()}))}return j}apply(){if(!Ae||!this.is_fork&&A.size===1){M=null;return}M=new Map;for(let[e,[t]]of this.current)M.set(e,t);for(let n of A)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)M.has(e)||M.set(e,t)}}schedule(e){if(Ke=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ye!==null&&t===G&&(Ae||(H===null||!(H.f&2))&&!Ue))return;if(n&96){if(!(n&1024))return;t.f^=_}}this.#a.push(t)}};function et(e){var t=qe;qe=!0;try{var n;for(e&&(j!==null&&!j.is_fork&&j.flush(),n=e());;){if(Le(),j===null)return n;j.flush()}}finally{qe=t}}function tt(){try{pe()}catch(e){O(e,Ke)}}var N=null;function nt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&xn(r)&&(N=new Set,En(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ln(r),N?.size>0)){P.clear();for(let e of N){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)N.has(n)&&(N.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||En(n)}}N.clear()}}N=null}}function rt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?rt(i,t,n,r):e&4194320&&!(e&2048)&&it(i,t,r)&&(k(i,v),at(i))}}function it(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(a.call(t,r))return!0;if(r.f&2&&it(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function at(e){j.schedule(e)}function ot(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,_);for(var n=e.first;n!==null;)ot(n,t),n=n.next}}function st(e){k(e,_);for(var t=e.first;t!==null;)st(t),t=t.next}function ct(e){let t=0,n=Dt(0),r;return()=>{Jt()&&($(n),tn(()=>(t===0&&(r=kn(()=>e(()=>jt(n)))),t+=1,()=>{D(()=>{--t,t===0&&(r?.(),r=void 0,jt(n))})})))}}var lt=ie|b;function ut(e,t,n,r){new dt(e,t,n,r)}var dt=class{parent;is_pending=!1;transform_error;#e;#t=S?C:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=ct(()=>(this.#m=Dt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=rn(()=>{if(S){let e=this.#t;Ce();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},lt),S&&(this.#e=C)}#g(){try{this.#a=z(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=z(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=z(()=>e(this.#e)),D(()=>{var e=this.#c=document.createDocumentFragment(),t=zt();e.append(t),this.#a=this.#x(()=>z(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,un(this.#o,()=>{this.#o=null}),this.#b(j))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=z(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();fn(this.#a,e);let t=this.#n.pending;this.#o=z(()=>t(this.#e))}else this.#b(j)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){He(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=T;K(this.#i),W(this.#i),Me(this.#i.ctx);try{return $e.ensure(),e()}catch(e){return Re(e),null}finally{K(t),W(n),Me(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&un(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,D(()=>{this.#d=!1,this.#m&&kt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(B(this.#a),null),this.#o&&=(B(this.#o),null),this.#s&&=(B(this.#s),null),S&&(w(this.#t),Te(),w(Ee()));var r=!1,i=!1;let a=()=>{if(r){xe();return}r=!0,i&&ye(),this.#s!==null&&un(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){O(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return z(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return O(e,this.#i.parent),null}}))};D(()=>{var t;try{t=this.transform_error(e)}catch(e){O(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>O(e,this.#i&&this.#i.parent)):o(t)})}};function ft(e,t,n,r){let i=Fe()?gt:vt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=pt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||O(e,o)}mt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=ht();function d(){Promise.all(n.map(e=>_t(e))).then(e=>l([...t.map(i),...e])).catch(e=>O(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),mt()}):d()}function pt(){var e=G,t=H,n=T,r=j;return function(i=!0){K(e),W(t),Me(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function mt(e=!0){K(null),W(null),Me(null),e&&j?.deactivate()}function ht(){var e=G,t=e.b,n=j,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function gt(e){var t=2|v,r=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=b),{ctx:T,deps:null,effects:null,equals:De,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??G,ac:null}}function _t(e,t,r){let i=G;i===null&&fe();var a=void 0,o=Dt(n),s=!H,c=new Map;return en(()=>{var t=G,n=g();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(mt)}catch(e){n.reject(e),mt()}var r=j;if(s){if(t.f&32768)var l=ht();if(i.b.is_rendered())c.get(r)?.reject(x),c.delete(r);else{for(let e of c.values())e.reject(x);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===x),!(n===x||t.f&16384)){if(r.activate(),n)o.f|=le,kt(o,n);else{o.f&8388608&&(o.f^=le),kt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(x)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),Yt(()=>{for(let e of c.values())e.reject(x)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function vt(e){let t=gt(e);return t.equals=ke,t}function yt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)B(t[n])}}function bt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function xt(e){var t,n=G;K(bt(e));try{e.f&=~oe,yt(e),t=Cn(e)}finally{K(n)}return t}function St(e){var t=e.v,n=xt(e);if(!e.equals(n)&&(e.wv=bn(),(!j?.is_fork||e.deps===null)&&(e.v=n,j?.capture(e,t,!0),e.deps===null))){k(e,_);return}V||(M===null?Be(e):(Jt()||j?.is_fork)&&M.set(e,n))}function Ct(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(x),t.teardown=m,t.ac=null,Tn(t,0),on(t))}function wt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&En(t)}var Tt=new Set,P=new Map,Et=!1;function Dt(e,t){return{f:0,v:e,reactions:null,equals:De,rv:0,wv:0}}function F(e,t){let n=Dt(e,t);return gn(n),n}function Ot(e,t=!1,n=!0){let r=Dt(e);return t||(r.equals=ke),je&&n&&T!==null&&T.l!==null&&(T.l.s??=[]).push(r),r}function I(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&Fe()&&H.f&4325394&&(q===null||!a.call(q,e))&&ve(),kt(e,n?Nt(t):t,Xe)}function kt(e,t,n=null){if(!e.equals(t)){var r=e.v;V?P.set(e,t):P.set(e,r),e.v=t;var i=$e.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&xt(t),M===null&&Be(t)}e.wv=bn(),Mt(e,v,n),Fe()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?_n([e]):X.push(e)),!i.is_fork&&Tt.size>0&&!Et&&At()}return t}function At(){Et=!1;for(let e of Tt)e.f&1024&&k(e,y),xn(e)&&En(e);Tt.clear()}function jt(e){I(e,e.v+1)}function Mt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Fe(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&v)===0;if(l&&k(s,t),c&2){var u=s;M?.delete(u),c&65536||(c&512&&(s.f|=oe),Mt(u,y,n))}else if(l){var d=s;c&16&&N!==null&&N.add(d),n===null?at(d):n.push(d)}}}}function Nt(e){if(typeof e!=`object`||!e||ue in e)return e;let t=f(e);if(t!==u&&t!==d)return e;var i=new Map,a=r(e),o=F(0),s=null,c=Q,p=e=>{if(Q===c)return e();var t=H,n=Q;W(null),yn(c);var r=e();return W(t),yn(n),r};return a&&i.set(`length`,F(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&ge();var r=i.get(t);return r===void 0?p(()=>{var e=F(n.value,s);return i.set(t,e),e}):I(r,n.value,!0),!0},deleteProperty(e,t){var r=i.get(t);if(r===void 0){if(t in e){let e=p(()=>F(n,s));i.set(t,e),jt(o)}}else I(r,n),jt(o);return!0},get(t,r,a){if(r===ue)return e;var o=i.get(r),c=r in t;if(o===void 0&&(!c||l(t,r)?.writable)&&(o=p(()=>F(Nt(c?t[r]:n),s)),i.set(r,o)),o!==void 0){var u=$(o);return u===n?void 0:u}return Reflect.get(t,r,a)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var a=i.get(t);a&&(r.value=$(a))}else if(r===void 0){var o=i.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return r},has(e,t){if(t===ue)return!0;var r=i.get(t),a=r!==void 0&&r.v!==n||Reflect.has(e,t);return(r!==void 0||G!==null&&(!a||l(e,t)?.writable))&&(r===void 0&&(r=p(()=>F(a?Nt(e[t]):n,s)),i.set(t,r)),$(r)===n)?!1:a},set(e,t,r,c){var u=i.get(t),d=t in e;if(a&&t===`length`)for(var f=r;f<u.v;f+=1){var m=i.get(f+``);m===void 0?f in e&&(m=p(()=>F(n,s)),i.set(f+``,m)):I(m,n)}if(u===void 0)(!d||l(e,t)?.writable)&&(u=p(()=>F(void 0,s)),I(u,Nt(r)),i.set(t,u));else{d=u.v!==n;var h=p(()=>Nt(r));I(u,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,r),!d){if(a&&typeof t==`string`){var _=i.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&I(_,v+1)}jt(o)}return!0},ownKeys(e){$(o);var t=Reflect.ownKeys(e).filter(e=>{var t=i.get(e);return t===void 0||t.v!==n});for(var[r,a]of i)a.v!==n&&!(r in e)&&t.push(r);return t},setPrototypeOf(){_e()}})}var Pt,Ft,It,Lt;function Rt(){if(Pt===void 0){Pt=window,Ft=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;It=l(t,`firstChild`).get,Lt=l(t,`nextSibling`).get,p(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),p(n)&&(n.__t=void 0)}}function zt(e=``){return document.createTextNode(e)}function Bt(e){return It.call(e)}function L(e){return Lt.call(e)}function Vt(e,t){if(!S)return Bt(e);var n=Bt(C);if(n===null)n=C.appendChild(zt());else if(t&&n.nodeType!==3){var r=zt();return n?.before(r),w(r),r}return t&&Gt(n),w(n),n}function Ht(e,t=1,n=!1){let r=S?C:e;for(var i;t--;)i=r,r=L(r);if(!S)return r;if(n){if(r?.nodeType!==3){var a=zt();return r===null?i?.after(a):r.before(a),w(a),a}Gt(r)}return w(r),r}function Ut(e){e.textContent=``}function Wt(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Gt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Kt(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function qt(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function R(e,t){var n=G;n!==null&&n.f&8192&&(e|=ee);var r={ctx:T,deps:null,nodes:null,f:e|v|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)Ye===null?$e.ensure().schedule(r):Ye.push(r);else if(t!==null){try{En(r)}catch(e){throw B(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&qt(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function Jt(){return H!==null&&!U}function Yt(e){let t=R(8,null);return k(t,_),t.teardown=e,t}function Xt(e){return R(4|ae,e)}function Zt(e){$e.ensure();let t=R(64|b,e);return()=>{B(t)}}function Qt(e){$e.ensure();let t=R(64|b,e);return(e={})=>new Promise(n=>{e.outro?un(t,()=>{B(t),n(void 0)}):(B(t),n(void 0))})}function $t(e){return R(4,e)}function en(e){return R(ce|b,e)}function tn(e,t=0){return R(8|t,e)}function nn(e,t=[],n=[],r=[]){ft(r,t,n,t=>{R(8,()=>e(...t.map($)))})}function rn(e,t=0){return R(16|t,e)}function z(e){return R(32|b,e)}function an(e){var t=e.teardown;if(t!==null){let e=V,n=H;hn(!0),W(null);try{t.call(null)}finally{hn(e),W(n)}}}function on(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Kt(()=>{e.abort(x)});var r=n.next;n.f&64?n.parent=null:B(n,t),n=r}}function sn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||B(t),t=n}}function B(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(cn(e.nodes.start,e.nodes.end),n=!0),k(e,re),on(e,t&&!n),Tn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();an(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function cn(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function ln(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 un(e,t,n=!0){var r=[];dn(e,r,!0);var i=()=>{n&&B(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function dn(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;dn(i,t,o?n:!1),i=a}}}function fn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:L(n);t.append(n),n=i}}var pn=null,mn=!1,V=!1;function hn(e){V=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function gn(e){H!==null&&(!Ae||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function _n(e){X=e}var vn=1,Z=0,Q=Z;function yn(e){Q=e}function bn(){return++vn}function xn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~oe),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(xn(a)&&St(a),a.wv>e.wv)return!0}t&512&&M===null&&k(e,_)}return!1}function Sn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Ae&&q!==null&&a.call(q,e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&2?Sn(o,t,!1):t===o&&(n?k(o,v):o.f&1024&&k(o,y),at(o))}}function Cn(e){var t=J,n=Y,r=X,i=H,a=q,o=T,s=U,c=Q,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,Me(e.ctx),U=!1,Q=++Z,e.ac!==null&&(Kt(()=>{e.ac.abort(x)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=ne;var f=e.deps,p=j?.is_fork;if(J!==null){var m;if(p||Tn(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(Jt()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Tn(e,Y),f.length=Y);if(Fe()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Sn(X[m],e);if(i!==null&&i!==e){if(Z++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Z;if(t!==null)for(let e of t)e.rv=Z;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=le),d}catch(e){return Re(e)}finally{e.f^=se,J=t,Y=n,X=r,H=i,q=a,Me(o),U=s,Q=c}}function wn(e,t){let n=t.reactions;if(n!==null){var r=i.call(n,e);if(r!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[r]=n[o],n.pop())}}if(n===null&&t.f&2&&(J===null||!a.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~oe),Be(s),Ct(s),Tn(s,0)}}function Tn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)wn(e,n[r])}function En(e){var t=e.f;if(!(t&16384)){k(e,_);var n=G,r=mn;G=e,mn=!0;try{t&16777232?sn(e):on(e),an(e);var i=Cn(e);e.teardown=typeof i==`function`?i:null,e.wv=vn}finally{mn=r,G=n}}}function $(e){var t=(e.f&2)!=0;if(pn?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!a.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Z&&(e.rv=Z,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:a.call(r,H)||r.push(H)}}if(V&&P.has(e))return P.get(e);if(t){var i=e;if(V){var o=i.v;return(!(i.f&1024)&&i.reactions!==null||On(i))&&(o=xt(i)),P.set(i,o),o}var s=(i.f&512)==0&&!U&&H!==null&&(mn||(H.f&512)!=0),c=(i.f&ne)===0;xn(i)&&(s&&(i.f|=512),St(i)),s&&!c&&(wt(i),Dn(i))}if(M?.has(e))return M.get(e);if(e.f&8388608)throw e.v;return e.v}function Dn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(wt(t),Dn(t))}function On(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(P.has(t)||t.f&2&&On(t))return!0;return!1}function kn(e){var t=U;try{return U=!0,e()}finally{U=t}}var An=Symbol(`events`),jn=new Set,Mn=new Set;function Nn(e,t,n){(t[An]??={})[e]=n}function Pn(e){for(var t=0;t<e.length;t++)jn.add(e[t]);for(var n of Mn)n(e)}var Fn=null;function In(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Fn=e;var o=0,s=Fn===e&&e[An];if(s){var l=i.indexOf(s);if(l!==-1&&(t===document||t===window)){e[An]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(a=i[o]||e.target,a!==t){c(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[An]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[An]=t,delete e.currentTarget,W(d),K(f)}}}var Ln=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Rn(e){return Ln?.createHTML(e)??e}function zn(e){var t=Wt(`template`);return t.innerHTML=Rn(e.replaceAll(`<!>`,`<!---->`)),t.content}function Bn(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Vn(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(S)return Bn(C,null),C;i===void 0&&(i=zn(a?e:`<!>`+e),n||(i=Bt(i)));var t=r||Ft?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Bt(t),s=t.lastChild;Bn(o,s)}else Bn(t,t);return t}}function Hn(e,t){if(S){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=C),Ce();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var Un=[`touchstart`,`touchmove`];function Wn(e){return Un.includes(e)}function Gn(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Kn(e,t){return Yn(e,t)}function qn(e,n){Rt(),n.intro=n.intro??!1;let r=n.target,i=S,a=C;try{for(var o=Bt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=L(o);if(!o)throw t;Se(!0),w(o);let i=Yn(e,{...n,anchor:o});return Se(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&me(),Rt(),Ut(r),Se(!1),Kn(e,n)}finally{Se(i),w(a)}}var Jn=new Map;function Yn(e,{target:n,anchor:r,props:i={},events:a,context:s,intro:c=!0,transformError:l}){Rt();var u=void 0,d=Qt(()=>{var c=r??n.appendChild(zt());ut(c,{pending:()=>{}},n=>{Ne({});var r=T;if(s&&(r.c=s),a&&(i.$$events=a),S&&Bn(n,null),u=e(n,i)||{},S&&(G.nodes.end=C,C===null||C.nodeType!==8||C.data!==`]`))throw be(),t;Pe()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=Wn(r);for(let e of[n,document]){var a=Jn.get(e);a===void 0&&(a=new Map,Jn.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,In,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(o(jn)),Mn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=Jn.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,In),t.delete(e),t.size===0&&Jn.delete(r)):t.set(e,i)}Mn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return Xn.set(u,d),u}var Xn=new WeakMap;function Zn(e,t){let n=Xn.get(e);return n?(Xn.delete(e),n(t)):Promise.resolve()}function Qn(e,t){$t(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Wt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function $n(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function er(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function tr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(er)),i&&c.push(...Object.keys(i).map(er));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=er(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=$n(r)),i&&(n+=$n(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function nr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function rr(e,t,n,r){var i=e.__style;if(S||i!==t){var a=tr(t,r);(!S||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(nr(e,n?.[0],r[0]),nr(e,n?.[1],r[1],`important`)):nr(e,n,r));return r}function ir(e,t,n,r){var i=!je||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,u=()=>(c&&(c=!1,s=o?kn(r):r),s);let d;if(a){var f=ue in e||de in e;d=l(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=Ge(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&he(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?u():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?gt:vt)(()=>(_=!1,h()));a&&$(v);var y=G;return(function(e,t){if(arguments.length>0){let n=t?$(v):i&&a?Nt(e):e;return I(v,n),_=!0,s!==void 0&&(s=n),e}return V&&_||y.f&16384?v.v:$(v)})}function ar(e){return new or(e)}var or=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Ot(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===de?!0:($(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?qn:Kn)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Ae&&(!e?.props?.$$host||e.sync===!1)&&et(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||c(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Zn(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},sr;typeof HTMLElement==`function`&&(sr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Wt(`slot`);e!==`default`&&(n.name=e),Hn(t,n)}}let t={},n=lr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=cr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=ar({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Zt(()=>{tn(()=>{this.$$r=!0;for(let e of s(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=cr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=cr(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 s(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function cr(e,t,n,r){let 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 lr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function ur(e,t,n,r,i,a){let o=class extends sr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return s(t).map(e=>(t[e].attribute||e).toLowerCase())}};return s(t).forEach(e=>{c(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=cr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(l(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{c(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var dr=Vn(`<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>`),fr={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 pr(e,t){Ne(t,!0),Qn(e,fr);let n=ir(t,`id`,7,``),r=ir(t,`content`,7,``);function i(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let a=F(!1);function o(){$(a)||(navigator.clipboard.writeText(r()),I(a,!0),i(`clipboardCopyText`,{text:r()}),setInterval(()=>{I(a,!1)},5e3))}var s={get id(){return n()},set id(e=``){n(e),et()},get content(){return r()},set content(e=``){r(e),et()}},c=dr(),l=Vt(c),u=Vt(l),d=Ht(u,2),f=Vt(d,!0);we(d),we(l);var p=Ht(l,2),m=Vt(p,!0);return we(p),we(c),nn(()=>{rr(u,`display:${$(a)?`inline-block`:`none`}`),Gn(f,$(a)?`ok!`:`copy`),Gn(m,r())}),Nn(`click`,d,o),Hn(e,c),Pe(s)}Pn([`click`]),customElements.define(`hb-area-code`,ur(pr,{id:{},content:{}},[],[],{mode:`open`})),e.Component=pr})(this[`area-code`]=this[`area-code`]||{});
3
+ //# sourceMappingURL=main.iife.js.map