(()=>{var jo=Object.create;var $e=Object.defineProperty;var Wo=Object.getOwnPropertyDescriptor;var zo=Object.getOwnPropertyNames,Kr=Object.getOwnPropertySymbols,Uo=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable;var Jr=(e,r,t)=>r in e?$e(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,De=(e,r)=>{for(var t in r||(r={}))Gr.call(r,t)&&Jr(e,t,r[t]);if(Kr)for(var t of Kr(r))Vo.call(r,t)&&Jr(e,t,r[t]);return e};var qo=e=>$e(e,"__esModule",{value:!0});var he=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var No=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of zo(r))!Gr.call(e,o)&&o!=="default"&&$e(e,o,{get:()=>r[o],enumerable:!(t=Wo(r,o))||t.enumerable});return e},Tr=e=>No(qo($e(e!=null?jo(Uo(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var vt=he((Tn,Ge)=>{var Br,Yr,Xr,Zr,et,rt,tt,ot,nt,Qe,Or,it,at,st,we,lt,ut,ct,ft,pt,mt,dt,ht,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 Ge=="object"&&typeof Ge.exports=="object"?e(t(r,t(Ge.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])};Br=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)},Yr=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},et=function(o,n){return function(i,a){n(i,a,o)}},rt=function(o,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(o,n)},tt=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())})},ot=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.")},Or=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},it=function(){for(var o=[],n=0;n1||u(m,b)})})}function u(m,b){try{p(a[m](b))}catch(w){h(s[0][3],w)}}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])}},ut=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}},ct=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)}},ft=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};pt=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},mt=function(o){return o&&o.__esModule?o:{default:o}},dt=function(o,n){if(!n.has(o))throw new TypeError("attempted to get private field on non-instance");return n.get(o)},ht=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",Br),e("__assign",Yr),e("__rest",Xr),e("__decorate",Zr),e("__param",et),e("__metadata",rt),e("__awaiter",tt),e("__generator",ot),e("__exportStar",nt),e("__createBinding",Ke),e("__values",Qe),e("__read",Or),e("__spread",it),e("__spreadArrays",at),e("__spreadArray",st),e("__await",we),e("__asyncGenerator",lt),e("__asyncDelegator",ut),e("__asyncValues",ct),e("__makeTemplateObject",ft),e("__importStar",pt),e("__importDefault",mt),e("__classPrivateFieldGet",dt),e("__classPrivateFieldSet",ht)})});var Ve=he(G=>{(function(){var e,r,t,o,n,i,a,l,s,c,u,p,f,d,h,m,b,w,E,I;I=150,c=20,E=150,s=.75,G.score=function(v,x,S){var _,y,g,O;return y=S.preparedQuery,_=S.allowErrors,_||n(v,y.core_lw,y.core_up)?(O=v.toLowerCase(),g=r(v,O,y),Math.ceil(g)):0},G.isMatch=n=function(v,x,S){var _,y,g,O,F,H,M;if(g=v.length,O=x.length,!g||O>g)return!1;for(_=-1,y=-1;++y-1)return h(v,x,le,ee,ne,q,V);for(ge=new Array(q),F=new Array(q),_r=w(q,V),z=Math.ceil(s*q)+5,Z=z,M=!0,A=-1;++Aie&&(ie=Ne),H=0,ee[A]===Sr)if(Er=l(k,v,x),H=O>0?O:f(v,x,le,ee,k,A,Er),g=wr+p(k,A,Er,y,H),g>ie)ie=g,Z=z;else{if(de&&--Z<=0)return Math.max(ie,ge[q-1])*_r;de=!1}wr=Ne,O=F[A],F[A]=H,ge[A]=ie}}return ie=ge[q-1],ie*_r},G.isWordStart=l=function(v,x,S){var _,y;return v===0?!0:(_=x[v],y=x[v-1],i(y)||_!==S[v]&&y===S[v-1])},G.isWordEnd=a=function(v,x,S,_){var y,g;return v===_-1?!0:(y=x[v],g=x[v+1],i(g)||y===S[v]&&g!==S[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var x;return vy?_:y)+10):g+I*y},G.scoreConsecutives=f=function(v,x,S,_,y,g,O){var F,H,M,k,A,V,z;for(H=v.length,k=S.length,M=H-y,A=k-g,F=M-1&&(A=l(M,v,x),A&&(y=M))),H=-1,k=0;++H1&&M>1))return t;for(y=0,z=0,Z=0,A=0,O=-1,F=-1;++F-1){z++;continue}else break;for(;++O12*F)return!1;for(g=-1;++g_)return!1;return!0}}).call(G)});var xr=he(qe=>{(function(){var e,r,t,o,n,i,a,l,s,c;c=Ve(),i=c.isMatch,e=c.computeScore,l=c.scoreSize,s=20,t=2.5,qe.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,w,E,I,v,x,S,_;if(f===0)return 0;for(S=d.preparedQuery,_=d.useExtensionBonus,x=d.pathSeparator,E=u.length-1;u[E]===x;)E--;if(b=u.lastIndexOf(x,E),v=E-b,I=1,_&&(I+=n(p,S.ext,b,E,2),f*=I),b===-1)return f;for(w=S.depth;b>-1&&w-- >0;)b=u.lastIndexOf(x,b-1);return m=b===-1?f:I*e(u.slice(b+1,E+1),p.slice(b+1,E+1),S),h=.5*s/(s+r(u,E+1,x)),h*m+(1-h)*f*l(0,t*v)},qe.countDir=r=function(u,p,f){var d,h;if(p<1)return 0;for(d=0,h=-1;++hf)))return 0;for(w=p.length,m=d-E,m0?.9*n(u,p,f,E-2,h-1):b/m}}).call(qe)});var Dr=he((mo,ho)=>{(function(){var e,r,t,o,n,i,a,l;l=xr(),t=l.countDir,n=l.getExtension,ho.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=Ve(),r=xr(),e=Dr(),t=function(i){return i.candidate},n=function(i,a){return a.score-i.score},bo.exports=function(i,a,l){var s,c,u,p,f,d,h,m,b,w,E,I,v;for(m=[],u=l.key,f=l.maxResults,p=l.maxInners,E=l.usePathScoring,b=p!=null&&p>0?p:i.length+1,s=u!=null,h=E?r:o,I=0,v=i.length;I0&&(m.push({candidate:c,score:d}),!--b))));I++);return m.sort(n),i=m.map(t),f!=null&&(i=i.slice(0,f)),i}}).call(vo)});var yo=he(yr=>{(function(){var e,r,t,o,n,i,a,l,s,c;c=Ve(),t=c.isMatch,o=c.isWordStart,s=c.scoreConsecutives,l=c.scoreCharacter,a=c.scoreAcronyms,yr.match=n=function(u,p,f){var d,h,m,b,w,E;return d=f.allowErrors,w=f.preparedQuery,b=f.pathSeparator,d||t(u,w.core_lw,w.core_up)?(E=u.toLowerCase(),m=r(u,E,w),m.length===0||u.indexOf(b)>-1&&(h=e(u,E,w,b),m=i(m,h)),m):[]},yr.wrap=function(u,p,f){var d,h,m,b,w,E,I,v,x;if(f.wrap!=null&&(x=f.wrap,E=x.tagClass,v=x.tagOpen,I=x.tagClose),E==null&&(E="highlight"),v==null&&(v=''),I==null&&(I=""),u===p)return v+u+I;if(m=n(u,p,f),m.length===0)return u;for(b="",d=-1,w=0;++dw&&(b+=u.substring(w,h),w=h);++dw&&(b+=v,b+=u.substring(w,h),b+=I,w=h)}return w<=u.length-1&&(b+=u.substring(w)),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,w,E;if(b=u.length,w=p.length,w===0)return u.slice();if(b===0)return p.slice();for(h=-1,m=0,d=p[m],E=[];++h0?x:s(u,p,A,V,y,g,ee),I=Z+l(y,g,ee,E,_)),ne=q[g],x=S[g],z>ne?H=m:(z=ne,H=w),I>z?(z=I,H=h):_=0,q[g]=z,S[g]=_,de[++k]=z>0?H:b;for(y=O-1,g=M-1,k=y*M+g,v=!0,F=[];v&&y>=0&&g>=0;)switch(de[k]){case w:y--,k-=M;break;case m:g--,k--;break;case h:F.push(y+d),g--,y--,k-=M+1;break;default:v=!1}return F.reverse(),F}}).call(yr)});var Qr=he((go,wo)=>{(function(){var e,r,t,o,n,i,a,l;t=xo(),o=yo(),l=Ve(),i=xr(),e=Dr(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",wo.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(go)});var bt=Tr(vt()),{__extends:U,__assign:On,__rest:An,__decorate:Mn,__param:Ln,__metadata:In,__awaiter:xt,__generator:Je,__exportStar:Cn,__createBinding:Pn,__values:B,__read:R,__spread:Fn,__spreadArrays:kn,__spreadArray:j,__await:Be,__asyncGenerator:yt,__asyncDelegator:Rn,__asyncValues:gt,__makeTemplateObject:Hn,__importStar:jn,__importDefault:Wn,__classPrivateFieldGet:zn,__classPrivateFieldSet:Un}=bt.default;function T(e){return typeof e=="function"}function Ye(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 Xe=Ye(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(a)if(this._parentage=null,Array.isArray(a))try{for(var l=B(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.remove(this);var u=this.initialTeardown;if(T(u))try{u()}catch(m){i=m instanceof Xe?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var f=B(p),d=f.next();!d.done;d=f.next()){var h=d.value;try{wt(h)}catch(m){i=i!=null?i:[],m instanceof Xe?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 Xe(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)wt(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 Ar=$.EMPTY;function Ze(e){return e instanceof $||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function wt(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},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},r.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},r.prototype._innerSubscribe=function(t){var o=this,n=o.hasError,i=o.isStopped,a=o.observers;return n||i?Ar:(a.push(t),new $(function(){return ae(a,t)}))},r.prototype._checkFinalizedStatuses=function(t){var o=this,n=o.hasError,i=o.thrownError,a=o.isStopped;n?t.error(i):a&&t.complete()},r.prototype.asObservable=function(){var t=new L;return t.source=this,t},r.create=function(t,o){return new Lt(t,o)},r}(L);var Lt=function(e){U(r,e);function r(t,o){var n=e.call(this)||this;return n.destination=t,n.source=o,n}return r.prototype.next=function(t){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,t)},r.prototype.error=function(t){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,t)},r.prototype.complete=function(){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||o===void 0||o.call(t)},r.prototype._subscribe=function(t){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(t))!==null&&n!==void 0?n:Ar},r}(re);var Pe={now:function(){return(Pe.delegate||Date).now()},delegate:void 0};var It=function(e){U(r,e);function r(t,o,n){t===void 0&&(t=Infinity),o===void 0&&(o=Infinity),n===void 0&&(n=Pe);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===Infinity,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,o),i}return r.prototype.next=function(t){var o=this,n=o.isStopped,i=o._buffer,a=o._infiniteTimeWindow,l=o._timestampProvider,s=o._windowTime;n||(i.push(t),!a&&i.push(l.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(t),n=this,i=n._infiniteTimeWindow,a=n._buffer,l=a.slice(),s=0;s0?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}(rr);var kt=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===Nr()))}var bn=new re,hf=Rr(()=>ve(new ResizeObserver(e=>{for(let r of e)bn.next(r)}))).pipe(X(e=>Hr.pipe(ye(e)).pipe(je(()=>e.disconnect()))),We(1));function ao(e){return{width:e.offsetWidth,height:e.offsetHeight}}function so(e){return{width:e.scrollWidth,height:e.scrollHeight}}function lo(e){return{x:e.scrollLeft,y:e.scrollTop}}function xn(e){return K(D(e,"scroll"),D(window,"resize")).pipe(W(()=>lo(e)),ye(lo(e)))}function uo(e,r=16){return xn(e).pipe(W(({y:t})=>{let o=ao(e),n=so(e);return t>=n.height-o.height-r}),xe())}var If={drawer:J("[data-md-toggle=drawer]"),search:J("[data-md-toggle=search]")};function co(){return new URL(location.href)}function yn(e,r={credentials:"same-origin"}){return ce(fetch(`${e}`,r)).pipe(pe(t=>t.status===200))}function br(e,r){return yn(e,r).pipe(X(t=>t.json()),We(1))}function Le(e,r=document){return J(`[data-mdx-component=${e}]`,r)}function $r(e,r=document){return no(`[data-mdx-component=${e}]`,r)}var gn=J("#__config"),Ue=JSON.parse(gn.textContent);Ue.base=new URL(Ue.base,co()).toString().replace(/\/$/,"");function fo(){return Ue}function me(e,r){return typeof r!="undefined"?Ue.translations[e].replace("#",r.toString()):Ue.translations[e]}function po(e){let r=io(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}`)}),ke([t,r]).pipe(W(([o,n])=>({ref:e,value:o,focus:n})))}var Po=Tr(Qr());function So(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)So(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)So(o,n);return o}function Eo(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function _o(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",Eo(r))}}function To(e){e.textContent=me("search.result.placeholder")}function Oo(e,r){e.appendChild(r)}function Ao(e){e.innerHTML=""}var Mo=Tr(Qr());function wn(e,r){return(0,Mo.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Lo(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,`:${wn(e,r)}:`)))}function Io(e){let r=`@${e.name}`;return oe("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},oe("img",{src:e.image}))}function Co(e){return oe("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function Sn(e,{index$:r,query$:t}){return ke([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,Po.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 Fo(e,{index$:r,query$:t}){let o=new re,n=uo(e).pipe(pe(Boolean)),i=J(":scope > :first-child",e);o.pipe(hr(or),Me(t)).subscribe(([{data:l},{value:s}])=>{s?_o(i,l.length):To(i)});let a=J(":scope > :last-child",e);return o.pipe(hr(or),ze(()=>Ao(a)),X(({data:l})=>K(ve(...l.slice(0,10)),ve(...l.slice(10)).pipe(jr(10),qr(n),X(([s])=>ve(...s))))),Me(t)).subscribe(([l,{value:s}])=>{Oo(a,Lo(l,s))}),Sn(e,{query$:t,index$:r}).pipe(ze(o),je(()=>o.complete()),W(l=>De({ref:e},l)))}function ko(e){let r=fo(),t=br(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),o=Le("iconsearch-query",e),n=Le("iconsearch-result",e),i=po(o),a=Fo(n,{index$:t,query$:i});return K(i,a)}var gr;(function(t){t.PUBLIC="PUBLIC",t.PRIVATE="PRIVATE"})(gr||(gr={}));function Ro(e){let r=br("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=J(":scope > :first-child",e);for(let a of n.sponsors)a.type===gr.PUBLIC&&i.appendChild(Io(a));i.appendChild(Co(n.sponsors.filter(({type:a})=>a===gr.PRIVATE).length)),t.innerText=`${n.sponsors.length}`,o.innerText=`$ ${n.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(W(n=>De({ref:e},n)))}function Ho(){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)}})}Ho();var En=document$.pipe(X(()=>K(...$r("iconsearch").map(e=>ko(e)),...$r("sponsorship").map(e=>Ro(e)))));En.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.f989075e.min.js.map