@htmlbricks/hb-site-slideshow-horizontal 0.50.0 → 0.60.0

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,4 @@
1
- var ja=Object.defineProperty;var Kr=N=>{throw TypeError(N)};var za=(N,O,D)=>O in N?ja(N,O,{enumerable:!0,configurable:!0,writable:!0,value:D}):N[O]=D;var pe=(N,O,D)=>za(N,typeof O!="symbol"?O+"":O,D),Jr=(N,O,D)=>O.has(N)||Kr("Cannot "+D);var ee=(N,O,D)=>(Jr(N,O,"read from private field"),D?D.call(N):O.get(N)),tr=(N,O,D)=>O.has(N)?Kr("Cannot add the same private member more than once"):O instanceof WeakSet?O.add(N):O.set(N,D),rr=(N,O,D,ft)=>(Jr(N,O,"write to private field"),ft?ft.call(N,D):O.set(N,D),D);(function(N){"use strict";var Ne,fe;const O="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(O);const D=1,ft=2,Zr=16,Qr=1,en=2,nr="[",Ot="[!",St="]",nt={},W=Symbol(),Ct=!1,ve=2,ar=4,vt=8,It=16,Ee=32,Ve=64,ct=128,se=256,dt=512,Y=1024,xe=2048,Ue=4096,ke=8192,_t=16384,tn=32768,Pt=65536,rn=1<<19,ir=1<<20,Lt=Symbol("$state"),nn=Symbol("legacy props"),an=Symbol("");var Mt=Array.isArray,sn=Array.prototype.indexOf,Dt=Array.from,ht=Object.keys,yt=Object.defineProperty,We=Object.getOwnPropertyDescriptor,ln=Object.getOwnPropertyDescriptors,on=Object.prototype,un=Array.prototype,sr=Object.getPrototypeOf;function fn(e){for(var t=0;t<e.length;t++)e[t]()}let gt=!1,Ft=[];function lr(){gt=!1;const e=Ft.slice();Ft=[],fn(e)}function vn(e){gt||(gt=!0,queueMicrotask(lr)),Ft.push(e)}function cn(){gt&&lr()}function or(e){return e===this.v}function dn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ur(e){return!dn(e,this.v)}function _n(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function yn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function pn(){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 $n(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let En=!1;function le(e,t){var r={f:0,v:e,reactions:null,equals:or,rv:0,wv:0};return r}function qt(e){return xn(le(e))}function jt(e,t=!1){const r=le(e);return t||(r.equals=ur),r}function xn(e){return E!==null&&!me&&E.f&ve&&($e===null?Nn([e]):$e.push(e)),e}function L(e,t){return E!==null&&!me&&Fr()&&E.f&(ve|It)&&($e===null||!$e.includes(e))&&bn(),fr(e,t)}function fr(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=xr(),vr(e,xe),b!==null&&b.f&Y&&!(b.f&(Ee|Ve))&&(Ae===null?On([e]):Ae.push(e))),t}function vr(e,t){var r=e.reactions;if(r!==null)for(var a=r.length,n=0;n<a;n++){var i=r[n],s=i.f;s&xe||(be(i,t),s&(Y|se)&&(s&ve?vr(i,Ue):kt(i)))}}function pt(e){var t=ve|xe,r=E!==null&&E.f&ve?E:null;return b===null||r!==null&&r.f&se?t|=se:b.f|=ir,{ctx:re,deps:null,effects:null,equals:or,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??b}}function kn(e){const t=pt(e);return t.equals=ur,t}function cr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Re(t[r])}}function Tn(e){for(var t=e.parent;t!==null;){if(!(t.f&ve))return t;t=t.parent}return null}function An(e){var t,r=b;Pe(Tn(e));try{cr(e),t=Tr(e)}finally{Pe(r)}return t}function dr(e){var t=An(e),r=(Le||e.f&se)&&e.deps!==null?Ue:Y;be(e,r),e.equals(t)||(e.v=t,e.wv=xr())}function zt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let S=!1;function Te(e){S=e}let A;function we(e){if(e===null)throw zt(),nt;return A=e}function wt(){return we(Ce(A))}function x(e){if(S){if(Ce(A)!==null)throw zt(),nt;A=e}}function Ht(){for(var e=0,t=A;;){if(t.nodeType===8){var r=t.data;if(r===St){if(e===0)return t;e-=1}else(r===nr||r===Ot)&&(e+=1)}var a=Ce(t);t.remove(),t=a}}function B(e,t=null,r){if(typeof e!="object"||e===null||Lt in e)return e;const a=sr(e);if(a!==on&&a!==un)return e;var n=new Map,i=Mt(e),s=le(0);i&&n.set("length",le(e.length));var f;return new Proxy(e,{defineProperty(u,v,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&wn();var c=n.get(v);return c===void 0?(c=le(l.value),n.set(v,c)):L(c,B(l.value,f)),!0},deleteProperty(u,v){var l=n.get(v);if(l===void 0)v in u&&n.set(v,le(W));else{if(i&&typeof v=="string"){var c=n.get("length"),o=Number(v);Number.isInteger(o)&&o<c.v&&L(c,o)}L(l,W),_r(s)}return!0},get(u,v,l){var y;if(v===Lt)return e;var c=n.get(v),o=v in u;if(c===void 0&&(!o||(y=We(u,v))!=null&&y.writable)&&(c=le(B(o?u[v]:W,f)),n.set(v,c)),c!==void 0){var d=_(c);return d===W?void 0:d}return Reflect.get(u,v,l)},getOwnPropertyDescriptor(u,v){var l=Reflect.getOwnPropertyDescriptor(u,v);if(l&&"value"in l){var c=n.get(v);c&&(l.value=_(c))}else if(l===void 0){var o=n.get(v),d=o==null?void 0:o.v;if(o!==void 0&&d!==W)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(u,v){var d;if(v===Lt)return!0;var l=n.get(v),c=l!==void 0&&l.v!==W||Reflect.has(u,v);if(l!==void 0||b!==null&&(!c||(d=We(u,v))!=null&&d.writable)){l===void 0&&(l=le(c?B(u[v],f):W),n.set(v,l));var o=_(l);if(o===W)return!1}return c},set(u,v,l,c){var C;var o=n.get(v),d=v in u;if(i&&v==="length")for(var y=l;y<o.v;y+=1){var g=n.get(y+"");g!==void 0?L(g,W):y in u&&(g=le(W),n.set(y+"",g))}o===void 0?(!d||(C=We(u,v))!=null&&C.writable)&&(o=le(void 0),L(o,B(l,f)),n.set(v,o)):(d=o.v!==W,L(o,B(l,f)));var R=Reflect.getOwnPropertyDescriptor(u,v);if(R!=null&&R.set&&R.set.call(c,l),!d){if(i&&typeof v=="string"){var h=n.get("length"),w=Number(v);Number.isInteger(w)&&w>=h.v&&L(h,w+1)}_r(s)}return!0},ownKeys(u){_(s);var v=Reflect.ownKeys(u).filter(o=>{var d=n.get(o);return d===void 0||d.v!==W});for(var[l,c]of n)c.v!==W&&!(l in u)&&v.push(l);return v},setPrototypeOf(){mn()}})}function _r(e,t=1){L(e,e.v+t)}var hr,yr,gr,pr;function Yt(){if(hr===void 0){hr=window,yr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;gr=We(t,"firstChild").get,pr=We(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function at(e=""){return document.createTextNode(e)}function Xe(e){return gr.call(e)}function Ce(e){return pr.call(e)}function k(e,t){if(!S)return Xe(e);var r=Xe(A);if(r===null)r=A.appendChild(at());else if(t&&r.nodeType!==3){var a=at();return r==null||r.before(a),we(a),a}return we(r),r}function oe(e,t){if(!S){var r=Xe(e);return r instanceof Comment&&r.data===""?Ce(r):r}return A}function X(e,t=1,r=!1){let a=S?A:e;for(var n;t--;)n=a,a=Ce(a);if(!S)return a;var i=a==null?void 0:a.nodeType;if(r&&i!==3){var s=at();return a===null?n==null||n.after(s):a.before(s),we(s),s}return we(a),a}function wr(e){e.textContent=""}const mr=0,Rn=1;let mt=!1,$t=mr,it=!1,st=null,Ke=!1,Bt=!1;function $r(e){Ke=e}function br(e){Bt=e}let He=[],Je=0,Ha=[],E=null,me=!1;function Ie(e){E=e}let b=null;function Pe(e){b=e}let $e=null;function Nn(e){$e=e}let G=null,te=0,Ae=null;function On(e){Ae=e}let Er=1,bt=0,Le=!1;function xr(){return++Er}function lt(e){var c;var t=e.f;if(t&xe)return!0;if(t&Ue){var r=e.deps,a=(t&se)!==0;if(r!==null){var n,i,s=(t&dt)!==0,f=a&&b!==null&&!Le,u=r.length;if(s||f){var v=e,l=v.parent;for(n=0;n<u;n++)i=r[n],(s||!((c=i==null?void 0:i.reactions)!=null&&c.includes(v)))&&(i.reactions??(i.reactions=[])).push(v);s&&(v.f^=dt),f&&l!==null&&!(l.f&se)&&(v.f^=se)}for(n=0;n<u;n++)if(i=r[n],lt(i)&&dr(i),i.wv>e.wv)return!0}(!a||b!==null&&!Le)&&be(e,Y)}return!1}function Sn(e,t){for(var r=t;r!==null;){if(r.f&ct)try{r.fn(e);return}catch{r.f^=ct}r=r.parent}throw mt=!1,e}function Cn(e){return(e.f&_t)===0&&(e.parent===null||(e.parent.f&ct)===0)}function Et(e,t,r,a){if(mt){if(r===null&&(mt=!1),Cn(t))throw e;return}r!==null&&(mt=!0);{Sn(e,t);return}}function kr(e,t,r=!0){var a=e.reactions;if(a!==null)for(var n=0;n<a.length;n++){var i=a[n];i.f&ve?kr(i,t,!1):t===i&&(r?be(i,xe):i.f&Y&&be(i,Ue),kt(i))}}function Tr(e){var d;var t=G,r=te,a=Ae,n=E,i=Le,s=$e,f=re,u=me,v=e.f;G=null,te=0,Ae=null,E=v&(Ee|Ve)?null:e,Le=(v&se)!==0&&(!Ke||n===null||u),$e=null,Lr(e.ctx),me=!1,bt++;try{var l=(0,e.fn)(),c=e.deps;if(G!==null){var o;if(xt(e,te),c!==null&&te>0)for(c.length=te+G.length,o=0;o<G.length;o++)c[te+o]=G[o];else e.deps=c=G;if(!Le)for(o=te;o<c.length;o++)((d=c[o]).reactions??(d.reactions=[])).push(e)}else c!==null&&te<c.length&&(xt(e,te),c.length=te);if(Fr()&&Ae!==null&&!me&&c!==null&&!(e.f&(ve|Ue|xe)))for(o=0;o<Ae.length;o++)kr(Ae[o],e);return n!==null&&bt++,l}finally{G=t,te=r,Ae=a,E=n,Le=i,$e=s,Lr(f),me=u}}function In(e,t){let r=t.reactions;if(r!==null){var a=sn.call(r,e);if(a!==-1){var n=r.length-1;n===0?r=t.reactions=null:(r[a]=r[n],r.pop())}}r===null&&t.f&ve&&(G===null||!G.includes(t))&&(be(t,Ue),t.f&(se|dt)||(t.f^=dt),cr(t),xt(t,0))}function xt(e,t){var r=e.deps;if(r!==null)for(var a=t;a<r.length;a++)In(e,r[a])}function Gt(e){var t=e.f;if(!(t&_t)){be(e,Y);var r=b,a=re;b=e;try{t&It?Vn(e):Sr(e),Or(e);var n=Tr(e);e.teardown=typeof n=="function"?n:null,e.wv=Er;var i=e.deps,s;Ct&&En&&e.f&xe}catch(f){Et(f,e,r,a||e.ctx)}finally{b=r}}}function Ar(){if(Je>1e3){Je=0;try{gn()}catch(e){if(st!==null)Et(e,st,null);else throw e}}Je++}function Rr(e){var t=e.length;if(t!==0){Ar();var r=Ke;Ke=!0;try{for(var a=0;a<t;a++){var n=e[a];n.f&Y||(n.f^=Y);var i=Mn(n);Pn(i)}}finally{Ke=r}}}function Pn(e){var t=e.length;if(t!==0)for(var r=0;r<t;r++){var a=e[r];if(!(a.f&(_t|ke)))try{lt(a)&&(Gt(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null?Cr(a):a.fn=null))}catch(n){Et(n,a,null,a.ctx)}}}function Ln(){if(it=!1,Je>1001)return;const e=He;He=[],Rr(e),it||(Je=0,st=null)}function kt(e){$t===mr&&(it||(it=!0,queueMicrotask(Ln))),st=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ve|Ee)){if(!(r&Y))return;t.f^=Y}}He.push(t)}function Mn(e){var t=[],r=e.first;e:for(;r!==null;){var a=r.f,n=(a&Ee)!==0,i=n&&(a&Y)!==0,s=r.next;if(!i&&!(a&ke)){if(a&ar)t.push(r);else if(n)r.f^=Y;else{var f=E;try{E=r,lt(r)&&Gt(r)}catch(l){Et(l,r,null,r.ctx)}finally{E=f}}var u=r.first;if(u!==null){r=u;continue}}if(s===null){let l=r.parent;for(;l!==null;){if(e===l)break e;var v=l.next;if(v!==null){r=v;continue e}l=l.parent}}r=s}return t}function Me(e){var t=$t,r=He;try{Ar();const n=[];$t=Rn,He=n,it=!1,Rr(r);var a=e==null?void 0:e();return cn(),(He.length>0||n.length>0)&&Me(),Je=0,st=null,a}finally{$t=t,He=r}}function _(e){var t=e.f,r=(t&ve)!==0;if(E!==null&&!me){$e!==null&&$e.includes(e)&&$n();var a=E.deps;e.rv<bt&&(e.rv=bt,G===null&&a!==null&&a[te]===e?te++:G===null?G=[e]:(!Le||!G.includes(e))&&G.push(e))}else if(r&&e.deps===null&&e.effects===null){var n=e,i=n.parent;i!==null&&!(i.f&se)&&(n.f^=se)}return r&&(n=e,lt(n)&&dr(n)),e.v}function Dn(e){var t=me;try{return me=!0,e()}finally{me=t}}const Fn=-7169;function be(e,t){e.f=e.f&Fn|t}function qn(e){b===null&&E===null&&yn(),E!==null&&E.f&se&&b===null&&hn(),Bt&&_n()}function jn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Ye(e,t,r,a=!0){var n=(e&Ve)!==0,i=b,s={ctx:re,deps:null,nodes_start:null,nodes_end:null,f:e|xe,first:null,fn:t,last:null,next:null,parent:n?null:i,prev:null,teardown:null,transitions:null,wv:0};if(r){var f=Ke;try{$r(!0),Gt(s),s.f|=tn}catch(l){throw Re(s),l}finally{$r(f)}}else t!==null&&kt(s);var u=r&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&(s.f&(ir|ct))===0;if(!u&&!n&&a&&(i!==null&&jn(s,i),E!==null&&E.f&ve)){var v=E;(v.effects??(v.effects=[])).push(s)}return s}function zn(e){const t=Ye(vt,null,!1);return be(t,Y),t.teardown=e,t}function Hn(e){qn();var t=b!==null&&(b.f&Ee)!==0&&re!==null&&!re.m;if(t){var r=re;(r.e??(r.e=[])).push({fn:e,effect:b,reaction:E})}else{var a=Nr(e);return a}}function Yn(e){const t=Ye(Ve,e,!0);return()=>{Re(t)}}function Bn(e){const t=Ye(Ve,e,!0);return(r={})=>new Promise(a=>{r.outro?Tt(t,()=>{Re(t),a(void 0)}):(Re(t),a(void 0))})}function Nr(e){return Ye(ar,e,!1)}function Gn(e){return Ye(vt,e,!0)}function F(e,t=[],r=pt){const a=t.map(r);return Vt(()=>e(...a.map(_)))}function Vt(e,t=0){return Ye(vt|It|t,e,!0)}function ot(e,t=!0){return Ye(vt|Ee,e,!0,t)}function Or(e){var t=e.teardown;if(t!==null){const r=Bt,a=E;br(!0),Ie(null);try{t.call(null)}finally{br(r),Ie(a)}}}function Sr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){var a=r.next;Re(r,t),r=a}}function Vn(e){for(var t=e.first;t!==null;){var r=t.next;t.f&Ee||Re(t),t=r}}function Re(e,t=!0){var r=!1;if((t||e.f&rn)&&e.nodes_start!==null){for(var a=e.nodes_start,n=e.nodes_end;a!==null;){var i=a===n?null:Ce(a);a.remove(),a=i}r=!0}Sr(e,t&&!r),xt(e,0),be(e,_t);var s=e.transitions;if(s!==null)for(const u of s)u.stop();Or(e);var f=e.parent;f!==null&&f.first!==null&&Cr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Cr(e){var t=e.parent,r=e.prev,a=e.next;r!==null&&(r.next=a),a!==null&&(a.prev=r),t!==null&&(t.first===e&&(t.first=a),t.last===e&&(t.last=r))}function Tt(e,t){var r=[];Ut(e,r,!0),Ir(r,()=>{Re(e),t&&t()})}function Ir(e,t){var r=e.length;if(r>0){var a=()=>--r||t();for(var n of e)n.out(a)}else t()}function Ut(e,t,r){if(!(e.f&ke)){if(e.f^=ke,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var a=e.first;a!==null;){var n=a.next,i=(a.f&Pt)!==0||(a.f&Ee)!==0;Ut(a,t,i?r:!1),a=n}}}function At(e){Pr(e,!0)}function Pr(e,t){if(e.f&ke){e.f^=ke,e.f&Y||(e.f^=Y),lt(e)&&(be(e,xe),kt(e));for(var r=e.first;r!==null;){var a=r.next,n=(r.f&Pt)!==0||(r.f&Ee)!==0;Pr(r,n?t:!1),r=a}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let re=null;function Lr(e){re=e}function Mr(e,t=!1,r){re={p:re,c:null,e:null,m:!1,s:e,x:null,l:null}}function Dr(e){const t=re;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var r=b,a=E;t.e=null;try{for(var n=0;n<s.length;n++){var i=s[n];Pe(i.effect),Ie(i.reaction),Nr(i.fn)}}finally{Pe(r),Ie(a)}}re=t.p,t.m=!0}return e||{}}function Fr(){return!0}const Un=["touchstart","touchmove"];function Wn(e){return Un.includes(e)}function Xn(e,t,r,a=!0){a&&r();for(var n of t)e.addEventListener(n,r);zn(()=>{for(var i of t)e.removeEventListener(i,r)})}function Kn(e){var t=E,r=b;Ie(null),Pe(null);try{return e()}finally{Ie(t),Pe(r)}}const qr=new Set,Wt=new Set;function Jn(e){for(var t=0;t<e.length;t++)qr.add(e[t]);for(var r of Wt)r(e)}function Rt(e){var w;var t=this,r=t.ownerDocument,a=e.type,n=((w=e.composedPath)==null?void 0:w.call(e))||[],i=n[0]||e.target,s=0,f=e.__root;if(f){var u=n.indexOf(f);if(u!==-1&&(t===document||t===window)){e.__root=t;return}var v=n.indexOf(t);if(v===-1)return;u<=v&&(s=u)}if(i=n[s]||e.target,i!==t){yt(e,"currentTarget",{configurable:!0,get(){return i||r}});var l=E,c=b;Ie(null),Pe(null);try{for(var o,d=[];i!==null;){var y=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+a];if(g!==void 0&&!i.disabled)if(Mt(g)){var[R,...h]=g;R.apply(i,[e,...h])}else g.call(i,e)}catch(C){o?d.push(C):o=C}if(e.cancelBubble||y===t||y===null)break;i=y}if(o){for(let C of d)queueMicrotask(()=>{throw C});throw o}}finally{e.__root=t,delete e.currentTarget,Ie(l),Pe(c)}}}function Zn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Ze(e,t){var r=b;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function q(e,t){var r=(t&Qr)!==0,a=(t&en)!==0,n,i=!e.startsWith("<!>");return()=>{if(S)return Ze(A,null),A;n===void 0&&(n=Zn(i?e:"<!>"+e),r||(n=Xe(n)));var s=a||yr?document.importNode(n,!0):n.cloneNode(!0);if(r){var f=Xe(s),u=s.lastChild;Ze(f,u)}else Ze(s,s);return s}}function De(){if(S)return Ze(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),r=at();return e.append(t,r),Ze(t,r),e}function T(e,t){if(S){b.nodes_end=A,wt();return}e!==null&&e.before(t)}function ue(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=r+"")}function jr(e,t){return zr(e,t)}function Qn(e,t){Yt(),t.intro=t.intro??!1;const r=t.target,a=S,n=A;try{for(var i=Xe(r);i&&(i.nodeType!==8||i.data!==nr);)i=Ce(i);if(!i)throw nt;Te(!0),we(i),wt();const s=zr(e,{...t,anchor:i});if(A===null||A.nodeType!==8||A.data!==St)throw zt(),nt;return Te(!1),s}catch(s){if(s===nt)return t.recover===!1&&pn(),Yt(),wr(r),Te(!1),jr(e,t);throw s}finally{Te(a),we(n)}}const Qe=new Map;function zr(e,{target:t,anchor:r,props:a={},events:n,context:i,intro:s=!0}){Yt();var f=new Set,u=c=>{for(var o=0;o<c.length;o++){var d=c[o];if(!f.has(d)){f.add(d);var y=Wn(d);t.addEventListener(d,Rt,{passive:y});var g=Qe.get(d);g===void 0?(document.addEventListener(d,Rt,{passive:y}),Qe.set(d,1)):Qe.set(d,g+1)}}};u(Dt(qr)),Wt.add(u);var v=void 0,l=Bn(()=>{var c=r??t.appendChild(at());return ot(()=>{if(i){Mr({});var o=re;o.c=i}n&&(a.$$events=n),S&&Ze(c,null),v=e(c,a)||{},S&&(b.nodes_end=A),i&&Dr()}),()=>{var y;for(var o of f){t.removeEventListener(o,Rt);var d=Qe.get(o);--d===0?(document.removeEventListener(o,Rt),Qe.delete(o)):Qe.set(o,d)}Wt.delete(u),c!==r&&((y=c.parentNode)==null||y.removeChild(c))}});return Xt.set(v,l),v}let Xt=new WeakMap;function ea(e,t){const r=Xt.get(e);return r?(Xt.delete(e),r(t)):Promise.resolve()}function z(e,t,r=!1){S&&wt();var a=e,n=null,i=null,s=W,f=r?Pt:0,u=!1;const v=(c,o=!0)=>{u=!0,l(o,c)},l=(c,o)=>{if(s===(s=c))return;let d=!1;if(S){const y=a.data===Ot;!!s===y&&(a=Ht(),we(a),Te(!1),d=!0)}s?(n?At(n):o&&(n=ot(()=>o(a))),i&&Tt(i,()=>{i=null})):(i?At(i):o&&(i=ot(()=>o(a))),n&&Tt(n,()=>{n=null})),d&&Te(!0)};Vt(()=>{u=!1,t(v),u||l(null,null)},f),S&&(a=A)}function ta(e,t,r,a){for(var n=[],i=t.length,s=0;s<i;s++)Ut(t[s].e,n,!0);var f=i>0&&n.length===0&&r!==null;if(f){var u=r.parentNode;wr(u),u.append(r),a.clear(),Fe(e,t[0].prev,t[i-1].next)}Ir(n,()=>{for(var v=0;v<i;v++){var l=t[v];f||(a.delete(l.k),Fe(e,l.prev,l.next)),Re(l.e,!f)}})}function ra(e,t,r,a,n,i=null){var s=e,f={items:new Map,first:null};S&&wt();var u=null,v=!1,l=kn(()=>{var c=r();return Mt(c)?c:c==null?[]:Dt(c)});Vt(()=>{var c=_(l),o=c.length;if(v&&o===0)return;v=o===0;let d=!1;if(S){var y=s.data===Ot;y!==(o===0)&&(s=Ht(),we(s),Te(!1),d=!0)}if(S){for(var g=null,R,h=0;h<o;h++){if(A.nodeType===8&&A.data===St){s=A,d=!0,Te(!1);break}var w=c[h],C=a(w,h);R=Hr(A,f,g,null,w,C,h,n,t,r),f.items.set(C,R),g=R}o>0&&we(Ht())}S||na(c,f,s,n,t,a,r),i!==null&&(o===0?u?At(u):u=ot(()=>i(s)):u!==null&&Tt(u,()=>{u=null})),d&&Te(!0),_(l)}),S&&(s=A)}function na(e,t,r,a,n,i,s){var f=e.length,u=t.items,v=t.first,l=v,c,o=null,d=[],y=[],g,R,h,w;for(w=0;w<f;w+=1){if(g=e[w],R=i(g,w),h=u.get(R),h===void 0){var C=l?l.e.nodes_start:r;o=Hr(C,t,o,o===null?t.first:o.next,g,R,w,a,n,s),u.set(R,o),d=[],y=[],l=o.next;continue}if(aa(h,g,w),h.e.f&ke&&At(h.e),h!==l){if(c!==void 0&&c.has(h)){if(d.length<y.length){var de=y[0],K;o=de.prev;var qe=d[0],ne=d[d.length-1];for(K=0;K<d.length;K+=1)Yr(d[K],de,r);for(K=0;K<y.length;K+=1)c.delete(y[K]);Fe(t,qe.prev,ne.next),Fe(t,o,qe),Fe(t,ne,de),l=de,o=ne,w-=1,d=[],y=[]}else c.delete(h),Yr(h,l,r),Fe(t,h.prev,h.next),Fe(t,h,o===null?t.first:o.next),Fe(t,o,h),o=h;continue}for(d=[],y=[];l!==null&&l.k!==R;)l.e.f&ke||(c??(c=new Set)).add(l),y.push(l),l=l.next;if(l===null)continue;h=l}d.push(h),o=h,l=h.next}if(l!==null||c!==void 0){for(var m=c===void 0?[]:Dt(c);l!==null;)l.e.f&ke||m.push(l),l=l.next;var Be=m.length;if(Be>0){var rt=null;ta(t,m,rt,u)}}b.first=t.first&&t.first.e,b.last=o&&o.e}function aa(e,t,r,a){fr(e.v,t),e.i=r}function Hr(e,t,r,a,n,i,s,f,u,v){var l=(u&D)!==0,c=(u&Zr)===0,o=l?c?jt(n):le(n):n,d=u&ft?le(s):s,y={i:d,v:o,k:i,a:null,e:null,prev:r,next:a};try{return y.e=ot(()=>f(e,o,d,v),S),y.e.prev=r&&r.e,y.e.next=a&&a.e,r===null?t.first=y:(r.next=y,r.e.next=y.e),a!==null&&(a.prev=y,a.e.prev=y.e),y}finally{}}function Yr(e,t,r){for(var a=e.next?e.next.e.nodes_start:r,n=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==a;){var s=Ce(i);n.before(i),i=s}}function Fe(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function ia(e,t){vn(()=>{var r=e.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,a.appendChild(n)}})}function ce(e,t,r,a){var n=e.__attributes??(e.__attributes={});S&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[an]=r),r==null?e.removeAttribute(t):typeof r!="string"&&sa(e).includes(t)?e[t]=r:e.setAttribute(t,r))}var Br=new Map;function sa(e){var t=Br.get(e.nodeName);if(t)return t;Br.set(e.nodeName,t=[]);for(var r,a=e,n=Element.prototype;n!==a;){r=ln(a);for(var i in r)r[i].set&&t.push(i);a=sr(a)}return t}function la(e,t){Xn(window,["resize"],()=>Kn(()=>t(window[e])))}function et(e,t,r,a){var n;n=e[t];var i=a,s=!0,f=!1,u=()=>(f=!0,s&&(s=!1,i=a),i);n===void 0&&a!==void 0&&(n=u());var v;v=()=>{var d=e[t];return d===void 0?u():(s=!0,f=!1,d)};var l=!1,c=jt(n),o=pt(()=>{var d=v(),y=_(c);return l?(l=!1,y):c.v=d});return function(d,y){if(arguments.length>0){const g=y?_(o):d;return o.equals(g)||(l=!0,L(c,g),f&&i!==void 0&&(i=g),Dn(()=>_(o))),d}return _(o)}}function oa(e){return new ua(e)}class ua{constructor(t){tr(this,Ne);tr(this,fe);var i;var r=new Map,a=(s,f)=>{var u=jt(f);return r.set(s,u),u};const n=new Proxy({...t.props||{},$$events:{}},{get(s,f){return _(r.get(f)??a(f,Reflect.get(s,f)))},has(s,f){return f===nn?!0:(_(r.get(f)??a(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,u){return L(r.get(f)??a(f,u),u),Reflect.set(s,f,u)}});rr(this,fe,(t.hydrate?Qn:jr)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((i=t==null?void 0:t.props)!=null&&i.$$host)||t.sync===!1)&&Me(),rr(this,Ne,n.$$events);for(const s of Object.keys(ee(this,fe)))s==="$set"||s==="$destroy"||s==="$on"||yt(this,s,{get(){return ee(this,fe)[s]},set(f){ee(this,fe)[s]=f},enumerable:!0});ee(this,fe).$set=s=>{Object.assign(n,s)},ee(this,fe).$destroy=()=>{ea(ee(this,fe))}}$set(t){ee(this,fe).$set(t)}$on(t,r){ee(this,Ne)[t]=ee(this,Ne)[t]||[];const a=(...n)=>r.call(this,...n);return ee(this,Ne)[t].push(a),()=>{ee(this,Ne)[t]=ee(this,Ne)[t].filter(n=>n!==a)}}$destroy(){ee(this,fe).$destroy()}}Ne=new WeakMap,fe=new WeakMap;let Gr;typeof HTMLElement=="function"&&(Gr=class extends HTMLElement{constructor(t,r,a){super();pe(this,"$$ctor");pe(this,"$$s");pe(this,"$$c");pe(this,"$$cn",!1);pe(this,"$$d",{});pe(this,"$$r",!1);pe(this,"$$p_d",{});pe(this,"$$l",{});pe(this,"$$l_u",new Map);pe(this,"$$me");this.$$ctor=t,this.$$s=r,a&&this.attachShadow({mode:"open"})}addEventListener(t,r,a){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,a)}removeEventListener(t,r,a){if(super.removeEventListener(t,r,a),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),T(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},a=fa(this);for(const n of this.$$s)n in a&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),r.default=!0):r[n]=t(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Nt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=oa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Yn(()=>{Gn(()=>{var n;this.$$r=!0;for(const i of ht(this.$$c)){if(!((n=this.$$p_d[i])!=null&&n.reflect))continue;this.$$d[i]=this.$$c[i];const s=Nt(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(t,r,a){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Nt(t,a,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 ht(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Nt(e,t,r,a){var i;const n=(i=r[e])==null?void 0:i.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!a||!r[e])return t;if(a==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fa(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function va(e,t,r,a,n,i){let s=class extends Gr{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return ht(t).map(f=>(t[f].attribute||f).toLowerCase())}};return ht(t).forEach(f=>{yt(s.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(u){var c;u=Nt(f,u,t),this.$$d[f]=u;var v=this.$$c;if(v){var l=(c=We(v,f))==null?void 0:c.get;l?v[f]=u:v.$set({[f]:u})}}})}),a.forEach(f=>{yt(s.prototype,f,{get(){var u;return(u=this.$$c)==null?void 0:u[f]}})}),e.element=s,s}function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tt={},Kt,Vr;function da(){if(Vr)return Kt;Vr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,f=/^\s+|\s+$/g,u=`
2
- `,v="/",l="*",c="",o="comment",d="declaration";Kt=function(g,R){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];R=R||{};var h=1,w=1;function C($){var p=$.match(t);p&&(h+=p.length);var j=$.lastIndexOf(u);w=~j?$.length-j:w+$.length}function de(){var $={line:h,column:w};return function(p){return p.position=new K($),m(),p}}function K($){this.start=$,this.end={line:h,column:w},this.source=R.source}K.prototype.content=g;function qe($){var p=new Error(R.source+":"+h+":"+w+": "+$);if(p.reason=$,p.filename=R.source,p.line=h,p.column=w,p.source=g,!R.silent)throw p}function ne($){var p=$.exec(g);if(p){var j=p[0];return C(j),g=g.slice(j.length),p}}function m(){ne(r)}function Be($){var p;for($=$||[];p=rt();)p!==!1&&$.push(p);return $}function rt(){var $=de();if(!(v!=g.charAt(0)||l!=g.charAt(1))){for(var p=2;c!=g.charAt(p)&&(l!=g.charAt(p)||v!=g.charAt(p+1));)++p;if(p+=2,c===g.charAt(p-1))return qe("End of comment missing");var j=g.slice(2,p-2);return w+=2,C(j),g=g.slice(p),w+=2,$({type:o,comment:j})}}function Jt(){var $=de(),p=ne(a);if(p){if(rt(),!ne(n))return qe("property missing ':'");var j=ne(i),ut=$({type:d,property:y(p[0].replace(e,c)),value:j?y(j[0].replace(e,c)):c});return ne(s),ut}}function Zt(){var $=[];Be($);for(var p;p=Jt();)p!==!1&&($.push(p),Be($));return $}return m(),Zt()};function y(g){return g?g.replace(f,c):c}return Kt}var Ur;function _a(){if(Ur)return tt;Ur=1;var e=tt&&tt.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=r;var t=e(da());function r(a,n){var i=null;if(!a||typeof a!="string")return i;var s=(0,t.default)(a),f=typeof n=="function";return s.forEach(function(u){if(u.type==="declaration"){var v=u.property,l=u.value;f?n(v,l,u):l&&(i=i||{},i[v]=l)}}),i}return tt}var ha=_a();const Wr=ca(ha),ya=Wr.default||Wr;var ga=(e,t,r)=>{t(r()-1)},pa=(e,t)=>window.open(_(t).externalLink,"_blank"),wa=q('<div class="video_sub_time svelte-yaagy6" part="video_sub_time"> </div>'),ma=q('<div class="play svelte-yaagy6"><div class="play_container svelte-yaagy6"><div class="play_symbol svelte-yaagy6">▶</div></div></div> <div class="video_sub svelte-yaagy6"><div class="video_sub_title svelte-yaagy6" part="video_sub_title"> </div> <!></div>',1),$a=q('<div class="caption svelte-yaagy6"><div class="caption_content svelte-yaagy6" part="caption_content"> </div></div>'),ba=q('<div class="item svelte-yaagy6"><img class="svelte-yaagy6"> <!></div>'),Ea=(e,t)=>{_(t).link&&(window.location.href=_(t).link)},xa=q('<div class="video_sub_time svelte-yaagy6" part="video_sub_time"> </div>'),ka=q('<div class="play svelte-yaagy6"><div class="play_container svelte-yaagy6"><div class="play_symbol svelte-yaagy6">▶</div></div></div> <div class="video_sub svelte-yaagy6"><div class="video_sub_title svelte-yaagy6" part="video_sub_title"> </div> <!></div>',1),Ta=q('<div class="caption svelte-yaagy6"><div class="caption_content svelte-yaagy6" part="caption_content"> </div></div>'),Aa=q('<div class="item svelte-yaagy6"><img class="svelte-yaagy6"> <!></div>'),Ra=(e,t,r)=>t("slideClick",{key:_(r).key}),Na=q('<div class="video_sub_time svelte-yaagy6" part="video_sub_time"> </div>'),Oa=q('<div class="play svelte-yaagy6"><div class="play_container svelte-yaagy6"><div class="play_symbol svelte-yaagy6">▶</div></div></div> <div class="video_sub svelte-yaagy6"><div class="video_sub_title svelte-yaagy6" part="video_sub_title"> </div> <!></div>',1),Sa=q('<div class="caption svelte-yaagy6"><div class="caption_content svelte-yaagy6" part="caption_content"> </div></div>'),Ca=q('<div class="item svelte-yaagy6"><img class="svelte-yaagy6"> <!></div>'),Ia=q('<div class="video_sub_time svelte-yaagy6" part="video_sub_time"> </div>'),Pa=q('<div class="play svelte-yaagy6"><div class="play_container svelte-yaagy6"><div class="play_symbol svelte-yaagy6">▶</div></div></div> <div class="video_sub svelte-yaagy6"><div class="video_sub_title svelte-yaagy6" part="video_sub_title"> </div> <!></div>',1),La=q('<div class="caption svelte-yaagy6"><div class="caption_content svelte-yaagy6" part="caption_content"> </div></div>'),Ma=q('<div class="item svelte-yaagy6"><img class="svelte-yaagy6"> <!></div>'),Da=(e,t,r)=>{t(r()+1)},Fa=q('<div class="wrapper svelte-yaagy6"><section class="svelte-yaagy6"><a class="arrow__btn svelte-yaagy6"><div>‹</div></a> <!> <a class="arrow__btn svelte-yaagy6"><div>›</div></a></section></div>');const qa={hash:"svelte-yaagy6",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;}.wrapper.svelte-yaagy6 {display:grid;grid-template-columns:repeat(3, 100%);overflow:hidden;scroll-behavior:smooth;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) {width:100%;position:relative;display:grid;margin:20px 0;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) .item:where(.svelte-yaagy6) {position:relative;padding:0 0px;transition:250ms all;z-index:1;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) .item:where(.svelte-yaagy6):hover {margin:0 40px;transform:scale(1.2);cursor:pointer;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) .item:where(.svelte-yaagy6):hover .video_sub:where(.svelte-yaagy6) {display:block;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) a:where(.svelte-yaagy6) {padding:0 20px;position:absolute;display:flex;color:white;text-decoration:none;font-size:6em;z-index:3;align-items:center;justify-content:center;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) a:where(.svelte-yaagy6):nth-of-type(1) {top:0;bottom:0;left:0;background:linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) a:where(.svelte-yaagy6):nth-of-type(1):hover {background:linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%) !important;}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) a:where(.svelte-yaagy6):nth-of-type(2) {top:0;bottom:0;right:0;background:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-yaagy6 section:where(.svelte-yaagy6) a:where(.svelte-yaagy6):nth-of-type(2):hover {background:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%) !important;}.wrapper.svelte-yaagy6 img:where(.svelte-yaagy6) {width:100%;height:100%;object-fit:cover;}.wrapper.svelte-yaagy6 a:where(.svelte-yaagy6) {cursor:pointer;}.wrapper.svelte-yaagy6 a:where(.svelte-yaagy6):hover {color:white !important;}.wrapper.svelte-yaagy6 .play:where(.svelte-yaagy6) {position:absolute;z-index:10;top:0;height:100%;width:100%;vertical-align:middle;line-height:100%;text-align:center;display:flex;align-items:center;justify-content:center;}.wrapper.svelte-yaagy6 .play:where(.svelte-yaagy6):hover {background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-yaagy6 .play:where(.svelte-yaagy6):hover .play_container:where(.svelte-yaagy6) {display:flex;}.wrapper.svelte-yaagy6 .play_container:where(.svelte-yaagy6) {display:none;align-items:center;justify-content:center;color:white;border:6px solid white;border-radius:50%;width:4rem;height:4rem;text-align:center;}.wrapper.svelte-yaagy6 .play_symbol:where(.svelte-yaagy6) {text-align:center;font-size:2rem;font-weight:bold;margin:0px 0px 3px 3px;}.wrapper.svelte-yaagy6 .caption:where(.svelte-yaagy6) {position:absolute;z-index:10;top:0;height:100%;width:100%;vertical-align:middle;line-height:100%;text-align:center;display:flex;align-items:center;justify-content:center;}.wrapper.svelte-yaagy6 .caption:where(.svelte-yaagy6):hover {background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-yaagy6 .caption:where(.svelte-yaagy6):hover .caption_content:where(.svelte-yaagy6) {display:block;}.wrapper.svelte-yaagy6 .caption_content:where(.svelte-yaagy6) {color:white;font-weight:bold;display:none;}.wrapper.svelte-yaagy6 .video_sub:where(.svelte-yaagy6) {display:none;position:absolute;z-index:10;bottom:0;width:100%;}.wrapper.svelte-yaagy6 .video_sub:where(.svelte-yaagy6) div:where(.svelte-yaagy6) {display:inline-block;color:white;}.wrapper.svelte-yaagy6 .video_sub_time:where(.svelte-yaagy6) {float:right;margin-right:10px;}.wrapper.svelte-yaagy6 .video_sub_title:where(.svelte-yaagy6) {margin-left:10px;}.wrapper.svelte-yaagy6:hover a:where(.svelte-yaagy6) {color:transparent;background:transparent !important;}'};function Xr(e,t){Mr(t,!0),ia(e,qa);function r(h,w){t.$$host.dispatchEvent(new CustomEvent(h,{detail:w}))}let a=et(t,"id",7,""),n=et(t,"style"),i=et(t,"data"),s=et(t,"slide",7,0),f=et(t,"type",7,"images"),u=et(t,"size",7,void 0),v=qt(B({})),l=qt(B([])),c=qt(0),o=pt(()=>u()?u():Math.round(_(c)/250));Hn(()=>{if(typeof s()=="string"&&s(Number(s())),n()&&L(v,B(ya(n()))),typeof i()=="string")try{i(JSON.parse(i()))}catch(h){console.error("error parsing data",h)}if(i()){let h=0;i(i().filter(w=>w.href).sort((w,C)=>(w.index||0)-(C.index||0))),i().forEach(w=>{w.index=h++}),s()>=0?(s()===i().length&&s(0),L(l,B(i().slice(s(),s()+_(o)))),_(l).length<_(o)&&i().length>_(o)&&L(l,B(_(l).concat(i().slice(0,_(o)-_(l).length))))):s()<0&&(s()>-_(o)?(L(l,B(i().slice(s()))),L(l,B(_(l).concat(i().slice(0,s()+_(o)))))):s()>i().length*-1?L(l,B(i().slice(s()).slice(0,_(o)))):(s(0),L(l,B(i().slice(0,_(o))))))}});function d(h){s(h)}var y=De(),g=oe(y);{var R=h=>{var w=Fa(),C=k(w),de=k(C);de.__click=[ga,d,s],ce(de,"href",null);var K=X(de,2);ra(K,17,()=>_(l),ne=>ne.index,(ne,m)=>{var Be=De(),rt=oe(Be);{var Jt=$=>{var p=ba();p.__click=[pa,m];var j=k(p),ut=X(j,2);{var Qt=J=>{var _e=ma(),ze=X(oe(_e),2),Oe=k(ze),Z=k(Oe,!0);x(Oe);var I=X(Oe,2);{var M=Q=>{var ae=wa(),he=k(ae,!0);x(ae),F(()=>ue(he,_(m).duration)),T(Q,ae)};z(I,Q=>{_(m).duration&&Q(M)})}x(ze),F(()=>ue(Z,_(m).caption)),T(J,_e)},je=J=>{var _e=De(),ze=oe(_e);{var Oe=Z=>{var I=$a(),M=k(I),Q=k(M,!0);x(M),x(I),F(()=>ue(Q,_(m).caption)),T(Z,I)};z(ze,Z=>{_(m).caption&&Z(Oe)},!0)}T(J,_e)};z(ut,J=>{f()==="videos"?J(Qt):J(je,!1)})}x(p),F(()=>{ce(j,"src",_(m).href),ce(j,"alt",_(m).caption)}),T($,p)},Zt=$=>{var p=De(),j=oe(p);{var ut=je=>{var J=Aa();J.__click=[Ea,m];var _e=k(J),ze=X(_e,2);{var Oe=I=>{var M=ka(),Q=X(oe(M),2),ae=k(Q),he=k(ae,!0);x(ae);var P=X(ae,2);{var H=V=>{var U=xa(),ie=k(U,!0);x(U),F(()=>ue(ie,_(m).duration)),T(V,U)};z(P,V=>{_(m).duration&&V(H)})}x(Q),F(()=>ue(he,_(m).caption)),T(I,M)},Z=I=>{var M=De(),Q=oe(M);{var ae=he=>{var P=Ta(),H=k(P),V=k(H,!0);x(H),x(P),F(()=>ue(V,_(m).caption)),T(he,P)};z(Q,he=>{_(m).caption&&he(ae)},!0)}T(I,M)};z(ze,I=>{f()==="videos"?I(Oe):I(Z,!1)})}x(J),F(()=>{ce(_e,"src",_(m).href),ce(_e,"alt",_(m).caption)}),T(je,J)},Qt=je=>{var J=De(),_e=oe(J);{var ze=Z=>{var I=Ca();I.__click=[Ra,r,m];var M=k(I),Q=X(M,2);{var ae=P=>{var H=Oa(),V=X(oe(H),2),U=k(V),ie=k(U,!0);x(U);var ye=X(U,2);{var Se=ge=>{var Ge=Na(),er=k(Ge,!0);x(Ge),F(()=>ue(er,_(m).duration)),T(ge,Ge)};z(ye,ge=>{_(m).duration&&ge(Se)})}x(V),F(()=>ue(ie,_(m).caption)),T(P,H)},he=P=>{var H=De(),V=oe(H);{var U=ie=>{var ye=Sa(),Se=k(ye),ge=k(Se,!0);x(Se),x(ye),F(()=>ue(ge,_(m).caption)),T(ie,ye)};z(V,ie=>{_(m).caption&&ie(U)},!0)}T(P,H)};z(Q,P=>{f()==="videos"?P(ae):P(he,!1)})}x(I),F(()=>{ce(M,"src",_(m).href),ce(M,"alt",_(m).caption)}),T(Z,I)},Oe=Z=>{var I=Ma(),M=k(I),Q=X(M,2);{var ae=P=>{var H=Pa(),V=X(oe(H),2),U=k(V),ie=k(U,!0);x(U);var ye=X(U,2);{var Se=ge=>{var Ge=Ia(),er=k(Ge,!0);x(Ge),F(()=>ue(er,_(m).duration)),T(ge,Ge)};z(ye,ge=>{_(m).duration&&ge(Se)})}x(V),F(()=>ue(ie,_(m).caption)),T(P,H)},he=P=>{var H=De(),V=oe(H);{var U=ie=>{var ye=La(),Se=k(ye),ge=k(Se,!0);x(Se),x(ye),F(()=>ue(ge,_(m).caption)),T(ie,ye)};z(V,ie=>{_(m).caption&&ie(U)},!0)}T(P,H)};z(Q,P=>{f()==="videos"?P(ae):P(he,!1)})}x(I),F(()=>{ce(M,"src",_(m).href),ce(M,"alt",_(m).caption)}),T(Z,I)};z(_e,Z=>{_(m).key?Z(ze):Z(Oe,!1)},!0)}T(je,J)};z(j,je=>{_(m).link?je(ut):je(Qt,!1)},!0)}T($,p)};z(rt,$=>{_(m).externalLink?$(Jt):$(Zt,!1)})}T(ne,Be)});var qe=X(K,2);qe.__click=[Da,d,s],ce(qe,"href",null),x(C),x(w),F(()=>ce(C,"style",`grid-template-columns: repeat(${_(o)??""}, auto);`)),T(h,w)};z(g,h=>{var w;(w=_(l))!=null&&w.length&&h(R)})}return la("innerWidth",h=>L(c,B(h))),T(e,y),Dr({get id(){return a()},set id(h=""){a(h),Me()},get style(){return n()},set style(h){n(h),Me()},get data(){return i()},set data(h){i(h),Me()},get slide(){return s()},set slide(h=0){s(h),Me()},get type(){return f()},set type(h="images"){f(h),Me()},get size(){return u()},set size(h=void 0){u(h),Me()}})}Jn(["click"]),customElements.define("hb-site-slideshow-horizontal",va(Xr,{id:{},style:{},data:{},slide:{},type:{},size:{}},[],[],!0)),N.Component=Xr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})})(this["site-slideshow-horizontal"]=this["site-slideshow-horizontal"]||{});
1
+ (function(or){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const dn=1,_n=2,hn=16,pn=1,wn=2,ur="[",Ot="[!",Ct="]",Ze={},F=Symbol(),gn="http://www.w3.org/1999/xhtml",fr=!1;var Pt=Array.isArray,mn=Array.prototype.indexOf,Mt=Array.from,wt=Object.keys,Qe=Object.defineProperty,et=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyDescriptors,yn=Object.prototype,kn=Array.prototype,cr=Object.getPrototypeOf,vr=Object.isExtensible;function dr(e){for(var t=0;t<e.length;t++)e[t]()}function bn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const te=2,It=4,Lt=8,tt=16,$e=32,Ce=64,_r=128,se=256,gt=512,Y=1024,ae=2048,Pe=4096,ve=8192,ze=16384,Dt=32768,Ft=65536,hr=1<<17,En=1<<18,rt=1<<19,$n=1<<20,jt=1<<21,qt=1<<22,Ye=1<<23,zt=Symbol("$state"),Tn=Symbol("legacy props"),Sn=Symbol(""),Yt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},pr=3,vt=8;function An(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Rn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Nn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function On(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Cn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mn(){throw new Error("https://svelte.dev/e/hydration_failed")}function In(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Dn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function mt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let O=!1;function Te(e){O=e}let N;function me(e){if(e===null)throw mt(),Ze;return N=e}function xt(){return me(Ie(N))}function S(e){if(O){if(Ie(N)!==null)throw mt(),Ze;N=e}}function Ht(){for(var e=0,t=N;;){if(t.nodeType===vt){var r=t.data;if(r===Ct){if(e===0)return t;e-=1}else(r===ur||r===Ot)&&(e+=1)}var n=Ie(t);t.remove(),t=n}}function wr(e){if(!e||e.nodeType!==vt)throw mt(),Ze;return e.data}function gr(e){return e===this.v}function Fn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function mr(e){return!Fn(e,this.v)}let jn=!1,de=null;function yt(e){de=e}function xr(e,t=!1,r){de={p:de,c:null,e:null,s:e,x:null,l:null}}function yr(e){var t=de,r=t.e;if(r!==null){t.e=null;for(var n of r)jr(n)}return e!==void 0&&(t.x=e),de=t.p,e??{}}function kr(){return!0}const qn=new WeakMap;function zn(e){var t=k;if(t===null)return E.f|=Ye,e;if((t.f&Dt)===0){if((t.f&_r)===0)throw!t.parent&&e instanceof Error&&br(e),e;t.b.error(e)}else Ut(e,t)}function Ut(e,t){for(;t!==null;){if((t.f&_r)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&br(e),e}function br(e){const t=qn.get(e);t&&(Qe(e,"message",{value:t.message}),Qe(e,"stack",{value:t.stack}))}let Vt=[],Gt=[];function Yn(){var e=Vt;Vt=[],dr(e)}function Hn(){var e=Gt;Gt=[],dr(e)}function Un(){Vt.length>0&&Yn(),Gt.length>0&&Hn()}function Vn(){const e=k.b;return e===null&&An(),e}function kt(e){var t=te|ae,r=E!==null&&(E.f&te)!==0?E:null;return k===null||r!==null&&(r.f&se)!==0?t|=se:k.f|=rt,{ctx:de,deps:null,effects:null,equals:gr,f:t,fn:e,reactions:null,rv:0,v:F,wv:0,parent:r??k,ac:null}}function Gn(e,t){let r=k;r===null&&Rn();var n=r.b,i=void 0,l=dt(F),s=null,o=!E;return ai(()=>{try{var a=e();s&&Promise.resolve(a).catch(()=>{})}catch(d){a=Promise.reject(d)}var u=()=>a;i=s?.then(u,u)??Promise.resolve(a),s=i;var f=I,h=n.is_pending();o&&(n.update_pending_count(1),h||f.increment());const c=(d,v=void 0)=>{s=null,h||f.activate(),v?v!==Yt&&(l.f|=Ye,Tt(l,v)):((l.f&Ye)!==0&&(l.f^=Ye),Tt(l,d)),o&&(n.update_pending_count(-1),h||f.decrement()),Tr()};if(i.then(c,d=>c(null,d||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(a=>{function u(f){function h(){f===i?a(l):u(i)}f.then(h,h)}u(i)})}function Bn(e){const t=kt(e);return Wr(t),t}function Wn(e){const t=kt(e);return t.equals=mr,t}function Er(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ye(t[r])}}function Xn(e){for(var t=e.parent;t!==null;){if((t.f&te)===0)return t;t=t.parent}return null}function Bt(e){var t,r=k;Le(Xn(e));try{Er(e),t=Qr(e)}finally{Le(r)}return t}function $r(e){var t=Bt(e);if(e.equals(t)||(e.v=t,e.wv=Jr()),!We){var r=(De||(e.f&se)!==0)&&e.deps!==null?Pe:Y;J(e,r)}}function Kn(e,t,r){const n=kt;if(t.length===0){r(e.map(n));return}var i=I,l=k,s=Jn(),o=Vn();Promise.all(t.map(a=>Gn(a))).then(a=>{i?.activate(),s();try{r([...e.map(n),...a])}catch(u){(l.f&ze)===0&&Ut(u,l)}i?.deactivate(),Tr()}).catch(a=>{o.error(a)})}function Jn(){var e=k,t=E,r=de,n=I;return function(){Le(e),ke(t),yt(r),n?.activate()}}function Tr(){Le(null),ke(null),yt(null)}const Wt=new Set;let I=null,Sr=new Set,bt=[];function Ar(){const e=bt.shift();bt.length>0&&queueMicrotask(Ar),e()}let He=[],Et=null,Xt=!1,$t=!1;class Ue{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#s=[];#l=[];#n=[];#a=[];#c=[];#v=[];skipped_effects=new Set;process(t){He=[];for(const i of t)this.#_(i);if(this.#i.length===0&&this.#r===0){this.#d();var r=this.#l,n=this.#n;this.#l=[],this.#n=[],this.#a=[],I=null,Nr(r),Nr(n),I===null?I=this:Wt.delete(this),this.#u?.resolve()}else this.#o(this.#l),this.#o(this.#n),this.#o(this.#a);for(const i of this.#i)ot(i);for(const i of this.#s)ot(i);this.#i=[],this.#s=[]}#_(t){t.f^=Y;for(var r=t.first;r!==null;){var n=r.f,i=(n&($e|Ce))!==0,l=i&&(n&Y)!==0,s=l||(n&ve)!==0||this.skipped_effects.has(r);if(!s&&r.fn!==null){if(i)r.f^=Y;else if((n&It)!==0)this.#n.push(r);else if((n&Y)===0)if((n&qt)!==0){var o=r.b?.is_pending()?this.#s:this.#i;o.push(r)}else St(r)&&((r.f&tt)!==0&&this.#a.push(r),ot(r));var a=r.first;if(a!==null){r=a;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#o(t){for(const r of t)((r.f&ae)!==0?this.#c:this.#v).push(r),J(r,Y);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){I=this}deactivate(){I=null;for(const t of Sr)if(Sr.delete(t),t(),I!==null)break}neuter(){this.#f=!0}flush(){He.length>0?Rr():this.#d(),I===this&&(this.#r===0&&Wt.delete(this),this.deactivate())}#d(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)J(t,ae),it(t);for(const t of this.#v)J(t,Pe),it(t);this.#l=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=bn()).promise}static ensure(){if(I===null){const t=I=new Ue;Wt.add(I),$t||Ue.enqueue(()=>{I===t&&t.flush()})}return I}static enqueue(t){bt.length===0&&queueMicrotask(Ar),bt.unshift(t)}}function nt(e){var t=$t;$t=!0;try{for(var r;;){if(Un(),He.length===0&&(I?.flush(),He.length===0))return Et=null,r;Rr()}}finally{$t=t}}function Rr(){var e=at;Xt=!0;try{var t=0;for(Gr(!0);He.length>0;){var r=Ue.ensure();if(t++>1e3){var n,i;Zn()}r.process(He),Me.clear()}}finally{Xt=!1,Gr(e),Et=null}}function Zn(){try{Pn()}catch(e){Ut(e,Et)}}let Ve=null;function Nr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ze|ve))===0&&St(n)&&(Ve=[],ot(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Hr(n):n.fn=null),Ve?.length>0)){Me.clear();for(const i of Ve)ot(i);Ve=[]}}Ve=null}}function it(e){for(var t=Et=e;t.parent!==null;){t=t.parent;var r=t.f;if(Xt&&t===k&&(r&tt)!==0)return;if((r&(Ce|$e))!==0){if((r&Y)===0)return;t.f^=Y}}He.push(t)}const Me=new Map;function dt(e,t){var r={f:0,v:e,reactions:null,equals:gr,rv:0,wv:0};return r}function _e(e,t){const r=dt(e);return Wr(r),r}function Or(e,t=!1,r=!0){const n=dt(e);return t||(n.equals=mr),n}function H(e,t,r=!1){E!==null&&(!Xe||(E.f&hr)!==0)&&kr()&&(E.f&(te|tt|qt|hr))!==0&&!Se?.includes(e)&&Dn();let n=r?Ge(t):t;return Tt(e,n)}function Tt(e,t){if(!e.equals(t)){var r=e.v;We?Me.set(e,t):Me.set(e,r),e.v=t;var n=Ue.ensure();n.capture(e,r),(e.f&te)!==0&&((e.f&ae)!==0&&Bt(e),J(e,(e.f&se)===0?Y:Pe)),e.wv=Jr(),Cr(e,ae),k!==null&&(k.f&Y)!==0&&(k.f&($e|Ce))===0&&(ue===null?ci([e]):ue.push(e))}return t}function Kt(e){H(e,e.v+1)}function Cr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var l=r[i],s=l.f,o=(s&ae)===0;o&&J(l,t),(s&te)!==0?Cr(l,Pe):o&&((s&tt)!==0&&Ve!==null&&Ve.push(l),it(l))}}function Ge(e){if(typeof e!="object"||e===null||zt in e)return e;const t=cr(e);if(t!==yn&&t!==kn)return e;var r=new Map,n=Pt(e),i=_e(0),l=Ke,s=o=>{if(Ke===l)return o();var a=E,u=Ke;ke(null),Kr(l);var f=o();return ke(a),Kr(u),f};return n&&r.set("length",_e(e.length)),new Proxy(e,{defineProperty(o,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&In();var f=r.get(a);return f===void 0?f=s(()=>{var h=_e(u.value);return r.set(a,h),h}):H(f,u.value,!0),!0},deleteProperty(o,a){var u=r.get(a);if(u===void 0){if(a in o){const f=s(()=>_e(F));r.set(a,f),Kt(i)}}else H(u,F),Kt(i);return!0},get(o,a,u){if(a===zt)return e;var f=r.get(a),h=a in o;if(f===void 0&&(!h||et(o,a)?.writable)&&(f=s(()=>{var d=Ge(h?o[a]:F),v=_e(d);return v}),r.set(a,f)),f!==void 0){var c=p(f);return c===F?void 0:c}return Reflect.get(o,a,u)},getOwnPropertyDescriptor(o,a){var u=Reflect.getOwnPropertyDescriptor(o,a);if(u&&"value"in u){var f=r.get(a);f&&(u.value=p(f))}else if(u===void 0){var h=r.get(a),c=h?.v;if(h!==void 0&&c!==F)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(o,a){if(a===zt)return!0;var u=r.get(a),f=u!==void 0&&u.v!==F||Reflect.has(o,a);if(u!==void 0||k!==null&&(!f||et(o,a)?.writable)){u===void 0&&(u=s(()=>{var c=f?Ge(o[a]):F,d=_e(c);return d}),r.set(a,u));var h=p(u);if(h===F)return!1}return f},set(o,a,u,f){var h=r.get(a),c=a in o;if(n&&a==="length")for(var d=u;d<h.v;d+=1){var v=r.get(d+"");v!==void 0?H(v,F):d in o&&(v=s(()=>_e(F)),r.set(d+"",v))}if(h===void 0)(!c||et(o,a)?.writable)&&(h=s(()=>_e(void 0)),H(h,Ge(u)),r.set(a,h));else{c=h.v!==F;var _=s(()=>Ge(u));H(h,_)}var w=Reflect.getOwnPropertyDescriptor(o,a);if(w?.set&&w.set.call(f,u),!c){if(n&&typeof a=="string"){var $=r.get("length"),x=Number(a);Number.isInteger(x)&&x>=$.v&&H($,x+1)}Kt(i)}return!0},ownKeys(o){p(i);var a=Reflect.ownKeys(o).filter(h=>{var c=r.get(h);return c===void 0||c.v!==F});for(var[u,f]of r)f.v!==F&&!(u in o)&&a.push(u);return a},setPrototypeOf(){Ln()}})}var Pr,Mr,Ir,Lr;function Jt(){if(Pr===void 0){Pr=window,Mr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ir=et(t,"firstChild").get,Lr=et(t,"nextSibling").get,vr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vr(r)&&(r.__t=void 0)}}function Be(e=""){return document.createTextNode(e)}function lt(e){return Ir.call(e)}function Ie(e){return Lr.call(e)}function A(e,t){if(!O)return lt(e);var r=lt(N);if(r===null)r=N.appendChild(Be());else if(t&&r.nodeType!==pr){var n=Be();return r?.before(n),me(n),n}return me(r),r}function oe(e,t){if(!O){var r=lt(e);return r instanceof Comment&&r.data===""?Ie(r):r}return N}function K(e,t=1,r=!1){let n=O?N:e;for(var i;t--;)i=n,n=Ie(n);if(!O)return n;if(r&&n?.nodeType!==pr){var l=Be();return n===null?i?.after(l):n.before(l),me(l),l}return me(n),n}function Dr(e){e.textContent=""}function Fr(){return!1}function Qn(e,t,r,n=!0){n&&r();for(var i of t)e.addEventListener(i,r);ri(()=>{for(var l of t)e.removeEventListener(l,r)})}function Zt(e){var t=E,r=k;ke(null),Le(null);try{return e()}finally{ke(t),Le(r)}}function ei(e){k===null&&E===null&&Cn(),E!==null&&(E.f&se)!==0&&k===null&&On(),We&&Nn()}function ti(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function xe(e,t,r,n=!0){var i=k;i!==null&&(i.f&ve)!==0&&(e|=ve);var l={ctx:de,deps:null,nodes_start:null,nodes_end:null,f:e|ae,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{ot(l),l.f|=Dt}catch(a){throw ye(l),a}else t!==null&&it(l);if(n){var s=l;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&rt)===0&&(s=s.first),s!==null&&(s.parent=i,i!==null&&ti(s,i),E!==null&&(E.f&te)!==0&&(e&Ce)===0)){var o=E;(o.effects??=[]).push(s)}}return l}function ri(e){const t=xe(Lt,null,!1);return J(t,Y),t.teardown=e,t}function ni(e){ei();var t=k.f,r=!E&&(t&$e)!==0&&(t&Dt)===0;if(r){var n=de;(n.e??=[]).push(e)}else return jr(e)}function jr(e){return xe(It|$n,e,!1)}function ii(e){Ue.ensure();const t=xe(Ce|rt,e,!0);return()=>{ye(t)}}function li(e){Ue.ensure();const t=xe(Ce|rt,e,!0);return(r={})=>new Promise(n=>{r.outro?Qt(t,()=>{ye(t),n(void 0)}):(ye(t),n(void 0))})}function si(e){return xe(It,e,!1)}function ai(e){return xe(qt|rt,e,!0)}function oi(e,t=0){return xe(Lt|t,e,!0)}function j(e,t=[],r=[]){Kn(t,r,n=>{xe(Lt,()=>e(...n.map(p)),!0)})}function qr(e,t=0){var r=xe(tt|t,e,!0);return r}function st(e,t=!0){return xe($e|rt,e,!0,t)}function zr(e){var t=e.teardown;if(t!==null){const r=We,n=E;Br(!0),ke(null);try{t.call(null)}finally{Br(r),ke(n)}}}function Yr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Zt(()=>{i.abort(Yt)});var n=r.next;(r.f&Ce)!==0?r.parent=null:ye(r,t),r=n}}function ui(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&$e)===0&&ye(t),t=r}}function ye(e,t=!0){var r=!1;(t||(e.f&En)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(fi(e.nodes_start,e.nodes_end),r=!0),Yr(e,t&&!r),At(e,0),J(e,ze);var n=e.transitions;if(n!==null)for(const l of n)l.stop();zr(e);var i=e.parent;i!==null&&i.first!==null&&Hr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function fi(e,t){for(;e!==null;){var r=e===t?null:Ie(e);e.remove(),e=r}}function Hr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Qt(e,t){var r=[];er(e,r,!0),Ur(r,()=>{ye(e),t&&t()})}function Ur(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function er(e,t,r){if((e.f&ve)===0){if(e.f^=ve,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var i=n.next,l=(n.f&Ft)!==0||(n.f&$e)!==0;er(n,t,l?r:!1),n=i}}}function tr(e){Vr(e,!0)}function Vr(e,t){if((e.f&ve)!==0){e.f^=ve,(e.f&Y)===0&&(J(e,ae),it(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ft)!==0||(r.f&$e)!==0;Vr(r,i?t:!1),r=n}if(e.transitions!==null)for(const l of e.transitions)(l.is_global||t)&&l.in()}}let at=!1;function Gr(e){at=e}let We=!1;function Br(e){We=e}let E=null,Xe=!1;function ke(e){E=e}let k=null;function Le(e){k=e}let Se=null;function Wr(e){E!==null&&(Se===null?Se=[e]:Se.push(e))}let B=null,re=0,ue=null;function ci(e){ue=e}let Xr=1,_t=0,Ke=_t;function Kr(e){Ke=e}let De=!1;function Jr(){return++Xr}function St(e){var t=e.f;if((t&ae)!==0)return!0;if((t&Pe)!==0){var r=e.deps,n=(t&se)!==0;if(r!==null){var i,l,s=(t&gt)!==0,o=n&&k!==null&&!De,a=r.length;if((s||o)&&(k===null||(k.f&ze)===0)){var u=e,f=u.parent;for(i=0;i<a;i++)l=r[i],(s||!l?.reactions?.includes(u))&&(l.reactions??=[]).push(u);s&&(u.f^=gt),o&&f!==null&&(f.f&se)===0&&(u.f^=se)}for(i=0;i<a;i++)if(l=r[i],St(l)&&$r(l),l.wv>e.wv)return!0}(!n||k!==null&&!De)&&J(e,Y)}return!1}function Zr(e,t,r=!0){var n=e.reactions;if(n!==null&&!Se?.includes(e))for(var i=0;i<n.length;i++){var l=n[i];(l.f&te)!==0?Zr(l,t,!1):t===l&&(r?J(l,ae):(l.f&Y)!==0&&J(l,Pe),it(l))}}function Qr(e){var t=B,r=re,n=ue,i=E,l=De,s=Se,o=de,a=Xe,u=Ke,f=e.f;B=null,re=0,ue=null,De=(f&se)!==0&&(Xe||!at||E===null),E=(f&($e|Ce))===0?e:null,Se=null,yt(e.ctx),Xe=!1,Ke=++_t,e.ac!==null&&(Zt(()=>{e.ac.abort(Yt)}),e.ac=null);try{e.f|=jt;var h=e.fn,c=h(),d=e.deps;if(B!==null){var v;if(At(e,re),d!==null&&re>0)for(d.length=re+B.length,v=0;v<B.length;v++)d[re+v]=B[v];else e.deps=d=B;if(!De||(f&te)!==0&&e.reactions!==null)for(v=re;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&re<d.length&&(At(e,re),d.length=re);if(kr()&&ue!==null&&!Xe&&d!==null&&(e.f&(te|Pe|ae))===0)for(v=0;v<ue.length;v++)Zr(ue[v],e);return i!==null&&i!==e&&(_t++,ue!==null&&(n===null?n=ue:n.push(...ue))),(e.f&Ye)!==0&&(e.f^=Ye),c}catch(_){return zn(_)}finally{e.f^=jt,B=t,re=r,ue=n,E=i,De=l,Se=s,yt(o),Xe=a,Ke=u}}function vi(e,t){let r=t.reactions;if(r!==null){var n=mn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&te)!==0&&(B===null||!B.includes(t))&&(J(t,Pe),(t.f&(se|gt))===0&&(t.f^=gt),Er(t),At(t,0))}function At(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)vi(e,r[n])}function ot(e){var t=e.f;if((t&ze)===0){J(e,Y);var r=k,n=at;k=e,at=!0;try{(t&tt)!==0?ui(e):Yr(e),zr(e);var i=Qr(e);e.teardown=typeof i=="function"?i:null,e.wv=Xr;var l;fr&&jn&&(e.f&ae)!==0&&e.deps}finally{at=n,k=r}}}function p(e){var t=e.f,r=(t&te)!==0;if(E!==null&&!Xe){var n=k!==null&&(k.f&ze)!==0;if(!n&&!Se?.includes(e)){var i=E.deps;if((E.f&jt)!==0)e.rv<_t&&(e.rv=_t,B===null&&i!==null&&i[re]===e?re++:B===null?B=[e]:(!De||!B.includes(e))&&B.push(e));else{(E.deps??=[]).push(e);var l=e.reactions;l===null?e.reactions=[E]:l.includes(E)||l.push(E)}}}else if(r&&e.deps===null&&e.effects===null){var s=e,o=s.parent;o!==null&&(o.f&se)===0&&(s.f^=se)}if(We){if(Me.has(e))return Me.get(e);if(r){s=e;var a=s.v;return((s.f&Y)===0&&s.reactions!==null||en(s))&&(a=Bt(s)),Me.set(s,a),a}}else r&&(s=e,St(s)&&$r(s));if((e.f&Ye)!==0)throw e.v;return e.v}function en(e){if(e.v===F)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Me.has(t)||(t.f&te)!==0&&en(t))return!0;return!1}const di=-7169;function J(e,t){e.f=e.f&di|t}const tn=new Set,rr=new Set;function _i(e){for(var t=0;t<e.length;t++)tn.add(e[t]);for(var r of rr)r(e)}let rn=null;function Rt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],l=i[0]||e.target;rn=e;var s=0,o=rn===e&&e.__root;if(o){var a=i.indexOf(o);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;a<=u&&(s=a)}if(l=i[s]||e.target,l!==t){Qe(e,"currentTarget",{configurable:!0,get(){return l||r}});var f=E,h=k;ke(null),Le(null);try{for(var c,d=[];l!==null;){var v=l.assignedSlot||l.parentNode||l.host||null;try{var _=l["__"+n];if(_!=null&&(!l.disabled||e.target===l))if(Pt(_)){var[w,...$]=_;w.apply(l,[e,...$])}else _.call(l,e)}catch(x){c?d.push(x):c=x}if(e.cancelBubble||v===t||v===null)break;l=v}if(c){for(let x of d)queueMicrotask(()=>{throw x});throw c}}finally{e.__root=t,delete e.currentTarget,ke(f),Le(h)}}}function hi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ut(e,t){var r=k;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function q(e,t){var r=(t&pn)!==0,n=(t&wn)!==0,i,l=!e.startsWith("<!>");return()=>{if(O)return ut(N,null),N;i===void 0&&(i=hi(l?e:"<!>"+e),r||(i=lt(i)));var s=n||Mr?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=lt(s),a=s.lastChild;ut(o,a)}else ut(s,s);return s}}function Fe(){if(O)return ut(N,null),N;var e=document.createDocumentFragment(),t=document.createComment(""),r=Be();return e.append(t,r),ut(t,r),e}function R(e,t){if(O){k.nodes_end=N,xt();return}e!==null&&e.before(t)}const pi=["touchstart","touchmove"];function wi(e){return pi.includes(e)}function fe(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function nn(e,t){return ln(e,t)}function gi(e,t){Jt(),t.intro=t.intro??!1;const r=t.target,n=O,i=N;try{for(var l=lt(r);l&&(l.nodeType!==vt||l.data!==ur);)l=Ie(l);if(!l)throw Ze;Te(!0),me(l),xt();const s=ln(e,{...t,anchor:l});if(N===null||N.nodeType!==vt||N.data!==Ct)throw mt(),Ze;return Te(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
2
+ `).some(o=>o.startsWith("https://svelte.dev/e/")))throw s;return s!==Ze&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Mn(),Jt(),Dr(r),Te(!1),nn(e,t)}finally{Te(n),me(i)}}const ft=new Map;function ln(e,{target:t,anchor:r,props:n={},events:i,context:l,intro:s=!0}){Jt();var o=new Set,a=h=>{for(var c=0;c<h.length;c++){var d=h[c];if(!o.has(d)){o.add(d);var v=wi(d);t.addEventListener(d,Rt,{passive:v});var _=ft.get(d);_===void 0?(document.addEventListener(d,Rt,{passive:v}),ft.set(d,1)):ft.set(d,_+1)}}};a(Mt(tn)),rr.add(a);var u=void 0,f=li(()=>{var h=r??t.appendChild(Be());return st(()=>{if(l){xr({});var c=de;c.c=l}i&&(n.$$events=i),O&&ut(h,null),u=e(h,n)||{},O&&(k.nodes_end=N),l&&yr()}),()=>{for(var c of o){t.removeEventListener(c,Rt);var d=ft.get(c);--d===0?(document.removeEventListener(c,Rt),ft.delete(c)):ft.set(c,d)}rr.delete(a),h!==r&&h.parentNode?.removeChild(h)}});return nr.set(u,f),u}let nr=new WeakMap;function mi(e,t){const r=nr.get(e);return r?(nr.delete(e),r(t)):Promise.resolve()}function U(e,t,r=!1){O&&xt();var n=e,i=null,l=null,s=F,o=r?Ft:0,a=!1;const u=(d,v=!0)=>{a=!0,c(v,d)};var f=null;function h(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var d=s?i:l,v=s?l:i;d&&tr(d),v&&Qt(v,()=>{s?l=null:i=null})}const c=(d,v)=>{if(s===(s=d))return;let _=!1;if(O){const C=wr(n)===Ot;!!s===C&&(n=Ht(),me(n),Te(!1),_=!0)}var w=Fr(),$=n;if(w&&(f=document.createDocumentFragment(),f.append($=Be())),s?i??=v&&st(()=>v($)):l??=v&&st(()=>v($)),w){var x=I,b=s?i:l,T=s?l:i;b&&x.skipped_effects.delete(b),T&&x.skipped_effects.add(T),x.add_callback(h)}else h();_&&Te(!0)};qr(()=>{a=!1,t(u),a||c(null,null)},o),O&&(n=N)}function xi(e,t,r){for(var n=e.items,i=[],l=t.length,s=0;s<l;s++)er(t[s].e,i,!0);var o=l>0&&i.length===0&&r!==null;if(o){var a=r.parentNode;Dr(a),a.append(r),n.clear(),be(e,t[0].prev,t[l-1].next)}Ur(i,()=>{for(var u=0;u<l;u++){var f=t[u];o||(n.delete(f.k),be(e,f.prev,f.next)),ye(f.e,!o)}})}function yi(e,t,r,n,i,l=null){var s=e,o={flags:t,items:new Map,first:null};O&&xt();var a=null,u=!1,f=new Map,h=Wn(()=>{var _=r();return Pt(_)?_:_==null?[]:Mt(_)}),c,d;function v(){ki(d,c,o,f,s,i,t,n,r),l!==null&&(c.length===0?a?tr(a):a=st(()=>l(s)):a!==null&&Qt(a,()=>{a=null}))}qr(()=>{d??=k,c=p(h);var _=c.length;if(u&&_===0)return;u=_===0;let w=!1;if(O){var $=wr(s)===Ot;$!==(_===0)&&(s=Ht(),me(s),Te(!1),w=!0)}if(O){for(var x=null,b,T=0;T<_;T++){if(N.nodeType===vt&&N.data===Ct){s=N,w=!0,Te(!1);break}var C=c[T],L=n(C,T);b=ir(N,o,x,null,C,L,T,i,t,r),o.items.set(L,b),x=b}_>0&&me(Ht())}if(O)_===0&&l&&(a=st(()=>l(s)));else if(Fr()){var g=new Set,ne=I;for(T=0;T<_;T+=1){C=c[T],L=n(C,T);var V=o.items.get(L)??f.get(L);V?sn(V,C,T):(b=ir(null,o,null,null,C,L,T,i,t,r,!0),f.set(L,b)),g.add(L)}for(const[Ae,Re]of o.items)g.has(Ae)||ne.skipped_effects.add(Re.e);ne.add_callback(v)}else v();w&&Te(!0),p(h)}),O&&(s=N)}function ki(e,t,r,n,i,l,s,o,a){var u=t.length,f=r.items,h=r.first,c=h,d,v=null,_=[],w=[],$,x,b,T;for(T=0;T<u;T+=1){if($=t[T],x=o($,T),b=f.get(x),b===void 0){var C=n.get(x);if(C!==void 0){n.delete(x),f.set(x,C);var L=v?v.next:c;be(r,v,C),be(r,C,L),lr(C,L,i),v=C}else{var g=c?c.e.nodes_start:i;v=ir(g,r,v,v===null?r.first:v.next,$,x,T,l,s,a)}f.set(x,v),_=[],w=[],c=v.next;continue}if(sn(b,$,T),(b.e.f&ve)!==0&&tr(b.e),b!==c){if(d!==void 0&&d.has(b)){if(_.length<w.length){var ne=w[0],V;v=ne.prev;var Ae=_[0],Re=_[_.length-1];for(V=0;V<_.length;V+=1)lr(_[V],ne,i);for(V=0;V<w.length;V+=1)d.delete(w[V]);be(r,Ae.prev,Re.next),be(r,v,Ae),be(r,Re,ne),c=ne,v=Re,T-=1,_=[],w=[]}else d.delete(b),lr(b,c,i),be(r,b.prev,b.next),be(r,b,v===null?r.first:v.next),be(r,v,b),v=b;continue}for(_=[],w=[];c!==null&&c.k!==x;)(c.e.f&ve)===0&&(d??=new Set).add(c),w.push(c),c=c.next;if(c===null)continue;b=c}_.push(b),v=b,c=b.next}if(c!==null||d!==void 0){for(var ce=d===void 0?[]:Mt(d);c!==null;)(c.e.f&ve)===0&&ce.push(c),c=c.next;var y=ce.length;if(y>0){var m=null;xi(r,ce,m)}}e.first=r.first&&r.first.e,e.last=v&&v.e;for(var z of n.values())ye(z.e);n.clear()}function sn(e,t,r,n){Tt(e.v,t),e.i=r}function ir(e,t,r,n,i,l,s,o,a,u,f){var h=(a&dn)!==0,c=(a&hn)===0,d=h?c?Or(i,!1,!1):dt(i):i,v=(a&_n)===0?s:dt(s),_={i:v,v:d,k:l,a:null,e:null,prev:r,next:n};try{if(e===null){var w=document.createDocumentFragment();w.append(e=Be())}return _.e=st(()=>o(e,d,v,u),O),_.e.prev=r&&r.e,_.e.next=n&&n.e,r===null?f||(t.first=_):(r.next=_,r.e.next=_.e),n!==null&&(n.prev=_,n.e.prev=_.e),_}finally{}}function lr(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,l=e.e.nodes_start;l!==null&&l!==n;){var s=Ie(l);i.before(l),l=s}}function be(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function bi(e,t){si(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ei(e,t){return e==null?null:String(e)}function $i(e,t,r,n){var i=e.__style;if(O||i!==t){var l=Ei(t);(!O||l!==e.getAttribute("style"))&&(l==null?e.removeAttribute("style"):e.style.cssText=l),e.__style=t}return n}const Ti=Symbol("is custom element"),Si=Symbol("is html");function Ee(e,t,r,n){var i=Ai(e);O&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Sn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Ri(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ai(e){return e.__attributes??={[Ti]:e.nodeName.includes("-"),[Si]:e.namespaceURI===gn}}var an=new Map;function Ri(e){var t=e.getAttribute("is")||e.nodeName,r=an.get(t);if(r)return r;an.set(t,r=[]);for(var n,i=e,l=Element.prototype;l!==i;){n=xn(i);for(var s in n)n[s].set&&r.push(s);i=cr(i)}return r}function Ni(e,t){Qn(window,["resize"],()=>Zt(()=>t(window[e])))}function ht(e,t,r,n){var i=n,l=!0,s=()=>(l&&(l=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=s());var a;a=()=>{var c=e[t];return c===void 0?s():(l=!0,c)};var u=!1,f=kt(()=>(u=!1,a())),h=k;return(function(c,d){if(arguments.length>0){const v=d?p(f):c;return H(f,v),u=!0,i!==void 0&&(i=v),c}return We&&u||(h.f&ze)!==0?f.v:p(f)})}function Oi(e){return new Ci(e)}class Ci{#t;#e;constructor(t){var r=new Map,n=(l,s)=>{var o=Or(s,!1,!1);return r.set(l,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(l,s){return p(r.get(s)??n(s,Reflect.get(l,s)))},has(l,s){return s===Tn?!0:(p(r.get(s)??n(s,Reflect.get(l,s))),Reflect.has(l,s))},set(l,s,o){return H(r.get(s)??n(s,o),o),Reflect.set(l,s,o)}});this.#e=(t.hydrate?gi:nn)(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)&&nt(),this.#t=i.$$events;for(const l of Object.keys(this.#e))l==="$set"||l==="$destroy"||l==="$on"||Qe(this,l,{get(){return this.#e[l]},set(s){this.#e[l]=s},enumerable:!0});this.#e.$set=l=>{Object.assign(i,l)},this.#e.$destroy=()=>{mi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let on;typeof HTMLElement=="function"&&(on=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const l=document.createElement("slot");n!=="default"&&(l.name=n),R(i,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Pi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Nt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=Oi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ii(()=>{oi(()=>{this.$$r=!0;for(const n of wt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Nt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const l=this.$$c.$on(n,i);this.$$l_u.set(i,l)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Nt(e,r,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 wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Nt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 Pi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Mi(e,t,r,n,i,l){let s=class extends on{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return wt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return wt(t).forEach(o=>{Qe(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(a){a=Nt(o,a,t),this.$$d[o]=a;var u=this.$$c;if(u){var f=et(u,o)?.get;f?u[o]=a:u.$set({[o]:a})}}})}),n.forEach(o=>{Qe(s.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=s,s}function Ii(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ct={},sr,un;function Li(){if(un)return sr;un=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,o=/^\s+|\s+$/g,a=`
3
+ `,u="/",f="*",h="",c="comment",d="declaration";sr=function(_,w){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];w=w||{};var $=1,x=1;function b(y){var m=y.match(t);m&&($+=m.length);var z=y.lastIndexOf(a);x=~z?y.length-z:x+y.length}function T(){var y={line:$,column:x};return function(m){return m.position=new C(y),ne(),m}}function C(y){this.start=y,this.end={line:$,column:x},this.source=w.source}C.prototype.content=_;function L(y){var m=new Error(w.source+":"+$+":"+x+": "+y);if(m.reason=y,m.filename=w.source,m.line=$,m.column=x,m.source=_,!w.silent)throw m}function g(y){var m=y.exec(_);if(m){var z=m[0];return b(z),_=_.slice(z.length),m}}function ne(){g(r)}function V(y){var m;for(y=y||[];m=Ae();)m!==!1&&y.push(m);return y}function Ae(){var y=T();if(!(u!=_.charAt(0)||f!=_.charAt(1))){for(var m=2;h!=_.charAt(m)&&(f!=_.charAt(m)||u!=_.charAt(m+1));)++m;if(m+=2,h===_.charAt(m-1))return L("End of comment missing");var z=_.slice(2,m-2);return x+=2,b(z),_=_.slice(m),x+=2,y({type:c,comment:z})}}function Re(){var y=T(),m=g(n);if(m){if(Ae(),!g(i))return L("property missing ':'");var z=g(l),pt=y({type:d,property:v(m[0].replace(e,h)),value:z?v(z[0].replace(e,h)):h});return g(s),pt}}function ce(){var y=[];V(y);for(var m;m=Re();)m!==!1&&(y.push(m),V(y));return y}return ne(),ce()};function v(_){return _?_.replace(o,h):h}return sr}var fn;function Di(){if(fn)return ct;fn=1;var e=ct&&ct.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ct,"__esModule",{value:!0}),ct.default=r;var t=e(Li());function r(n,i){var l=null;if(!n||typeof n!="string")return l;var s=(0,t.default)(n),o=typeof i=="function";return s.forEach(function(a){if(a.type==="declaration"){var u=a.property,f=a.value;o?i(u,f,a):f&&(l=l||{},l[u]=f)}}),l}return ct}var Fi=Di();const cn=Ii(Fi);cn.default;var ji=(e,t,r)=>{t(r()-1)},qi=(e,t)=>window.open(p(t).externalLink,"_blank"),zi=q('<div class="video_sub_time svelte-wkpx1l" part="video_sub_time"> </div>'),Yi=q('<div class="play svelte-wkpx1l"><div class="play_container svelte-wkpx1l"><div class="play_symbol svelte-wkpx1l">▶</div></div></div> <div class="video_sub svelte-wkpx1l"><div class="video_sub_title svelte-wkpx1l" part="video_sub_title"> </div> <!></div>',1),Hi=q('<div class="caption svelte-wkpx1l"><div class="caption_content svelte-wkpx1l" part="caption_content"> </div></div>'),Ui=q('<div class="item svelte-wkpx1l"><img class="svelte-wkpx1l"/> <!></div>'),Vi=(e,t)=>{p(t).link&&(window.location.href=p(t).link)},Gi=q('<div class="video_sub_time svelte-wkpx1l" part="video_sub_time"> </div>'),Bi=q('<div class="play svelte-wkpx1l"><div class="play_container svelte-wkpx1l"><div class="play_symbol svelte-wkpx1l">▶</div></div></div> <div class="video_sub svelte-wkpx1l"><div class="video_sub_title svelte-wkpx1l" part="video_sub_title"> </div> <!></div>',1),Wi=q('<div class="caption svelte-wkpx1l"><div class="caption_content svelte-wkpx1l" part="caption_content"> </div></div>'),Xi=q('<div class="item svelte-wkpx1l"><img class="svelte-wkpx1l"/> <!></div>'),Ki=(e,t,r)=>t("slideClick",{key:p(r).key}),Ji=q('<div class="video_sub_time svelte-wkpx1l" part="video_sub_time"> </div>'),Zi=q('<div class="play svelte-wkpx1l"><div class="play_container svelte-wkpx1l"><div class="play_symbol svelte-wkpx1l">▶</div></div></div> <div class="video_sub svelte-wkpx1l"><div class="video_sub_title svelte-wkpx1l" part="video_sub_title"> </div> <!></div>',1),Qi=q('<div class="caption svelte-wkpx1l"><div class="caption_content svelte-wkpx1l" part="caption_content"> </div></div>'),el=q('<div class="item svelte-wkpx1l"><img class="svelte-wkpx1l"/> <!></div>'),tl=q('<div class="video_sub_time svelte-wkpx1l" part="video_sub_time"> </div>'),rl=q('<div class="play svelte-wkpx1l"><div class="play_container svelte-wkpx1l"><div class="play_symbol svelte-wkpx1l">▶</div></div></div> <div class="video_sub svelte-wkpx1l"><div class="video_sub_title svelte-wkpx1l" part="video_sub_title"> </div> <!></div>',1),nl=q('<div class="caption svelte-wkpx1l"><div class="caption_content svelte-wkpx1l" part="caption_content"> </div></div>'),il=q('<div class="item svelte-wkpx1l"><img class="svelte-wkpx1l"/> <!></div>'),ll=(e,t,r)=>{t(r()+1)},sl=q('<div class="wrapper svelte-wkpx1l"><section class="svelte-wkpx1l"><a class="arrow__btn svelte-wkpx1l"><div>‹</div></a> <!> <a class="arrow__btn svelte-wkpx1l"><div>›</div></a></section></div>');const al={hash:"svelte-wkpx1l",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;}.wrapper.svelte-wkpx1l {display:grid;grid-template-columns:repeat(3, 100%);overflow:hidden;scroll-behavior:smooth;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) {width:100%;position:relative;display:grid;margin:20px 0;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) .item:where(.svelte-wkpx1l) {position:relative;padding:0 0px;transition:250ms all;z-index:1;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) .item:where(.svelte-wkpx1l):hover {margin:0 40px;transform:scale(1.2);cursor:pointer;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) .item:where(.svelte-wkpx1l):hover .video_sub:where(.svelte-wkpx1l) {display:block;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) a:where(.svelte-wkpx1l) {padding:0 20px;position:absolute;display:flex;color:white;text-decoration:none;font-size:6em;z-index:3;align-items:center;justify-content:center;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) a:where(.svelte-wkpx1l):nth-of-type(1) {top:0;bottom:0;left:0;background:linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) a:where(.svelte-wkpx1l):nth-of-type(1):hover {background:linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%) !important;}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) a:where(.svelte-wkpx1l):nth-of-type(2) {top:0;bottom:0;right:0;background:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-wkpx1l section:where(.svelte-wkpx1l) a:where(.svelte-wkpx1l):nth-of-type(2):hover {background:linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%) !important;}.wrapper.svelte-wkpx1l img:where(.svelte-wkpx1l) {width:100%;height:100%;object-fit:cover;}.wrapper.svelte-wkpx1l a:where(.svelte-wkpx1l) {cursor:pointer;}.wrapper.svelte-wkpx1l a:where(.svelte-wkpx1l):hover {color:white !important;}.wrapper.svelte-wkpx1l .play:where(.svelte-wkpx1l) {position:absolute;z-index:10;top:0;height:100%;width:100%;vertical-align:middle;line-height:100%;text-align:center;display:flex;}.wrapper.svelte-wkpx1l .play:where(.svelte-wkpx1l):hover {background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-wkpx1l .play:where(.svelte-wkpx1l):hover .play_container:where(.svelte-wkpx1l) {display:flex;}.wrapper.svelte-wkpx1l .play:where(.svelte-wkpx1l) {align-items:center;justify-content:center;}.wrapper.svelte-wkpx1l .play_container:where(.svelte-wkpx1l) {display:none;align-items:center;justify-content:center;color:white;border:6px solid white;border-radius:50%;width:4rem;height:4rem;text-align:center;}.wrapper.svelte-wkpx1l .play_symbol:where(.svelte-wkpx1l) {text-align:center;font-size:2rem;font-weight:bold;margin:0px 0px 3px 3px;}.wrapper.svelte-wkpx1l .caption:where(.svelte-wkpx1l) {position:absolute;z-index:10;top:0;height:100%;width:100%;vertical-align:middle;line-height:100%;text-align:center;display:flex;align-items:center;justify-content:center;}.wrapper.svelte-wkpx1l .caption:where(.svelte-wkpx1l):hover {background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);}.wrapper.svelte-wkpx1l .caption:where(.svelte-wkpx1l):hover .caption_content:where(.svelte-wkpx1l) {display:block;}.wrapper.svelte-wkpx1l .caption_content:where(.svelte-wkpx1l) {color:white;font-weight:bold;display:none;}.wrapper.svelte-wkpx1l .video_sub:where(.svelte-wkpx1l) {display:none;position:absolute;z-index:10;bottom:0;width:100%;}.wrapper.svelte-wkpx1l .video_sub:where(.svelte-wkpx1l) div:where(.svelte-wkpx1l) {display:inline-block;color:white;}.wrapper.svelte-wkpx1l .video_sub_time:where(.svelte-wkpx1l) {float:right;margin-right:10px;}.wrapper.svelte-wkpx1l .video_sub_title:where(.svelte-wkpx1l) {margin-left:10px;}.wrapper.svelte-wkpx1l:hover a:where(.svelte-wkpx1l) {color:transparent;background:transparent !important;}'};function vn(e,t){xr(t,!0),bi(e,al);function r(w,$){t.$$host.dispatchEvent(new CustomEvent(w,{detail:$}))}let n=ht(t,"id",7,""),i=ht(t,"data"),l=ht(t,"slide",7,0),s=ht(t,"type",7,"images"),o=ht(t,"size",7,void 0);Ge({});let a=_e(Ge([])),u=_e(0),f=Bn(()=>o()?o():Math.round(p(u)/250));ni(()=>{if(typeof l()=="string"&&l(Number(l())),typeof i()=="string")try{i(JSON.parse(i()))}catch(w){console.error("error parsing data",w)}if(i()){let w=0;i(i().filter($=>$.href).sort(($,x)=>($.index||0)-(x.index||0))),i().forEach($=>{$.index=w++}),l()>=0?(l()===i().length&&l(0),H(a,i().slice(l(),l()+p(f)),!0),p(a).length<p(f)&&i().length>p(f)&&H(a,p(a).concat(i().slice(0,p(f)-p(a).length)),!0)):l()<0&&(l()>-p(f)?(H(a,i().slice(l()),!0),H(a,p(a).concat(i().slice(0,l()+p(f))),!0)):l()>i().length*-1?H(a,i().slice(l()).slice(0,p(f)),!0):(l(0),H(a,i().slice(0,p(f)),!0)))}});function h(w){l(w)}var c={get id(){return n()},set id(w=""){n(w),nt()},get data(){return i()},set data(w){i(w),nt()},get slide(){return l()},set slide(w=0){l(w),nt()},get type(){return s()},set type(w="images"){s(w),nt()},get size(){return o()},set size(w=void 0){o(w),nt()}},d=Fe(),v=oe(d);{var _=w=>{var $=sl(),x=A($),b=A(x);b.__click=[ji,h,l],Ee(b,"href",null);var T=K(b,2);yi(T,17,()=>p(a),L=>L.index,(L,g)=>{var ne=Fe(),V=oe(ne);{var Ae=ce=>{var y=Ui();y.__click=[qi,g];var m=A(y),z=K(m,2);{var pt=Z=>{var he=Yi(),qe=K(oe(he),2),Ne=A(qe),Q=A(Ne,!0);S(Ne);var P=K(Ne,2);{var D=ee=>{var ie=zi(),pe=A(ie,!0);S(ie),j(()=>fe(pe,p(g).duration)),R(ee,ie)};U(P,ee=>{p(g).duration&&ee(D)})}S(qe),j(()=>fe(Q,p(g).caption)),R(Z,he)},je=Z=>{var he=Fe(),qe=oe(he);{var Ne=Q=>{var P=Hi(),D=A(P),ee=A(D,!0);S(D),S(P),j(()=>fe(ee,p(g).caption)),R(Q,P)};U(qe,Q=>{p(g).caption&&Q(Ne)},!0)}R(Z,he)};U(z,Z=>{s()==="videos"?Z(pt):Z(je,!1)})}S(y),j(()=>{Ee(m,"src",p(g).href),Ee(m,"alt",p(g).caption)}),R(ce,y)},Re=ce=>{var y=Fe(),m=oe(y);{var z=je=>{var Z=Xi();Z.__click=[Vi,g];var he=A(Z),qe=K(he,2);{var Ne=P=>{var D=Bi(),ee=K(oe(D),2),ie=A(ee),pe=A(ie,!0);S(ie);var M=K(ie,2);{var G=W=>{var X=Gi(),le=A(X,!0);S(X),j(()=>fe(le,p(g).duration)),R(W,X)};U(M,W=>{p(g).duration&&W(G)})}S(ee),j(()=>fe(pe,p(g).caption)),R(P,D)},Q=P=>{var D=Fe(),ee=oe(D);{var ie=pe=>{var M=Wi(),G=A(M),W=A(G,!0);S(G),S(M),j(()=>fe(W,p(g).caption)),R(pe,M)};U(ee,pe=>{p(g).caption&&pe(ie)},!0)}R(P,D)};U(qe,P=>{s()==="videos"?P(Ne):P(Q,!1)})}S(Z),j(()=>{Ee(he,"src",p(g).href),Ee(he,"alt",p(g).caption)}),R(je,Z)},pt=je=>{var Z=Fe(),he=oe(Z);{var qe=Q=>{var P=el();P.__click=[Ki,r,g];var D=A(P),ee=K(D,2);{var ie=M=>{var G=Zi(),W=K(oe(G),2),X=A(W),le=A(X,!0);S(X);var we=K(X,2);{var Oe=ge=>{var Je=Ji(),ar=A(Je,!0);S(Je),j(()=>fe(ar,p(g).duration)),R(ge,Je)};U(we,ge=>{p(g).duration&&ge(Oe)})}S(W),j(()=>fe(le,p(g).caption)),R(M,G)},pe=M=>{var G=Fe(),W=oe(G);{var X=le=>{var we=Qi(),Oe=A(we),ge=A(Oe,!0);S(Oe),S(we),j(()=>fe(ge,p(g).caption)),R(le,we)};U(W,le=>{p(g).caption&&le(X)},!0)}R(M,G)};U(ee,M=>{s()==="videos"?M(ie):M(pe,!1)})}S(P),j(()=>{Ee(D,"src",p(g).href),Ee(D,"alt",p(g).caption)}),R(Q,P)},Ne=Q=>{var P=il(),D=A(P),ee=K(D,2);{var ie=M=>{var G=rl(),W=K(oe(G),2),X=A(W),le=A(X,!0);S(X);var we=K(X,2);{var Oe=ge=>{var Je=tl(),ar=A(Je,!0);S(Je),j(()=>fe(ar,p(g).duration)),R(ge,Je)};U(we,ge=>{p(g).duration&&ge(Oe)})}S(W),j(()=>fe(le,p(g).caption)),R(M,G)},pe=M=>{var G=Fe(),W=oe(G);{var X=le=>{var we=nl(),Oe=A(we),ge=A(Oe,!0);S(Oe),S(we),j(()=>fe(ge,p(g).caption)),R(le,we)};U(W,le=>{p(g).caption&&le(X)},!0)}R(M,G)};U(ee,M=>{s()==="videos"?M(ie):M(pe,!1)})}S(P),j(()=>{Ee(D,"src",p(g).href),Ee(D,"alt",p(g).caption)}),R(Q,P)};U(he,Q=>{p(g).key?Q(qe):Q(Ne,!1)},!0)}R(je,Z)};U(m,je=>{p(g).link?je(z):je(pt,!1)},!0)}R(ce,y)};U(V,ce=>{p(g).externalLink?ce(Ae):ce(Re,!1)})}R(L,ne)});var C=K(T,2);C.__click=[ll,h,l],Ee(C,"href",null),S(x),S($),j(()=>$i(x,`grid-template-columns: repeat(${p(f)??""}, auto);`)),R(w,$)};U(v,w=>{p(a)?.length&&w(_)})}return Ni("innerWidth",w=>H(u,w,!0)),R(e,d),yr(c)}_i(["click"]),customElements.define("hb-site-slideshow-horizontal",Mi(vn,{id:{},data:{},slide:{},type:{},size:{}},[],[],!0)),or.Component=vn,Object.defineProperty(or,Symbol.toStringTag,{value:"Module"})})(this["site-slideshow-horizontal"]=this["site-slideshow-horizontal"]||{});
3
4
  //# sourceMappingURL=main.iife.js.map