HugoDzz's picture
feat: add build
baa5b5a
function y(){}function F(t,e){for(const n in e)t[n]=e[n];return t}function B(t){return t()}function q(){return Object.create(null)}function b(t){t.forEach(B)}function k(t){return typeof t=="function"}function st(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let $;function ft(t,e){return $||($=document.createElement("a")),$.href=e,t===$.href}function H(t){return Object.keys(t).length===0}function I(t,...e){if(t==null)return y;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function dt(t,e,n){t.$$.on_destroy.push(I(e,n))}function _t(t,e,n,r){if(t){const i=D(t,e,n,r);return t[0](i)}}function D(t,e,n,r){return t[1]&&r?F(n.ctx.slice(),t[1](r(e))):n.ctx}function ht(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],l=Math.max(e.dirty.length,i.length);for(let o=0;o<l;o+=1)a[o]=e.dirty[o]|i[o];return a}return e.dirty|i}return e.dirty}function mt(t,e,n,r,i,a){if(i){const l=D(e,n,r,a);t.p(l,i)}}function pt(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let r=0;r<n;r++)e[r]=-1;return e}return-1}function yt(t){return t&&k(t.destroy)?t.destroy:y}const G=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;"WeakMap"in G;let v=!1;function J(){v=!0}function K(){v=!1}function Q(t,e,n,r){for(;t<e;){const i=t+(e-t>>1);n(i)<=r?t=i+1:e=i}return t}function R(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let u=0;u<e.length;u++){const f=e[u];f.claim_order!==void 0&&c.push(f)}e=c}const n=new Int32Array(e.length+1),r=new Int32Array(e.length);n[0]=-1;let i=0;for(let c=0;c<e.length;c++){const u=e[c].claim_order,f=(i>0&&e[n[i]].claim_order<=u?i+1:Q(1,i,x=>e[n[x]].claim_order,u))-1;r[c]=n[f]+1;const s=f+1;n[s]=c,i=Math.max(s,i)}const a=[],l=[];let o=e.length-1;for(let c=n[i]+1;c!=0;c=r[c-1]){for(a.push(e[c-1]);o>=c;o--)l.push(e[o]);o--}for(;o>=0;o--)l.push(e[o]);a.reverse(),l.sort((c,u)=>c.claim_order-u.claim_order);for(let c=0,u=0;c<l.length;c++){for(;u<a.length&&l[c].claim_order>=a[u].claim_order;)u++;const f=u<a.length?a[u]:null;t.insertBefore(l[c],f)}}function U(t,e){if(v){for(R(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function gt(t,e,n){v&&!n?U(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function V(t){t.parentNode&&t.parentNode.removeChild(t)}function bt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function X(t){return document.createElement(t)}function A(t){return document.createTextNode(t)}function xt(){return A(" ")}function $t(){return A("")}function wt(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function vt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Et(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Y(t){return Array.from(t.childNodes)}function Z(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function L(t,e,n,r,i=!1){Z(t);const a=(()=>{for(let l=t.claim_info.last_index;l<t.length;l++){const o=t[l];if(e(o)){const c=n(o);return c===void 0?t.splice(l,1):t[l]=c,i||(t.claim_info.last_index=l),o}}for(let l=t.claim_info.last_index-1;l>=0;l--){const o=t[l];if(e(o)){const c=n(o);return c===void 0?t.splice(l,1):t[l]=c,i?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=l,o}}return r()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function tt(t,e,n,r){return L(t,i=>i.nodeName===e,i=>{const a=[];for(let l=0;l<i.attributes.length;l++){const o=i.attributes[l];n[o.name]||a.push(o.name)}a.forEach(l=>i.removeAttribute(l))},()=>r(e))}function Nt(t,e,n){return tt(t,e,n,X)}function et(t,e){return L(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>A(e),!0)}function St(t){return et(t," ")}function kt(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e,n,r){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function nt(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,r,e),i}function Mt(t,e){return new t(e)}let g;function p(t){g=t}function M(){if(!g)throw new Error("Function called outside component initialization");return g}function jt(t){M().$$.on_mount.push(t)}function Ct(t){M().$$.after_update.push(t)}function qt(){const t=M();return(e,n,{cancelable:r=!1}={})=>{const i=t.$$.callbacks[e];if(i){const a=nt(e,n,{cancelable:r});return i.slice().forEach(l=>{l.call(t,a)}),!a.defaultPrevented}return!0}}const h=[],O=[];let m=[];const T=[],P=Promise.resolve();let N=!1;function W(){N||(N=!0,P.then(z))}function Ot(){return W(),P}function S(t){m.push(t)}const E=new Set;let _=0;function z(){if(_!==0)return;const t=g;do{try{for(;_<h.length;){const e=h[_];_++,p(e),rt(e.$$)}}catch(e){throw h.length=0,_=0,e}for(p(null),h.length=0,_=0;O.length;)O.pop()();for(let e=0;e<m.length;e+=1){const n=m[e];E.has(n)||(E.add(n),n())}m.length=0}while(h.length);for(;T.length;)T.pop()();N=!1,E.clear(),p(t)}function rt(t){if(t.fragment!==null){t.update(),b(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(S)}}function it(t){const e=[],n=[];m.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),m=e}const w=new Set;let d;function Tt(){d={r:0,c:[],p:d}}function Bt(){d.r||b(d.c),d=d.p}function lt(t,e){t&&t.i&&(w.delete(t),t.i(e))}function Dt(t,e,n,r){if(t&&t.o){if(w.has(t))return;w.add(t),d.c.push(()=>{w.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}const ct=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"];[...ct];function Lt(t){t&&t.c()}function Pt(t,e){t&&t.l(e)}function ut(t,e,n,r){const{fragment:i,after_update:a}=t.$$;i&&i.m(e,n),r||S(()=>{const l=t.$$.on_mount.map(B).filter(k);t.$$.on_destroy?t.$$.on_destroy.push(...l):b(l),t.$$.on_mount=[]}),a.forEach(S)}function ot(t,e){const n=t.$$;n.fragment!==null&&(it(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function at(t,e){t.$$.dirty[0]===-1&&(h.push(t),W(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Wt(t,e,n,r,i,a,l,o=[-1]){const c=g;p(t);const u=t.$$={fragment:null,ctx:[],props:a,update:y,not_equal:i,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:q(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};l&&l(u.root);let f=!1;if(u.ctx=n?n(t,e.props||{},(s,x,...j)=>{const C=j.length?j[0]:x;return u.ctx&&i(u.ctx[s],u.ctx[s]=C)&&(!u.skip_bound&&u.bound[s]&&u.bound[s](C),f&&at(t,s)),x}):[],u.update(),f=!0,b(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){J();const s=Y(e.target);u.fragment&&u.fragment.l(s),s.forEach(V)}else u.fragment&&u.fragment.c();e.intro&&lt(t.$$.fragment),ut(t,e.target,e.anchor,e.customElement),K(),z()}p(c)}class zt{$destroy(){ot(this,1),this.$destroy=y}$on(e,n){if(!k(n))return y;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!H(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ut as A,ot as B,_t as C,mt as D,pt as E,ht as F,U as G,y as H,dt as I,yt as J,qt as K,ft as L,bt as M,wt as N,vt as O,zt as S,xt as a,gt as b,St as c,Dt as d,$t as e,Bt as f,lt as g,V as h,Wt as i,Ct as j,X as k,Nt as l,Y as m,Et as n,jt as o,At as p,A as q,et as r,st as s,Ot as t,kt as u,Tt as v,O as w,Mt as x,Lt as y,Pt as z};