(()=>{var Ro=Object.create,Ne=Object.defineProperty,jo=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty,Wo=Object.getOwnPropertyNames,zo=Object.getOwnPropertyDescriptor,Kr=Object.getOwnPropertySymbols,Uo=Object.prototype.propertyIsEnumerable;var Br=(e,r,t)=>r in e?Ne(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,$e=(e,r)=>{for(var t in r||(r={}))Qr.call(r,t)&&Br(e,t,r[t]);if(Kr)for(var t of Kr(r))Uo.call(r,t)&&Br(e,t,r[t]);return e},Vo=e=>Ne(e,"__esModule",{value:!0});var he=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var qo=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of Wo(r))!Qr.call(e,o)&&o!=="default"&&Ne(e,o,{get:()=>r[o],enumerable:!(t=zo(r,o))||t.enumerable});return e},_r=e=>qo(Vo(Ne(e!=null?Ro(jo(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var ht=he((_n,De)=>{var Gr,Jr,Yr,Xr,Zr,et,rt,tt,ot,Qe,Tr,nt,it,at,we,st,lt,ut,ct,ft,pt,mt,dt,Ke;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(o){e(t(r,t(o)))}):typeof De=="object"&&typeof De.exports=="object"?e(t(r,t(De.exports))):e(t(r));function t(o,n){return o!==r&&(typeof Object.create=="function"?Object.defineProperty(o,"__esModule",{value:!0}):o.__esModule=!0),function(i,a){return o[i]=n?n(i,a):a}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[i]=n[i])};Gr=function(o,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(o,n);function i(){this.constructor=o}o.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},Jr=Object.assign||function(o){for(var n,i=1,a=arguments.length;i=0;u--)(c=o[u])&&(s=(l<3?c(s):l>3?c(n,i,s):c(n,i))||s);return l>3&&s&&Object.defineProperty(n,i,s),s},Zr=function(o,n){return function(i,a){n(i,a,o)}},et=function(o,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(o,n)},rt=function(o,n,i,a){function l(s){return s instanceof i?s:new i(function(c){c(s)})}return new(i||(i=Promise))(function(s,c){function u(d){try{f(a.next(d))}catch(h){c(h)}}function p(d){try{f(a.throw(d))}catch(h){c(h)}}function f(d){d.done?s(d.value):l(d.value).then(u,p)}f((a=a.apply(o,n||[])).next())})},tt=function(o,n){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,l,s,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(f){return function(d){return p([f,d])}}function p(f){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,l&&(s=f[0]&2?l.return:f[0]?l.throw||((s=l.return)&&s.call(l),0):l.next)&&!(s=s.call(l,f[1])).done)return s;switch(l=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,l=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(s=i.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]=o.length&&(o=void 0),{value:o&&o[a++],done:!o}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Tr=function(o,n){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),l,s=[],c;try{for(;(n===void 0||n-- >0)&&!(l=a.next()).done;)s.push(l.value)}catch(u){c={error:u}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(c)throw c.error}}return s},nt=function(){for(var o=[],n=0;n1||u(m,b)})})}function u(m,b){try{p(a[m](b))}catch(y){h(s[0][3],y)}}function p(m){m.value instanceof we?Promise.resolve(m.value.v).then(f,d):h(s[0][2],m)}function f(m){u("next",m)}function d(m){u("throw",m)}function h(m,b){m(b),s.shift(),s.length&&u(s[0][0],s[0][1])}},lt=function(o){var n,i;return n={},a("next"),a("throw",function(l){throw l}),a("return"),n[Symbol.iterator]=function(){return this},n;function a(l,s){n[l]=o[l]?function(c){return(i=!i)?{value:we(o[l](c)),done:l==="return"}:s?s(c):c}:s}},ut=function(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=o[Symbol.asyncIterator],i;return n?n.call(o):(o=typeof Qe=="function"?Qe(o):o[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(s){i[s]=o[s]&&function(c){return new Promise(function(u,p){c=o[s](c),l(u,p,c.done,c.value)})}}function l(s,c,u,p){Promise.resolve(p).then(function(f){s({value:f,done:u})},c)}},ct=function(o,n){return Object.defineProperty?Object.defineProperty(o,"raw",{value:n}):o.raw=n,o};var t=Object.create?function(o,n){Object.defineProperty(o,"default",{enumerable:!0,value:n})}:function(o,n){o.default=n};ft=function(o){if(o&&o.__esModule)return o;var n={};if(o!=null)for(var i in o)i!=="default"&&Object.prototype.hasOwnProperty.call(o,i)&&Ke(n,o,i);return t(n,o),n},pt=function(o){return o&&o.__esModule?o:{default:o}},mt=function(o,n){if(!n.has(o))throw new TypeError("attempted to get private field on non-instance");return n.get(o)},dt=function(o,n,i){if(!n.has(o))throw new TypeError("attempted to set private field on non-instance");return n.set(o,i),i},e("__extends",Gr),e("__assign",Jr),e("__rest",Yr),e("__decorate",Xr),e("__param",Zr),e("__metadata",et),e("__awaiter",rt),e("__generator",tt),e("__exportStar",ot),e("__createBinding",Ke),e("__values",Qe),e("__read",Tr),e("__spread",nt),e("__spreadArrays",it),e("__spreadArray",at),e("__await",we),e("__asyncGenerator",st),e("__asyncDelegator",lt),e("__asyncValues",ut),e("__makeTemplateObject",ct),e("__importStar",ft),e("__importDefault",pt),e("__classPrivateFieldGet",mt),e("__classPrivateFieldSet",dt)})});var Ue=he(B=>{(function(){var e,r,t,o,n,i,a,l,s,c,u,p,f,d,h,m,b,y,S,k;k=150,c=20,S=150,s=.75,B.score=function(v,w,E){var _,x,g,O;return x=E.preparedQuery,_=E.allowErrors,_||n(v,x.core_lw,x.core_up)?(O=v.toLowerCase(),g=r(v,O,x),Math.ceil(g)):0},B.isMatch=n=function(v,w,E){var _,x,g,O,P,H,M;if(g=v.length,O=w.length,!g||O>g)return!1;for(_=-1,x=-1;++x-1)return h(v,w,le,ee,ne,q,V);for(ge=new Array(q),P=new Array(q),Er=y(q,V),z=Math.ceil(s*q)+5,Z=z,M=!0,A=-1;++Aie&&(ie=qe),H=0,ee[A]===wr)if(Sr=l(F,v,w),H=O>0?O:f(v,w,le,ee,F,A,Sr),g=gr+p(F,A,Sr,x,H),g>ie)ie=g,Z=z;else{if(de&&--Z<=0)return Math.max(ie,ge[q-1])*Er;de=!1}gr=qe,O=P[A],P[A]=H,ge[A]=ie}}return ie=ge[q-1],ie*Er},B.isWordStart=l=function(v,w,E){var _,x;return v===0?!0:(_=w[v],x=w[v-1],i(x)||_!==E[v]&&x===E[v-1])},B.isWordEnd=a=function(v,w,E,_){var x,g;return v===_-1?!0:(x=w[v],g=w[v+1],i(g)||x===E[v]&&g!==E[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var w;return vx?_:x)+10):g+k*x},B.scoreConsecutives=f=function(v,w,E,_,x,g,O){var P,H,M,F,A,V,z;for(H=v.length,F=E.length,M=H-x,A=F-g,P=M-1&&(A=l(M,v,w),A&&(x=M))),H=-1,F=0;++H1&&M>1))return t;for(x=0,z=0,Z=0,A=0,O=-1,P=-1;++P-1){z++;continue}else break;for(;++O12*P)return!1;for(g=-1;++g_)return!1;return!0}}).call(B)});var br=he(Ve=>{(function(){var e,r,t,o,n,i,a,l,s,c;c=Ue(),i=c.isMatch,e=c.computeScore,l=c.scoreSize,s=20,t=2.5,Ve.score=function(u,p,f){var d,h,m,b;return h=f.preparedQuery,d=f.allowErrors,d||i(u,h.core_lw,h.core_up)?(b=u.toLowerCase(),m=e(u,b,h),m=a(u,b,m,f),Math.ceil(m)):0},a=function(u,p,f,d){var h,m,b,y,S,k,v,w,E,_;if(f===0)return 0;for(E=d.preparedQuery,_=d.useExtensionBonus,w=d.pathSeparator,S=u.length-1;u[S]===w;)S--;if(b=u.lastIndexOf(w,S),v=S-b,k=1,_&&(k+=n(p,E.ext,b,S,2),f*=k),b===-1)return f;for(y=E.depth;b>-1&&y-- >0;)b=u.lastIndexOf(w,b-1);return m=b===-1?f:k*e(u.slice(b+1,S+1),p.slice(b+1,S+1),E),h=.5*s/(s+r(u,S+1,w)),h*m+(1-h)*f*l(0,t*v)},Ve.countDir=r=function(u,p,f){var d,h;if(p<1)return 0;for(d=0,h=-1;++hf)))return 0;for(y=p.length,m=d-S,m0?.9*n(u,p,f,S-2,h-1):b/m}}).call(Ve)});var $r=he((po,mo)=>{(function(){var e,r,t,o,n,i,a,l;l=br(),t=l.countDir,n=l.getExtension,mo.exports=e=function(){function s(c,u){var p,f,d;if(d=u!=null?u:{},p=d.optCharRegEx,f=d.pathSeparator,!(c&&c.length))return null;this.query=c,this.query_lw=c.toLowerCase(),this.core=r(c,p),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=t(c,c.length,f),this.ext=n(this.query_lw),this.charCodes=o(this.query_lw)}return s}(),i=/[ _\-:\/\\]/g,r=function(s,c){return c==null&&(c=i),s.replace(c,"")},a=function(s){var c,u,p,f;for(u="",p=0,f=s.length;p{(function(){var e,r,t,o,n;o=Ue(),r=br(),e=$r(),t=function(i){return i.candidate},n=function(i,a){return a.score-i.score},vo.exports=function(i,a,l){var s,c,u,p,f,d,h,m,b,y,S,k,v;for(m=[],u=l.key,f=l.maxResults,p=l.maxInners,S=l.usePathScoring,b=p!=null&&p>0?p:i.length+1,s=u!=null,h=S?r:o,k=0,v=i.length;k0&&(m.push({candidate:c,score:d}),!--b))));k++);return m.sort(n),i=m.map(t),f!=null&&(i=i.slice(0,f)),i}}).call(ho)});var xo=he(xr=>{(function(){var e,r,t,o,n,i,a,l,s,c;c=Ue(),t=c.isMatch,o=c.isWordStart,s=c.scoreConsecutives,l=c.scoreCharacter,a=c.scoreAcronyms,xr.match=n=function(u,p,f){var d,h,m,b,y,S;return d=f.allowErrors,y=f.preparedQuery,b=f.pathSeparator,d||t(u,y.core_lw,y.core_up)?(S=u.toLowerCase(),m=r(u,S,y),m.length===0||u.indexOf(b)>-1&&(h=e(u,S,y,b),m=i(m,h)),m):[]},xr.wrap=function(u,p,f){var d,h,m,b,y,S,k,v,w;if(f.wrap!=null&&(w=f.wrap,S=w.tagClass,v=w.tagOpen,k=w.tagClose),S==null&&(S="highlight"),v==null&&(v=''),k==null&&(k=""),u===p)return v+u+k;if(m=n(u,p,f),m.length===0)return u;for(b="",d=-1,y=0;++dy&&(b+=u.substring(y,h),y=h);++dy&&(b+=v,b+=u.substring(y,h),b+=k,y=h)}return y<=u.length-1&&(b+=u.substring(y)),b},e=function(u,p,f,d){var h,m,b;for(b=u.length-1;u[b]===d;)b--;if(h=u.lastIndexOf(d,b),h===-1)return[];for(m=f.depth;m-- >0;)if(h=u.lastIndexOf(d,h-1),h===-1)return[];return h++,b++,r(u.slice(h,b),p.slice(h,b),f,h)},i=function(u,p){var f,d,h,m,b,y,S;if(b=u.length,y=p.length,y===0)return u.slice();if(b===0)return p.slice();for(h=-1,m=0,d=p[m],S=[];++h0?w:s(u,p,A,V,x,g,ee),k=Z+l(x,g,ee,S,_)),ne=q[g],w=E[g],z>ne?H=m:(z=ne,H=y),k>z?(z=k,H=h):_=0,q[g]=z,E[g]=_,de[++F]=z>0?H:b;for(x=O-1,g=M-1,F=x*M+g,v=!0,P=[];v&&x>=0&&g>=0;)switch(de[F]){case y:x--,F-=M;break;case m:g--,F--;break;case h:P.push(x+d),g--,x--,F-=M+1;break;default:v=!1}return P.reverse(),P}}).call(xr)});var Dr=he((yo,go)=>{(function(){var e,r,t,o,n,i,a,l;t=bo(),o=xo(),l=Ue(),i=br(),e=$r(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",go.exports={filter:function(s,c,u){return u==null&&(u={}),(c!=null?c.length:void 0)&&(s!=null?s.length:void 0)?(u=n(u,c),t(s,c,u)):[]},score:function(s,c,u){return u==null&&(u={}),(s!=null?s.length:void 0)&&(c!=null?c.length:void 0)?(u=n(u,c),u.usePathScoring?i.score(s,c,u):l.score(s,c,u)):0},match:function(s,c,u){var p,f,d;return u==null&&(u={}),s?c?s===c?function(){d=[];for(var h=0,m=s.length;0<=m?hm;0<=m?h++:h--)d.push(h);return d}.apply(this):(u=n(u,c),o.match(s,c,u)):[]:[]},wrap:function(s,c,u){return u==null&&(u={}),s?c?(u=n(u,c),o.wrap(s,c,u)):[]:[]},prepareQuery:function(s,c){return c==null&&(c={}),c=n(c,s),c.preparedQuery}},n=function(s,c){return s.allowErrors==null&&(s.allowErrors=!1),s.usePathScoring==null&&(s.usePathScoring=!0),s.useExtensionBonus==null&&(s.useExtensionBonus=!1),s.pathSeparator==null&&(s.pathSeparator=r),s.optCharRegEx==null&&(s.optCharRegEx=null),s.wrap==null&&(s.wrap=null),s.preparedQuery==null&&(s.preparedQuery=a&&a.query===c?a:a=new e(c,s)),s}}).call(yo)});var vt=_r(ht()),{__extends:U,__assign:On,__rest:An,__decorate:Mn,__param:Ln,__metadata:In,__awaiter:bt,__generator:Be,__exportStar:Cn,__createBinding:Pn,__values:J,__read:R,__spread:Fn,__spreadArrays:Hn,__spreadArray:j,__await:Ge,__asyncGenerator:xt,__asyncDelegator:kn,__asyncValues:yt,__makeTemplateObject:Rn,__importStar:jn,__importDefault:Wn,__classPrivateFieldGet:zn,__classPrivateFieldSet:Un}=vt.default;function T(e){return typeof e=="function"}function Je(e){var r=function(o){Error.call(o),o.stack=new Error().stack},t=e(r);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ye=Je(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: `+t.map(function(o,n){return n+1+") "+o.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=t}});function ae(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var $=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var r,t,o,n,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var l=J(a),s=l.next();!s.done;s=l.next()){var c=s.value;c.remove(this)}}catch(m){r={error:m}}finally{try{s&&!s.done&&(t=l.return)&&t.call(l)}finally{if(r)throw r.error}}else a==null||a.remove(this);var u=this.initialTeardown;if(T(u))try{u()}catch(m){i=m instanceof Ye?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var f=J(p),d=f.next();!d.done;d=f.next()){var h=d.value;try{gt(h)}catch(m){i=i!=null?i:[],m instanceof Ye?i=j(j([],R(i)),R(m.errors)):i.push(m)}}}catch(m){o={error:m}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(o)throw o.error}}}if(i)throw new Ye(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)gt(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(t=this._teardowns)!==null&&t!==void 0?t:[]).push(r)}},e.prototype._hasParent=function(r){var t=this._parentage;return t===r||Array.isArray(t)&&t.includes(r)},e.prototype._addParent=function(r){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(r),t):t?[t,r]:r},e.prototype._removeParent=function(r){var t=this._parentage;t===r?this._parentage=null:Array.isArray(t)&&ae(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&ae(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Or=$.EMPTY;function Xe(e){return e instanceof $||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function gt(e){T(e)?e():e.unsubscribe()}var se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Se={setTimeout:function(){for(var e=[],r=0;r0?e.prototype.requestAsyncId.call(this,t,o,n):(t.actions.push(this),t._scheduled||(t._scheduled=Ee.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,o,n){if(n===void 0&&(n=0),n!=null&&n>0||n==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,o,n);t.actions.length===0&&(Ee.cancelAnimationFrame(o),t._scheduled=void 0)},r}(er);var Ft=function(e){U(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0,this._scheduled=void 0;var o=this.actions,n,i=-1;t=t||o.shift();var a=o.length;do if(n=t.execute(t.state,t.delay))break;while(++ir==="focus"),ye(e===qr()))}var vn=new re,df=Hr(()=>ve(new ResizeObserver(e=>{for(let r of e)vn.next(r)}))).pipe(X(e=>kr.pipe(ye(e)).pipe(Re(()=>e.disconnect()))),je(1));function io(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ao(e){return{width:e.scrollWidth,height:e.scrollHeight}}function so(e){return{x:e.scrollLeft,y:e.scrollTop}}function bn(e){return K(D(e,"scroll"),D(window,"resize")).pipe(W(()=>so(e)),ye(so(e)))}function lo(e,r=16){return bn(e).pipe(W(({y:t})=>{let o=io(e),n=ao(e);return t>=n.height-o.height-r}),xe())}var Lf={drawer:G("[data-md-toggle=drawer]"),search:G("[data-md-toggle=search]")};function uo(){return new URL(location.href)}function xn(e,r={credentials:"same-origin"}){return ce(fetch(`${e}`,r)).pipe(pe(t=>t.status===200))}function vr(e,r){return xn(e,r).pipe(X(t=>t.json()),je(1))}function Le(e,r=document){return G(`[data-mdx-component=${e}]`,r)}function Nr(e,r=document){return oo(`[data-mdx-component=${e}]`,r)}var yn=G("#__config"),ze=JSON.parse(yn.textContent);ze.base=new URL(ze.base,uo()).toString().replace(/\/$/,"");function co(){return ze}function me(e,r){return typeof r!="undefined"?ze.translations[e].replace("#",r.toString()):ze.translations[e]}function fo(e){let r=no(e),t=K(D(e,"keyup"),D(e,"focus").pipe(zr(1))).pipe(W(()=>e.value),xe());return r.pipe(pe(o=>!o),Me(t)).subscribe(([,o])=>{let n=document.location.pathname;o.length&&ga("send","pageview",`${n}?q=[icon]+${o}`)}),He([t,r]).pipe(W(([o,n])=>({ref:e,value:o,focus:n})))}var Co=_r(Dr());function wo(e,r){if(typeof r=="string"||typeof r=="number")e.innerHTML+=r.toString();else if(r instanceof Node)e.appendChild(r);else if(Array.isArray(r))for(let t of r)wo(e,t)}function oe(e,r,...t){let o=document.createElement(e);if(r)for(let n of Object.keys(r))typeof r[n]!="boolean"?o.setAttribute(n,r[n]):r[n]&&o.setAttribute(n,"");for(let n of t)wo(o,n);return o}function So(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Eo(e,r){switch(r){case 0:e.textContent=me("search.result.none");break;case 1:e.textContent=me("search.result.one");break;default:e.textContent=me("search.result.other",So(r))}}function _o(e){e.textContent=me("search.result.placeholder")}function To(e,r){e.appendChild(r)}function Oo(e){e.innerHTML=""}var Ao=_r(Dr());function gn(e,r){return(0,Ao.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Mo(e,r){return oe("li",{class:"mdx-iconsearch-result__item"},oe("span",{class:"twemoji"},oe("img",{src:e.url})),oe("button",{class:"md-clipboard--inline",title:me("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},oe("code",null,`:${gn(e,r)}:`)))}function Lo(e){let r=`@${e.name}`;return oe("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},oe("img",{src:e.image}))}function Io(e){return oe("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function wn(e,{index$:r,query$:t}){return He([t.pipe(Ur("value")),r.pipe(W(({icons:o,emojis:n})=>[...Object.keys(o.data),...Object.keys(n.data)]))]).pipe(W(([{value:o},n])=>(0,Co.filter)(n,o)),X(o=>r.pipe(W(({icons:n,emojis:i})=>({data:o.map(a=>{let l=a in n.data?n:i;return{shortcode:a,url:[l.base,l.data[a]].join("")}})})))))}function Po(e,{index$:r,query$:t}){let o=new re,n=lo(e).pipe(pe(Boolean)),i=G(":scope > :first-child",e);o.pipe(dr(tr),Me(t)).subscribe(([{data:l},{value:s}])=>{s?Eo(i,l.length):_o(i)});let a=G(":scope > :last-child",e);return o.pipe(dr(tr),We(()=>Oo(a)),X(({data:l})=>K(ve(...l.slice(0,10)),ve(...l.slice(10)).pipe(Rr(10),Vr(n),X(([s])=>ve(...s))))),Me(t)).subscribe(([l,{value:s}])=>{To(a,Mo(l,s))}),wn(e,{query$:t,index$:r}).pipe(We(o),Re(()=>o.complete()),W(l=>$e({ref:e},l)))}function Fo(e){let r=co(),t=vr(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),o=Le("iconsearch-query",e),n=Le("iconsearch-result",e),i=fo(o),a=Po(n,{index$:t,query$:i});return K(i,a)}var yr;(function(t){t.PUBLIC="PUBLIC",t.PRIVATE="PRIVATE"})(yr||(yr={}));function Ho(e){let r=vr("https://gpiqp43wvb.execute-api.us-east-1.amazonaws.com/_/"),t=Le("sponsorship-count"),o=Le("sponsorship-total");return r.subscribe(n=>{e.removeAttribute("hidden");let i=G(":scope > :first-child",e);for(let a of n.sponsors)a.type===yr.PUBLIC&&i.appendChild(Lo(a));i.appendChild(Io(n.sponsors.filter(({type:a})=>a===yr.PRIVATE).length)),t.innerText=`${n.sponsors.length}`,o.innerText=`$ ${n.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(W(n=>$e({ref:e},n)))}function ko(){D(document.body,"click").subscribe(e=>{if(e.target instanceof HTMLElement){let r=e.target.closest("a[href^=http]");r instanceof HTMLLinkElement&&ga("send","event","outbound","click",r.href)}})}ko();var Sn=document$.pipe(X(()=>K(...Nr("iconsearch").map(e=>Fo(e)),...Nr("sponsorship").map(e=>Ho(e)))));Sn.subscribe();})(); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ //# sourceMappingURL=bundle.34f816a3.min.js.map