(()=>{var Un=Object.create;var Je=Object.defineProperty;var Vn=Object.getOwnPropertyDescriptor;var jn=Object.getOwnPropertyNames,Br=Object.getOwnPropertySymbols,qn=Object.getPrototypeOf,Zr=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable;var et=(e,r,n)=>r in e?Je(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,Ye=(e,r)=>{for(var n in r||(r={}))Zr.call(r,n)&&et(e,n,r[n]);if(Br)for(var n of Br(r))Nn.call(r,n)&&et(e,n,r[n]);return e};var $n=e=>Je(e,"__esModule",{value:!0});var ve=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Dn=(e,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of jn(r))!Zr.call(e,o)&&(n||o!=="default")&&Je(e,o,{get:()=>r[o],enumerable:!(t=Vn(r,o))||t.enumerable});return e},Pr=(e,r)=>Dn($n(Je(e!=null?Un(qn(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var wt=ve((Io,Be)=>{/*! ***************************************************************************** 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. ***************************************************************************** */var rt,tt,nt,ot,it,at,ft,ut,ct,Ge,Fr,st,lt,pt,_e,mt,ht,dt,vt,xt,bt,yt,gt,Xe;(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 Be=="object"&&typeof Be.exports=="object"?e(n(r,n(Be.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,f){return t[i]=o?o(i,f):f}}})(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])};rt=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)},tt=Object.assign||function(t){for(var o,i=1,f=arguments.length;i=0;s--)(c=t[s])&&(a=(u<3?c(a):u>3?c(o,i,a):c(o,i))||a);return u>3&&a&&Object.defineProperty(o,i,a),a},it=function(t,o){return function(i,f){o(i,f,t)}},at=function(t,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,o)},ft=function(t,o,i,f){function u(a){return a instanceof i?a:new i(function(c){c(a)})}return new(i||(i=Promise))(function(a,c){function s(h){try{l(f.next(h))}catch(d){c(d)}}function p(h){try{l(f.throw(h))}catch(d){c(d)}}function l(h){h.done?a(h.value):u(h.value).then(s,p)}l((f=f.apply(t,o||[])).next())})},ut=function(t,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},f,u,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(l){return function(h){return p([l,h])}}function p(l){if(f)throw new TypeError("Generator is already executing.");for(;i;)try{if(f=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,u=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=t.length&&(t=void 0),{value:t&&t[f++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Fr=function(t,o){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var f=i.call(t),u,a=[],c;try{for(;(o===void 0||o-- >0)&&!(u=f.next()).done;)a.push(u.value)}catch(s){c={error:s}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(c)throw c.error}}return a},st=function(){for(var t=[],o=0;o1||s(m,x)})})}function s(m,x){try{p(f[m](x))}catch(w){d(a[0][3],w)}}function p(m){m.value instanceof _e?Promise.resolve(m.value.v).then(l,h):d(a[0][2],m)}function l(m){s("next",m)}function h(m){s("throw",m)}function d(m,x){m(x),a.shift(),a.length&&s(a[0][0],a[0][1])}},ht=function(t){var o,i;return o={},f("next"),f("throw",function(u){throw u}),f("return"),o[Symbol.iterator]=function(){return this},o;function f(u,a){o[u]=t[u]?function(c){return(i=!i)?{value:_e(t[u](c)),done:u==="return"}:a?a(c):c}:a}},dt=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 Ge=="function"?Ge(t):t[Symbol.iterator](),i={},f("next"),f("throw"),f("return"),i[Symbol.asyncIterator]=function(){return this},i);function f(a){i[a]=t[a]&&function(c){return new Promise(function(s,p){c=t[a](c),u(s,p,c.done,c.value)})}}function u(a,c,s,p){Promise.resolve(p).then(function(l){a({value:l,done:s})},c)}},vt=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};xt=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)&&Xe(o,t,i);return n(o,t),o},bt=function(t){return t&&t.__esModule?t:{default:t}},yt=function(t,o,i,f){if(i==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?t!==o||!f:!o.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?f:i==="a"?f.call(t):f?f.value:o.get(t)},gt=function(t,o,i,f,u){if(f==="m")throw new TypeError("Private method is not writable");if(f==="a"&&!u)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?t!==o||!u:!o.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return f==="a"?u.call(t,i):u?u.value=i:o.set(t,i),i},e("__extends",rt),e("__assign",tt),e("__rest",nt),e("__decorate",ot),e("__param",it),e("__metadata",at),e("__awaiter",ft),e("__generator",ut),e("__exportStar",ct),e("__createBinding",Xe),e("__values",Ge),e("__read",Fr),e("__spread",st),e("__spreadArrays",lt),e("__spreadArray",pt),e("__await",_e),e("__asyncGenerator",mt),e("__asyncDelegator",ht),e("__asyncValues",dt),e("__makeTemplateObject",vt),e("__importStar",xt),e("__importDefault",bt),e("__classPrivateFieldGet",yt),e("__classPrivateFieldSet",gt)})});var De=ve(G=>{(function(){var e,r,n,t,o,i,f,u,a,c,s,p,l,h,d,m,x,w,_,L;L=150,c=20,_=150,a=.75,G.score=function(v,b,S){var E,y,g,O;return y=S.preparedQuery,E=S.allowErrors,E||o(v,y.core_lw,y.core_up)?(O=v.toLowerCase(),g=r(v,O,y),Math.ceil(g)):0},G.isMatch=o=function(v,b,S){var E,y,g,O,F,H,C;if(g=v.length,O=b.length,!g||O>g)return!1;for(E=-1,y=-1;++y-1)return d(v,b,he,ie,ue,N,q);for(Se=new Array(N),F=new Array(N),Lr=w(N,q),V=Math.ceil(a*N)+5,oe=V,C=!0,M=-1;++Mce&&(ce=Ke),H=0,ie[M]===Mr)if(Cr=u(R,v,b),H=O>0?O:l(v,b,he,ie,R,M,Cr),g=Ir+p(R,M,Cr,y,H),g>ce)ce=g,oe=V;else{if(de&&--oe<=0)return Math.max(ce,Se[N-1])*Lr;de=!1}Ir=Ke,O=F[M],F[M]=H,Se[M]=ce}}return ce=Se[N-1],ce*Lr},G.isWordStart=u=function(v,b,S){var E,y;return v===0?!0:(E=b[v],y=b[v-1],i(y)||E!==S[v]&&y===S[v-1])},G.isWordEnd=f=function(v,b,S,E){var y,g;return v===E-1?!0:(y=b[v],g=b[v+1],i(g)||y===S[v]&&g!==S[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},x=function(v){var b;return vy?E:y)+10):g+L*y},G.scoreConsecutives=l=function(v,b,S,E,y,g,O){var F,H,C,R,M,q,V;for(H=v.length,R=S.length,C=H-y,M=R-g,F=C-1&&(M=u(C,v,b),M&&(y=C))),H=-1,R=0;++H1&&C>1))return n;for(y=0,V=0,oe=0,M=0,O=-1,F=-1;++F-1){V++;continue}else break;for(;++O12*F)return!1;for(g=-1;++gE)return!1;return!0}}).call(G)});var Or=ve(Qe=>{(function(){var e,r,n,t,o,i,f,u,a,c;c=De(),i=c.isMatch,e=c.computeScore,u=c.scoreSize,a=20,n=2.5,Qe.score=function(s,p,l){var h,d,m,x;return d=l.preparedQuery,h=l.allowErrors,h||i(s,d.core_lw,d.core_up)?(x=s.toLowerCase(),m=e(s,x,d),m=f(s,x,m,l),Math.ceil(m)):0},f=function(s,p,l,h){var d,m,x,w,_,L,v,b,S,E;if(l===0)return 0;for(S=h.preparedQuery,E=h.useExtensionBonus,b=h.pathSeparator,_=s.length-1;s[_]===b;)_--;if(x=s.lastIndexOf(b,_),v=_-x,L=1,E&&(L+=o(p,S.ext,x,_,2),l*=L),x===-1)return l;for(w=S.depth;x>-1&&w-- >0;)x=s.lastIndexOf(b,x-1);return m=x===-1?l:L*e(s.slice(x+1,_+1),p.slice(x+1,_+1),S),d=.5*a/(a+r(s,_+1,b)),d*m+(1-d)*l*u(0,n*v)},Qe.countDir=r=function(s,p,l){var h,d;if(p<1)return 0;for(h=0,d=-1;++dl)))return 0;for(w=p.length,m=h-_,m0?.9*o(s,p,l,_-2,d-1):x/m}}).call(Qe)});var Gr=ve((Sn,_n)=>{(function(){var e,r,n,t,o,i,f,u;u=Or(),n=u.countDir,o=u.getExtension,_n.exports=e=function(){function a(c,s){var p,l,h;if(h=s!=null?s:{},p=h.optCharRegEx,l=h.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=f(this.core),this.depth=n(c,c.length,l),this.ext=o(this.query_lw),this.charCodes=t(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,c){return c==null&&(c=i),a.replace(c,"")},f=function(a){var c,s,p,l;for(s="",p=0,l=a.length;p{(function(){var e,r,n,t,o;t=De(),r=Or(),e=Gr(),n=function(i){return i.candidate},o=function(i,f){return f.score-i.score},Tn.exports=function(i,f,u){var a,c,s,p,l,h,d,m,x,w,_,L,v;for(m=[],s=u.key,l=u.maxResults,p=u.maxInners,_=u.usePathScoring,x=p!=null&&p>0?p:i.length+1,a=s!=null,d=_?r:t,L=0,v=i.length;L0&&(m.push({candidate:c,score:h}),!--x))));L++);return m.sort(o),i=m.map(n),l!=null&&(i=i.slice(0,l)),i}}).call(En)});var An=ve(Ar=>{(function(){var e,r,n,t,o,i,f,u,a,c;c=De(),n=c.isMatch,t=c.isWordStart,a=c.scoreConsecutives,u=c.scoreCharacter,f=c.scoreAcronyms,Ar.match=o=function(s,p,l){var h,d,m,x,w,_;return h=l.allowErrors,w=l.preparedQuery,x=l.pathSeparator,h||n(s,w.core_lw,w.core_up)?(_=s.toLowerCase(),m=r(s,_,w),m.length===0||s.indexOf(x)>-1&&(d=e(s,_,w,x),m=i(m,d)),m):[]},Ar.wrap=function(s,p,l){var h,d,m,x,w,_,L,v,b;if(l.wrap!=null&&(b=l.wrap,_=b.tagClass,v=b.tagOpen,L=b.tagClose),_==null&&(_="highlight"),v==null&&(v=''),L==null&&(L=""),s===p)return v+s+L;if(m=o(s,p,l),m.length===0)return s;for(x="",h=-1,w=0;++hw&&(x+=s.substring(w,d),w=d);++hw&&(x+=v,x+=s.substring(w,d),x+=L,w=d)}return w<=s.length-1&&(x+=s.substring(w)),x},e=function(s,p,l,h){var d,m,x;for(x=s.length-1;s[x]===h;)x--;if(d=s.lastIndexOf(h,x),d===-1)return[];for(m=l.depth;m-- >0;)if(d=s.lastIndexOf(h,d-1),d===-1)return[];return d++,x++,r(s.slice(d,x),p.slice(d,x),l,d)},i=function(s,p){var l,h,d,m,x,w,_;if(x=s.length,w=p.length,w===0)return s.slice();if(x===0)return p.slice();for(d=-1,m=0,h=p[m],_=[];++d0?b:a(s,p,M,q,y,g,ie),L=oe+u(y,g,ie,_,E)),ue=N[g],b=S[g],V>ue?H=m:(V=ue,H=w),L>V?(V=L,H=d):E=0,N[g]=V,S[g]=E,de[++R]=V>0?H:x;for(y=O-1,g=C-1,R=y*C+g,v=!0,F=[];v&&y>=0&&g>=0;)switch(de[R]){case w:y--,R-=C;break;case m:g--,R--;break;case d:F.push(y+h),g--,y--,R-=C+1;break;default:v=!1}return F.reverse(),F}}).call(Ar)});var Xr=ve((In,Mn)=>{(function(){var e,r,n,t,o,i,f,u;n=On(),t=An(),u=De(),i=Or(),e=Gr(),f=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",Mn.exports={filter:function(a,c,s){return s==null&&(s={}),(c!=null?c.length:void 0)&&(a!=null?a.length:void 0)?(s=o(s,c),n(a,c,s)):[]},score:function(a,c,s){return s==null&&(s={}),(a!=null?a.length:void 0)&&(c!=null?c.length:void 0)?(s=o(s,c),s.usePathScoring?i.score(a,c,s):u.score(a,c,s)):0},match:function(a,c,s){var p,l,h;return s==null&&(s={}),a?c?a===c?function(){h=[];for(var d=0,m=a.length;0<=m?dm;0<=m?d++:d--)h.push(d);return h}.apply(this):(s=o(s,c),t.match(a,c,s)):[]:[]},wrap:function(a,c,s){return s==null&&(s={}),a?c?(s=o(s,c),t.wrap(a,c,s)):[]:[]},prepareQuery:function(a,c){return c==null&&(c={}),c=o(c,a),c.preparedQuery}},o=function(a,c){return a.allowErrors==null&&(a.allowErrors=!1),a.usePathScoring==null&&(a.usePathScoring=!0),a.useExtensionBonus==null&&(a.useExtensionBonus=!1),a.pathSeparator==null&&(a.pathSeparator=r),a.optCharRegEx==null&&(a.optCharRegEx=null),a.wrap==null&&(a.wrap=null),a.preparedQuery==null&&(a.preparedQuery=f&&f.query===c?f:f=new e(c,a)),a}}).call(In)});var St=Pr(wt(),1),{__extends:j,__assign:Mo,__rest:Co,__decorate:Lo,__param:Po,__metadata:Fo,__awaiter:_t,__generator:Ze,__exportStar:Ro,__createBinding:ko,__values:Z,__read:k,__spread:Ho,__spreadArrays:Wo,__spreadArray:z,__await:er,__asyncGenerator:Et,__asyncDelegator:zo,__asyncValues:Tt,__makeTemplateObject:Uo,__importStar:Vo,__importDefault:jo,__classPrivateFieldGet:qo,__classPrivateFieldSet:No}=St.default;function T(e){return typeof e=="function"}function rr(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 tr=rr(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 se(e,r){if(e){var n=e.indexOf(r);0<=n&&e.splice(n,1)}}var ae=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 f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var u=Z(f),a=u.next();!a.done;a=u.next()){var c=a.value;c.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}else f.remove(this);var s=this.initialTeardown;if(T(s))try{s()}catch(m){i=m instanceof tr?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var l=Z(p),h=l.next();!h.done;h=l.next()){var d=h.value;try{Ot(d)}catch(m){i=i!=null?i:[],m instanceof tr?i=z(z([],k(i)),k(m.errors)):i.push(m)}}}catch(m){t={error:m}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(t)throw t.error}}}if(i)throw new tr(i)}},e.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)Ot(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)&&se(n,r)},e.prototype.remove=function(r){var n=this._teardowns;n&&se(n,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Rr=ae.EMPTY;function nr(e){return e instanceof ae||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Ot(e){T(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ee={setTimeout:function(){for(var e=[],r=0;r0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},r.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},r.prototype._innerSubscribe=function(n){var t=this,o=t.hasError,i=t.isStopped,f=t.observers;return o||i?Rr:(f.push(n),new ae(function(){return se(f,n)}))},r.prototype._checkFinalizedStatuses=function(n){var t=this,o=t.hasError,i=t.thrownError,f=t.isStopped;o?n.error(i):f&&n.complete()},r.prototype.asObservable=function(){var n=new P;return n.source=this,n},r.create=function(n,t){return new kt(n,t)},r}(P);var kt=function(e){j(r,e);function r(n,t){var o=e.call(this)||this;return o.destination=n,o.source=t,o}return r.prototype.next=function(n){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.next)===null||o===void 0||o.call(t,n)},r.prototype.error=function(n){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.error)===null||o===void 0||o.call(t,n)},r.prototype.complete=function(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)},r.prototype._subscribe=function(n){var t,o;return(o=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&o!==void 0?o:Rr},r}(X);var He={now:function(){return(He.delegate||Date).now()},delegate:void 0};var Ht=function(e){j(r,e);function r(n,t,o){n===void 0&&(n=1/0),t===void 0&&(t=1/0),o===void 0&&(o=He);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=t,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,t),i}return r.prototype.next=function(n){var t=this,o=t.isStopped,i=t._buffer,f=t._infiniteTimeWindow,u=t._timestampProvider,a=t._windowTime;o||(i.push(n),!f&&i.push(u.now()+a)),this._trimBuffer(),e.prototype.next.call(this,n)},r.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,f=o._buffer,u=f.slice(),a=0;a0?e.prototype.requestAsyncId.call(this,n,t,o):(n.actions.push(this),n._scheduled||(n._scheduled=Ie.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.some(function(i){return i.id===t})||(Ie.cancelAnimationFrame(t),n._scheduled=void 0)},r}(ir);var Ut=function(e){j(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(n){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var o=this.actions,i;n=n||o.shift();do if(i=n.execute(n.state,n.delay))break;while((n=o[0])&&n.id===t&&o.shift());if(this._active=!1,i){for(;(n=o[0])&&n.id===t&&o.shift();)n.unsubscribe();throw i}},r}(ar);var Ur=new Ut(zt);var le=new P(function(e){return e.complete()});function ur(e){return e&&T(e.schedule)}function Vr(e){return e[e.length-1]}function Me(e){return T(Vr(e))?e.pop():void 0}function fe(e){return ur(Vr(e))?e.pop():void 0}function Vt(e,r){return typeof Vr(e)=="number"?e.pop():r}var Ce=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function cr(e){return T(e==null?void 0:e.then)}function sr(e){return T(e[Ae])}function lr(e){return Symbol.asyncIterator&&T(e==null?void 0:e[Symbol.asyncIterator])}function pr(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Gn(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mr=Gn();function hr(e){return T(e==null?void 0:e[mr])}function dr(e){return Et(this,arguments,function(){var n,t,o,i;return Ze(this,function(f){switch(f.label){case 0:n=e.getReader(),f.label=1;case 1:f.trys.push([1,,9,10]),f.label=2;case 2:return[4,er(n.read())];case 3:return t=f.sent(),o=t.value,i=t.done,i?[4,er(void 0)]:[3,5];case 4:return[2,f.sent()];case 5:return[4,er(o)];case 6:return[4,f.sent()];case 7:return f.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function vr(e){return T(e==null?void 0:e.getReader)}function W(e){if(e instanceof P)return e;if(e!=null){if(sr(e))return Xn(e);if(Ce(e))return Bn(e);if(cr(e))return Zn(e);if(lr(e))return jt(e);if(hr(e))return eo(e);if(vr(e))return ro(e)}throw pr(e)}function Xn(e){return new P(function(r){var n=e[Ae]();if(T(n.subscribe))return n.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bn(e){return new P(function(r){for(var n=0;n{let r=Er();return typeof r!="undefined"?e.contains(r):!1}),Le(e===Er()),me())}function pn(e){return{x:e.scrollLeft,y:e.scrollTop}}function mn(e){return $(K(e,"scroll"),K(window,"resize")).pipe(jr(0,Ur),U(()=>pn(e)),Le(pn(e)))}var go=new X,Xl=je(()=>te(new ResizeObserver(e=>{for(let r of e)go.next(r)}))).pipe(Y(e=>$(qe,te(e)).pipe(ye(()=>e.disconnect()))),ge(1));function hn(e){return{width:e.offsetWidth,height:e.offsetHeight}}function dn(e){return{width:e.scrollWidth,height:e.scrollHeight}}var wo=new X,ap=je(()=>te(new IntersectionObserver(e=>{for(let r of e)wo.next(r)},{threshold:1}))).pipe(Y(e=>$(qe,te(e)).pipe(ye(()=>e.disconnect()))),ge(1));function vn(e,r=16){return mn(e).pipe(U(({y:n})=>{let t=hn(e),o=dn(e);return n>=o.height-t.height-r}),me())}var dp={drawer:B("[data-md-toggle=drawer]"),search:B("[data-md-toggle=search]")};function xn(){return new URL(location.href)}function bn(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)bn(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)bn(t,o);return t}function yn(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function So(e,r={credentials:"same-origin"}){return Q(fetch(`${e}`,r)).pipe(pe(n=>n.status===200),_r(()=>le))}function Tr(e,r){return So(e,r).pipe(Y(n=>n.json()),ge(1))}function Re(e,r=document){return B(`[data-mdx-component=${e}]`,r)}function Yr(e,r=document){return cn(`[data-mdx-component=${e}]`,r)}var _o=B("#__config"),$e=JSON.parse(_o.textContent);$e.base=`${new URL($e.base,xn())}`;function gn(){return $e}function we(e,r){return typeof r!="undefined"?$e.translations[e].replace("#",r.toString()):$e.translations[e]}function wn(e){let r=ln(e),n=$(K(e,"keyup"),K(e,"focus").pipe(Dr(1))).pipe(U(()=>e.value),me());return r.pipe(pe(t=>!t),Fe(n)).subscribe(([,t])=>{let o=document.location.pathname;t.length&&ga("send","pageview",`${o}?q=[icon]+${t}`)}),Ue([n,r]).pipe(U(([t,o])=>({ref:e,value:t,focus:o})))}var Rn=Pr(Xr());var Cn=Pr(Xr());function Eo(e,r){return(0,Cn.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Ln(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:we("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ne("code",null,`:${Eo(e,r)}:`)))}function Pn(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function Fn(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function To(e,{index$:r,query$:n}){return Ue([n.pipe(Qr("value")),r.pipe(U(({icons:t,emojis:o})=>[...Object.keys(t.data),...Object.keys(o.data)]))]).pipe(U(([{value:t},o])=>(0,Rn.filter)(o,t)),Y(t=>r.pipe(U(({icons:o,emojis:i})=>({data:t.map(f=>{let u=f in o.data?o:i;return{shortcode:f,url:[u.base,u.data[f]].join("")}})})))))}function kn(e,{index$:r,query$:n}){let t=new X,o=vn(e).pipe(pe(Boolean)),i=B(":scope > :first-child",e);t.pipe(Fe(n)).subscribe(([{data:u},{value:a}])=>{if(a)switch(u.length){case 0:i.textContent=we("search.result.none");break;case 1:i.textContent=we("search.result.one");break;default:i.textContent=we("search.result.other",yn(u.length))}else i.textContent=we("search.result.placeholder")});let f=B(":scope > :last-child",e);return t.pipe(Pe(()=>f.innerHTML=""),Y(({data:u})=>$(te(...u.slice(0,10)),te(...u.slice(10)).pipe(qr(10),Jr(o),Y(([a])=>te(...a))))),Fe(n)).subscribe(([u,{value:a}])=>f.appendChild(Ln(u,a))),To(e,{query$:n,index$:r}).pipe(Pe(u=>t.next(u)),ye(()=>t.complete()),U(u=>Ye({ref:e},u)))}function Hn(e){let r=gn(),n=Tr(new URL("overrides/assets/javascripts/iconsearch_index.json",r.base)),t=Re("iconsearch-query",e),o=Re("iconsearch-result",e),i=wn(t),f=kn(o,{index$:n,query$:i});return $(i,f)}function Wn(e){let r=Tr("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),n=Re("sponsorship-count"),t=Re("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=B(":scope > :first-child",e);for(let f of o.sponsors)f.type==="public"&&i.appendChild(Pn(f.user));i.appendChild(Fn(o.sponsors.filter(({type:f})=>f==="private").length)),n.innerText=`${o.sponsors.length}`,t.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(U(o=>Ye({ref:e},o)))}function zn(){let{origin:e}=new URL(location.href);K(document.body,"click").subscribe(r=>{if(r.target instanceof HTMLElement){let n=r.target.closest("a");n&&n.origin!==e&&ga("send","event","outbound","click",n.href)}})}zn();var Oo=document$.pipe(Y(()=>$(...Yr("iconsearch").map(e=>Hn(e)),...Yr("sponsorship").map(e=>Wn(e)))));Oo.subscribe();})(); //# sourceMappingURL=bundle.337c27cf.min.js.map