(()=>{var Tn=Object.create,vr=Object.defineProperty,An=Object.getPrototypeOf,Mn=Object.prototype.hasOwnProperty,In=Object.getOwnPropertyNames,Ln=Object.getOwnPropertyDescriptor;var ze=Object.assign,Cn=e=>vr(e,"__esModule",{value:!0});var me=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var Pn=(e,r,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of In(r))!Mn.call(e,t)&&t!=="default"&&vr(e,t,{get:()=>r[t],enumerable:!(n=Ln(r,t))||n.enumerable});return e},br=e=>Pn(Cn(vr(e!=null?Tn(An(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var nt=me((ho,Ue)=>{var kr,zr,Ur,Wr,Vr,qr,$r,Nr,Dr,We,yr,Qr,Kr,Jr,ye,Yr,Gr,Xr,Br,Zr,et,rt,tt,Ve;(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(t){e(n(r,n(t)))}):typeof Ue=="object"&&typeof Ue.exports=="object"?e(n(r,n(Ue.exports))):e(n(r));function n(t,o){return t!==r&&(typeof Object.create=="function"?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(i,a){return t[i]=o?o(i,a):a}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])};kr=function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function i(){this.constructor=t}t.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},zr=Object.assign||function(t){for(var o,i=1,a=arguments.length;i=0;c--)(l=t[c])&&(s=(u<3?l(s):u>3?l(o,i,s):l(o,i))||s);return u>3&&s&&Object.defineProperty(o,i,s),s},Vr=function(t,o){return function(i,a){o(i,a,t)}},qr=function(t,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,o)},$r=function(t,o,i,a){function u(s){return s instanceof i?s:new i(function(l){l(s)})}return new(i||(i=Promise))(function(s,l){function c(d){try{f(a.next(d))}catch(h){l(h)}}function p(d){try{f(a.throw(d))}catch(h){l(h)}}function f(d){d.done?s(d.value):u(d.value).then(c,p)}f((a=a.apply(t,o||[])).next())})},Nr=function(t,o){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,u,s,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(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,u&&(s=f[0]&2?u.return:f[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,f[1])).done)return s;switch(u=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++,u=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]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},yr=function(t,o){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var a=i.call(t),u,s=[],l;try{for(;(o===void 0||o-- >0)&&!(u=a.next()).done;)s.push(u.value)}catch(c){l={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(l)throw l.error}}return s},Qr=function(){for(var t=[],o=0;o1||c(m,b)})})}function c(m,b){try{p(a[m](b))}catch(g){h(s[0][3],g)}}function p(m){m.value instanceof ye?Promise.resolve(m.value.v).then(f,d):h(s[0][2],m)}function f(m){c("next",m)}function d(m){c("throw",m)}function h(m,b){m(b),s.shift(),s.length&&c(s[0][0],s[0][1])}},Gr=function(t){var o,i;return o={},a("next"),a("throw",function(u){throw u}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(u,s){o[u]=t[u]?function(l){return(i=!i)?{value:ye(t[u](l)),done:u==="return"}:s?s(l):l}:s}},Xr=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=t[Symbol.asyncIterator],i;return o?o.call(t):(t=typeof We=="function"?We(t):t[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(s){i[s]=t[s]&&function(l){return new Promise(function(c,p){l=t[s](l),u(c,p,l.done,l.value)})}}function u(s,l,c,p){Promise.resolve(p).then(function(f){s({value:f,done:c})},l)}},Br=function(t,o){return Object.defineProperty?Object.defineProperty(t,"raw",{value:o}):t.raw=o,t};var n=Object.create?function(t,o){Object.defineProperty(t,"default",{enumerable:!0,value:o})}:function(t,o){t.default=o};Zr=function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var i in t)i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)&&Ve(o,t,i);return n(o,t),o},et=function(t){return t&&t.__esModule?t:{default:t}},rt=function(t,o){if(!o.has(t))throw new TypeError("attempted to get private field on non-instance");return o.get(t)},tt=function(t,o,i){if(!o.has(t))throw new TypeError("attempted to set private field on non-instance");return o.set(t,i),i},e("__extends",kr),e("__assign",zr),e("__rest",Ur),e("__decorate",Wr),e("__param",Vr),e("__metadata",qr),e("__awaiter",$r),e("__generator",Nr),e("__exportStar",Dr),e("__createBinding",Ve),e("__values",We),e("__read",yr),e("__spread",Qr),e("__spreadArrays",Kr),e("__spreadArray",Jr),e("__await",ye),e("__asyncGenerator",Yr),e("__asyncDelegator",Gr),e("__asyncValues",Xr),e("__makeTemplateObject",Br),e("__importStar",Zr),e("__importDefault",et),e("__classPrivateFieldGet",rt),e("__classPrivateFieldSet",tt)})});var Re=me(K=>{(function(){var e,r,n,t,o,i,a,u,s,l,c,p,f,d,h,m,b,g,S,R;R=150,l=20,S=150,s=.75,K.score=function(v,w,E){var _,y,x,O;return y=E.preparedQuery,_=E.allowErrors,_||o(v,y.core_lw,y.core_up)?(O=v.toLowerCase(),x=r(v,O,y),Math.ceil(x)):0},K.isMatch=o=function(v,w,E){var _,y,x,O,P,F,M;if(x=v.length,O=w.length,!x||O>x)return!1;for(_=-1,y=-1;++y-1)return h(v,w,ue,ee,oe,q,V);for(be=new Array(q),P=new Array(q),hr=g(q,V),k=Math.ceil(s*q)+5,Z=k,M=!0,A=-1;++Aie&&(ie=ke),F=0,ee[A]===mr)if(dr=u(H,v,w),F=O>0?O:f(v,w,ue,ee,H,A,dr),x=pr+p(H,A,dr,y,F),x>ie)ie=x,Z=k;else{if(pe&&--Z<=0)return Math.max(ie,be[q-1])*hr;pe=!1}pr=ke,O=P[A],P[A]=F,be[A]=ie}}return ie=be[q-1],ie*hr},K.isWordStart=u=function(v,w,E){var _,y;return v===0?!0:(_=w[v],y=w[v-1],i(y)||_!==E[v]&&y===E[v-1])},K.isWordEnd=a=function(v,w,E,_){var y,x;return v===_-1?!0:(y=w[v],x=w[v+1],i(x)||y===E[v]&&x!==E[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var w;return vy?_:y)+10):x+R*y},K.scoreConsecutives=f=function(v,w,E,_,y,x,O){var P,F,M,H,A,V,k;for(F=v.length,H=E.length,M=F-y,A=H-x,P=M-1&&(A=u(M,v,w),A&&(y=M))),F=-1,H=0;++F1&&M>1))return n;for(y=0,k=0,Z=0,A=0,O=-1,P=-1;++P-1){k++;continue}else break;for(;++O12*P)return!1;for(x=-1;++x_)return!1;return!0}}).call(K)});var cr=me(je=>{(function(){var e,r,n,t,o,i,a,u,s,l;l=Re(),i=l.isMatch,e=l.computeScore,u=l.scoreSize,s=20,n=2.5,je.score=function(c,p,f){var d,h,m,b;return h=f.preparedQuery,d=f.allowErrors,d||i(c,h.core_lw,h.core_up)?(b=c.toLowerCase(),m=e(c,b,h),m=a(c,b,m,f),Math.ceil(m)):0},a=function(c,p,f,d){var h,m,b,g,S,R,v,w,E,_;if(f===0)return 0;for(E=d.preparedQuery,_=d.useExtensionBonus,w=d.pathSeparator,S=c.length-1;c[S]===w;)S--;if(b=c.lastIndexOf(w,S),v=S-b,R=1,_&&(R+=o(p,E.ext,b,S,2),f*=R),b===-1)return f;for(g=E.depth;b>-1&&g-- >0;)b=c.lastIndexOf(w,b-1);return m=b===-1?f:R*e(c.slice(b+1,S+1),p.slice(b+1,S+1),E),h=.5*s/(s+r(c,S+1,w)),h*m+(1-h)*f*u(0,n*v)},je.countDir=r=function(c,p,f){var d,h;if(p<1)return 0;for(d=0,h=-1;++hf)))return 0;for(g=p.length,m=d-S,m0?.9*o(c,p,f,S-2,h-1):b/m}}).call(je)});var Rr=me((tn,nn)=>{(function(){var e,r,n,t,o,i,a,u;u=cr(),n=u.countDir,o=u.getExtension,nn.exports=e=function(){function s(l,c){var p,f,d;if(d=c!=null?c:{},p=d.optCharRegEx,f=d.pathSeparator,!(l&&l.length))return null;this.query=l,this.query_lw=l.toLowerCase(),this.core=r(l,p),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=n(l,l.length,f),this.ext=o(this.query_lw),this.charCodes=t(this.query_lw)}return s}(),i=/[ _\-:\/\\]/g,r=function(s,l){return l==null&&(l=i),s.replace(l,"")},a=function(s){var l,c,p,f;for(c="",p=0,f=s.length;p{(function(){var e,r,n,t,o;t=Re(),r=cr(),e=Rr(),n=function(i){return i.candidate},o=function(i,a){return a.score-i.score},an.exports=function(i,a,u){var s,l,c,p,f,d,h,m,b,g,S,R,v;for(m=[],c=u.key,f=u.maxResults,p=u.maxInners,S=u.usePathScoring,b=p!=null&&p>0?p:i.length+1,s=c!=null,h=S?r:t,R=0,v=i.length;R0&&(m.push({candidate:l,score:d}),!--b))));R++);return m.sort(o),i=m.map(n),f!=null&&(i=i.slice(0,f)),i}}).call(on)});var un=me(lr=>{(function(){var e,r,n,t,o,i,a,u,s,l;l=Re(),n=l.isMatch,t=l.isWordStart,s=l.scoreConsecutives,u=l.scoreCharacter,a=l.scoreAcronyms,lr.match=o=function(c,p,f){var d,h,m,b,g,S;return d=f.allowErrors,g=f.preparedQuery,b=f.pathSeparator,d||n(c,g.core_lw,g.core_up)?(S=c.toLowerCase(),m=r(c,S,g),m.length===0||c.indexOf(b)>-1&&(h=e(c,S,g,b),m=i(m,h)),m):[]},lr.wrap=function(c,p,f){var d,h,m,b,g,S,R,v,w;if(f.wrap!=null&&(w=f.wrap,S=w.tagClass,v=w.tagOpen,R=w.tagClose),S==null&&(S="highlight"),v==null&&(v=''),R==null&&(R=""),c===p)return v+c+R;if(m=o(c,p,f),m.length===0)return c;for(b="",d=-1,g=0;++dg&&(b+=c.substring(g,h),g=h);++dg&&(b+=v,b+=c.substring(g,h),b+=R,g=h)}return g<=c.length-1&&(b+=c.substring(g)),b},e=function(c,p,f,d){var h,m,b;for(b=c.length-1;c[b]===d;)b--;if(h=c.lastIndexOf(d,b),h===-1)return[];for(m=f.depth;m-- >0;)if(h=c.lastIndexOf(d,h-1),h===-1)return[];return h++,b++,r(c.slice(h,b),p.slice(h,b),f,h)},i=function(c,p){var f,d,h,m,b,g,S;if(b=c.length,g=p.length,g===0)return c.slice();if(b===0)return p.slice();for(h=-1,m=0,d=p[m],S=[];++h0?w:s(c,p,A,V,y,x,ee),R=Z+u(y,x,ee,S,_)),oe=q[x],w=E[x],k>oe?F=m:(k=oe,F=g),R>k?(k=R,F=h):_=0,q[x]=k,E[x]=_,pe[++H]=k>0?F:b;for(y=O-1,x=M-1,H=y*M+x,v=!0,P=[];v&&y>=0&&x>=0;)switch(pe[H]){case g:y--,H-=M;break;case m:x--,H--;break;case h:P.push(y+d),x--,y--,H-=M+1;break;default:v=!1}return P.reverse(),P}}).call(lr)});var jr=me((cn,ln)=>{(function(){var e,r,n,t,o,i,a,u;n=sn(),t=un(),u=Re(),i=cr(),e=Rr(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",ln.exports={filter:function(s,l,c){return c==null&&(c={}),(l!=null?l.length:void 0)&&(s!=null?s.length:void 0)?(c=o(c,l),n(s,l,c)):[]},score:function(s,l,c){return c==null&&(c={}),(s!=null?s.length:void 0)&&(l!=null?l.length:void 0)?(c=o(c,l),c.usePathScoring?i.score(s,l,c):u.score(s,l,c)):0},match:function(s,l,c){var p,f,d;return c==null&&(c={}),s?l?s===l?function(){d=[];for(var h=0,m=s.length;0<=m?hm;0<=m?h++:h--)d.push(h);return d}.apply(this):(c=o(c,l),t.match(s,l,c)):[]:[]},wrap:function(s,l,c){return c==null&&(c={}),s?l?(c=o(c,l),t.wrap(s,l,c)):[]:[]},prepareQuery:function(s,l){return l==null&&(l={}),l=o(l,s),l.preparedQuery}},o=function(s,l){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===l?a:a=new e(l,s)),s}}).call(cn)});var ot=br(nt()),{__extends:U,__assign:bo,__rest:yo,__decorate:go,__param:xo,__metadata:wo,__awaiter:it,__generator:at,__exportStar:So,__createBinding:Eo,__values:G,__read:j,__spread:_o,__spreadArrays:Oo,__spreadArray:W,__await:To,__asyncGenerator:Ao,__asyncDelegator:Mo,__asyncValues:st,__makeTemplateObject:Io,__importStar:Lo,__importDefault:Co,__classPrivateFieldGet:Po,__classPrivateFieldSet:Ho}=ot.default;function T(e){return typeof e=="function"}function qe(e){var r=function(t){Error.call(t),t.stack=new Error().stack},n=e(r);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var $e=qe(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription: `+n.map(function(t,o){return o+1+") "+t.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=n}});function ae(e,r){if(e){var n=e.indexOf(r);0<=n&&e.splice(n,1)}}var N=function(){function e(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var r,n,t,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var u=G(a),s=u.next();!s.done;s=u.next()){var l=s.value;l.remove(this)}}catch(m){r={error:m}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}else a==null||a.remove(this);var c=this.initialTeardown;if(T(c))try{c()}catch(m){i=m instanceof $e?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var f=G(p),d=f.next();!d.done;d=f.next()){var h=d.value;try{ut(h)}catch(m){i=i!=null?i:[],m instanceof $e?i=W(W([],j(i)),j(m.errors)):i.push(m)}}}catch(m){t={error:m}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(t)throw t.error}}}if(i)throw new $e(i)}},e.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)ut(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(n=this._teardowns)!==null&&n!==void 0?n:[]).push(r)}},e.prototype._hasParent=function(r){var n=this._parentage;return n===r||Array.isArray(n)&&n.includes(r)},e.prototype._addParent=function(r){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(r),n):n?[n,r]:r},e.prototype._removeParent=function(r){var n=this._parentage;n===r?this._parentage=null:Array.isArray(n)&&ae(n,r)},e.prototype.remove=function(r){var n=this._teardowns;n&&ae(n,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var gr=N.EMPTY;function Ne(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ut(e){T(e)?e():e.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ge={setTimeout:function(){for(var e=[],r=0;r0?e.prototype.requestAsyncId.call(this,n,t,o):(n.actions.push(this),n.scheduled||(n.scheduled=xe.requestAnimationFrame(function(){return n.flush(void 0)})))},r.prototype.recycleAsyncId=function(n,t,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,t,o);n.actions.length===0&&(xe.cancelAnimationFrame(t),n.scheduled=void 0)},r}(Qe);var wt=function(e){U(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var t=this.actions,o,i=-1;n=n||t.shift();var a=t.length;do if(o=n.execute(n.state,n.delay))break;while(++ir==="focus"),Ae(e===Pr()))}var ao=new se,wl=Rt(()=>Oe(new ResizeObserver(e=>{for(let r of e)ao.next(r)}))).pipe(te(e=>zt.pipe(Ae(e)).pipe(ir(()=>e.disconnect()))),ar(1));function Gt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Xt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Bt(e){return{x:e.scrollLeft,y:e.scrollTop}}function so(e){return J(Q(e,"scroll"),Q(window,"resize")).pipe(z(()=>Bt(e)),Ae(Bt(e)))}function Zt(e,r=16){return so(e).pipe(z(({y:n})=>{let t=Gt(e),o=Xt(e);return n>=o.height-t.height-r}),Te())}var jl={drawer:Y("[data-md-toggle=drawer]"),search:Y("[data-md-toggle=search]")};function en(){return new URL(location.href)}function uo(e,r={credentials:"same-origin"}){return de(fetch(e.toString(),r)).pipe(ve(n=>n.status===200))}function ur(e,r){return uo(e,r).pipe(te(n=>n.json()),ar(1))}function Me(e,r=document){return Y(`[data-mdx-component=${e}]`,r)}function Hr(e,r=document){return Jt(`[data-mdx-component=${e}]`,r)}var co=Y("#__config"),Fe=JSON.parse(co.textContent);Fe.base=new URL(Fe.base,en()).toString().replace(/\/$/,"");function Fr(){return Fe}function fe(e,r){return typeof r!="undefined"?Fe.translations[e].replace("#",r.toString()):Fe.translations[e]}function rn(e){let r=Yt(e),n=J(Q(e,"keyup"),Q(e,"focus").pipe($t(1))).pipe(z(()=>e.value),Te());return r.pipe(ve(t=>!t),He(n)).subscribe(([,t])=>{let o=document.location.pathname;t.length&&ga("send","pageview",`${o}?q=[icon]+${t}`)}),tr([n,r]).pipe(z(([t,o])=>({ref:e,value:t,focus:o})))}var wn=br(jr());function fn(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 n of r)fn(e,n)}function ne(e,r,...n){let t=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?t.setAttribute(o,r[o]):r[o]&&t.setAttribute(o,"");for(let o of n)fn(t,o);return t}function pn(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function mn(e,r){switch(r){case 0:e.textContent=fe("search.result.none");break;case 1:e.textContent=fe("search.result.one");break;default:e.textContent=fe("search.result.other",pn(r))}}function dn(e){e.textContent=fe("search.result.placeholder")}function hn(e,r){e.appendChild(r)}function vn(e){e.innerHTML=""}var bn=br(jr());function lo(e,r){return(0,bn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function yn(e,r){return ne("li",{class:"mdx-iconsearch-result__item"},ne("span",{class:"twemoji"},ne("img",{src:e.url})),ne("button",{class:"md-clipboard--inline",title:fe("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ne("code",null,`:${lo(e,r)}:`)))}function gn(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function xn(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function fo(e,{index$:r,query$:n}){return tr([n.pipe(Nt("value")),r.pipe(z(({icons:t,emojis:o})=>[...Object.keys(t.data),...Object.keys(o.data)]))]).pipe(z(([{value:t},o])=>(0,wn.filter)(o,t)),te(t=>r.pipe(z(({icons:o,emojis:i})=>({data:t.map(a=>{let u=a in o.data?o:i;return{shortcode:a,url:[u.base,u.data[a]].join("")}})})))))}function Sn(e,{index$:r,query$:n}){let t=new se,o=Zt(e).pipe(ve(Boolean)),i=Y(":scope > :first-child",e);t.pipe(Ir(Tr),He(n)).subscribe(([{data:u},{value:s}])=>{s?mn(i,u.length):dn(i)});let a=Y(":scope > :last-child",e);return t.pipe(Ir(Tr),sr(()=>vn(a)),te(({data:u})=>J(Oe(...u.slice(0,10)),Oe(...u.slice(10)).pipe(Wt(10),Qt(o),te(([s])=>Oe(...s))))),He(n)).subscribe(([u,{value:s}])=>{hn(a,yn(u,s))}),fo(e,{query$:n,index$:r}).pipe(sr(t),ir(()=>t.complete()),z(u=>ze({ref:e},u)))}function En(e){let r=Fr(),n=ur(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),t=Me("iconsearch-query",e),o=Me("iconsearch-result",e),i=rn(t);return J(i,Sn(o,{index$:n,query$:i}))}var fr;(function(e){e.PUBLIC="PUBLIC",e.PRIVATE="PRIVATE"})(fr||(fr={}));function _n(e){let r=ur("https://gpiqp43wvb.execute-api.us-east-1.amazonaws.com/_/"),n=Me("sponsorship-count"),t=Me("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=Y(":scope > :first-child",e);for(let a of o.sponsors)a.type===fr.PUBLIC&&i.appendChild(gn(a));i.appendChild(xn(o.sponsors.filter(({type:a})=>a===fr.PRIVATE).length)),n.innerText=`${o.sponsors.length}`,t.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(z(o=>ze({ref:e},o)))}function On(){Q(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)}})}On();var po=document$.pipe(te(()=>J(...Hr("iconsearch").map(e=>En(e)),...Hr("sponsorship").map(e=>_n(e)))));po.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.e7fa8c09.min.js.map