(()=>{var Uo=Object.create;var Qe=Object.defineProperty;var qo=Object.getOwnPropertyDescriptor;var No=Object.getOwnPropertyNames,Br=Object.getOwnPropertySymbols,Vo=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable;var Yr=(e,r,o)=>r in e?Qe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,Ke=(e,r)=>{for(var o in r||(r={}))Gr.call(r,o)&&Yr(e,o,r[o]);if(Br)for(var o of Br(r))$o.call(r,o)&&Yr(e,o,r[o]);return e};var Do=e=>Qe(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Qo=(e,r,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of No(r))!Gr.call(e,t)&&t!=="default"&&Qe(e,t,{get:()=>r[t],enumerable:!(o=qo(r,t))||o.enumerable});return e},Ar=e=>Qo(Do(Qe(e!=null?Uo(Vo(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var xt=be((Mn,Ge)=>{/*! ***************************************************************************** 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 Xr,Zr,et,rt,tt,ot,nt,it,at,Je,Mr,st,lt,ut,Ee,pt,ft,ct,mt,dt,ht,bt,vt,Be;(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(o(r,o(t)))}):typeof Ge=="object"&&typeof Ge.exports=="object"?e(o(r,o(Ge.exports))):e(o(r));function o(t,n){return t!==r&&(typeof Object.create=="function"?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(i,s){return t[i]=n?n(i,s):s}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])};Xr=function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},Zr=Object.assign||function(t){for(var n,i=1,s=arguments.length;i=0;p--)(u=t[p])&&(a=(l<3?u(a):l>3?u(n,i,a):u(n,i))||a);return l>3&&a&&Object.defineProperty(n,i,a),a},tt=function(t,n){return function(i,s){n(i,s,t)}},ot=function(t,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,n)},nt=function(t,n,i,s){function l(a){return a instanceof i?a:new i(function(u){u(a)})}return new(i||(i=Promise))(function(a,u){function p(d){try{f(s.next(d))}catch(h){u(h)}}function c(d){try{f(s.throw(d))}catch(h){u(h)}}function f(d){d.done?a(d.value):l(d.value).then(p,c)}f((s=s.apply(t,n||[])).next())})},it=function(t,n){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,l,a,u;return u={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function p(f){return function(d){return c([f,d])}}function c(f){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,l&&(a=f[0]&2?l.return:f[0]?l.throw||((a=l.return)&&a.call(l),0):l.next)&&!(a=a.call(l,f[1])).done)return a;switch(l=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=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(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Mr=function(t,n){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var s=i.call(t),l,a=[],u;try{for(;(n===void 0||n-- >0)&&!(l=s.next()).done;)a.push(l.value)}catch(p){u={error:p}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(u)throw u.error}}return a},st=function(){for(var t=[],n=0;n1||p(m,v)})})}function p(m,v){try{c(s[m](v))}catch(w){h(a[0][3],w)}}function c(m){m.value instanceof Ee?Promise.resolve(m.value.v).then(f,d):h(a[0][2],m)}function f(m){p("next",m)}function d(m){p("throw",m)}function h(m,v){m(v),a.shift(),a.length&&p(a[0][0],a[0][1])}},ft=function(t){var n,i;return n={},s("next"),s("throw",function(l){throw l}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(l,a){n[l]=t[l]?function(u){return(i=!i)?{value:Ee(t[l](u)),done:l==="return"}:a?a(u):u}:a}},ct=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],i;return n?n.call(t):(t=typeof Je=="function"?Je(t):t[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(a){i[a]=t[a]&&function(u){return new Promise(function(p,c){u=t[a](u),l(p,c,u.done,u.value)})}}function l(a,u,p,c){Promise.resolve(c).then(function(f){a({value:f,done:p})},u)}},mt=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t};var o=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n};dt=function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var i in t)i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)&&Be(n,t,i);return o(n,t),n},ht=function(t){return t&&t.__esModule?t:{default:t}},bt=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},vt=function(t,n,i){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,i),i},e("__extends",Xr),e("__assign",Zr),e("__rest",et),e("__decorate",rt),e("__param",tt),e("__metadata",ot),e("__awaiter",nt),e("__generator",it),e("__exportStar",at),e("__createBinding",Be),e("__values",Je),e("__read",Mr),e("__spread",st),e("__spreadArrays",lt),e("__spreadArray",ut),e("__await",Ee),e("__asyncGenerator",pt),e("__asyncDelegator",ft),e("__asyncValues",ct),e("__makeTemplateObject",mt),e("__importStar",dt),e("__importDefault",ht),e("__classPrivateFieldGet",bt),e("__classPrivateFieldSet",vt)})});var Ve=be(J=>{(function(){var e,r,o,t,n,i,s,l,a,u,p,c,f,d,h,m,v,w,E,C;C=150,u=20,E=150,a=.75,J.score=function(b,x,S){var T,y,g,O;return y=S.preparedQuery,T=S.allowErrors,T||n(b,y.core_lw,y.core_up)?(O=b.toLowerCase(),g=r(b,O,y),Math.ceil(g)):0},J.isMatch=n=function(b,x,S){var T,y,g,O,P,H,M;if(g=b.length,O=x.length,!g||O>g)return!1;for(T=-1,y=-1;++y-1)return h(b,x,ue,te,ie,N,q);for(Se=new Array(N),P=new Array(N),Or=w(N,q),z=Math.ceil(a*N)+5,re=z,M=!0,A=-1;++Aae&&(ae=De),H=0,te[A]===Tr)if(_r=l(F,b,x),H=O>0?O:f(b,x,ue,te,F,A,_r),g=Er+c(F,A,_r,y,H),g>ae)ae=g,re=z;else{if(he&&--re<=0)return Math.max(ae,Se[N-1])*Or;he=!1}Er=De,O=P[A],P[A]=H,Se[A]=ae}}return ae=Se[N-1],ae*Or},J.isWordStart=l=function(b,x,S){var T,y;return b===0?!0:(T=x[b],y=x[b-1],i(y)||T!==S[b]&&y===S[b-1])},J.isWordEnd=s=function(b,x,S,T){var y,g;return b===T-1?!0:(y=x[b],g=x[b+1],i(g)||y===S[b]&&g!==S[b+1])},i=function(b){return b===" "||b==="."||b==="-"||b==="_"||b==="/"||b==="\\"},v=function(b){var x;return by?T:y)+10):g+C*y},J.scoreConsecutives=f=function(b,x,S,T,y,g,O){var P,H,M,F,A,q,z;for(H=b.length,F=S.length,M=H-y,A=F-g,P=M-1&&(A=l(M,b,x),A&&(y=M))),H=-1,F=0;++H1&&M>1))return o;for(y=0,z=0,re=0,A=0,O=-1,P=-1;++P-1){z++;continue}else break;for(;++O12*P)return!1;for(g=-1;++gT)return!1;return!0}}).call(J)});var wr=be($e=>{(function(){var e,r,o,t,n,i,s,l,a,u;u=Ve(),i=u.isMatch,e=u.computeScore,l=u.scoreSize,a=20,o=2.5,$e.score=function(p,c,f){var d,h,m,v;return h=f.preparedQuery,d=f.allowErrors,d||i(p,h.core_lw,h.core_up)?(v=p.toLowerCase(),m=e(p,v,h),m=s(p,v,m,f),Math.ceil(m)):0},s=function(p,c,f,d){var h,m,v,w,E,C,b,x,S,T;if(f===0)return 0;for(S=d.preparedQuery,T=d.useExtensionBonus,x=d.pathSeparator,E=p.length-1;p[E]===x;)E--;if(v=p.lastIndexOf(x,E),b=E-v,C=1,T&&(C+=n(c,S.ext,v,E,2),f*=C),v===-1)return f;for(w=S.depth;v>-1&&w-- >0;)v=p.lastIndexOf(x,v-1);return m=v===-1?f:C*e(p.slice(v+1,E+1),c.slice(v+1,E+1),S),h=.5*a/(a+r(p,E+1,x)),h*m+(1-h)*f*l(0,o*b)},$e.countDir=r=function(p,c,f){var d,h;if(c<1)return 0;for(d=0,h=-1;++hf)))return 0;for(w=c.length,m=d-E,m0?.9*n(p,c,f,E-2,h-1):v/m}}).call($e)});var Kr=be((yo,go)=>{(function(){var e,r,o,t,n,i,s,l;l=wr(),o=l.countDir,n=l.getExtension,go.exports=e=function(){function a(u,p){var c,f,d;if(d=p!=null?p:{},c=d.optCharRegEx,f=d.pathSeparator,!(u&&u.length))return null;this.query=u,this.query_lw=u.toLowerCase(),this.core=r(u,c),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=o(u,u.length,f),this.ext=n(this.query_lw),this.charCodes=t(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,u){return u==null&&(u=i),a.replace(u,"")},s=function(a){var u,p,c,f;for(p="",c=0,f=a.length;c{(function(){var e,r,o,t,n;t=Ve(),r=wr(),e=Kr(),o=function(i){return i.candidate},n=function(i,s){return s.score-i.score},So.exports=function(i,s,l){var a,u,p,c,f,d,h,m,v,w,E,C,b;for(m=[],p=l.key,f=l.maxResults,c=l.maxInners,E=l.usePathScoring,v=c!=null&&c>0?c:i.length+1,a=p!=null,h=E?r:t,C=0,b=i.length;C0&&(m.push({candidate:u,score:d}),!--v))));C++);return m.sort(n),i=m.map(o),f!=null&&(i=i.slice(0,f)),i}}).call(wo)});var To=be(Sr=>{(function(){var e,r,o,t,n,i,s,l,a,u;u=Ve(),o=u.isMatch,t=u.isWordStart,a=u.scoreConsecutives,l=u.scoreCharacter,s=u.scoreAcronyms,Sr.match=n=function(p,c,f){var d,h,m,v,w,E;return d=f.allowErrors,w=f.preparedQuery,v=f.pathSeparator,d||o(p,w.core_lw,w.core_up)?(E=p.toLowerCase(),m=r(p,E,w),m.length===0||p.indexOf(v)>-1&&(h=e(p,E,w,v),m=i(m,h)),m):[]},Sr.wrap=function(p,c,f){var d,h,m,v,w,E,C,b,x;if(f.wrap!=null&&(x=f.wrap,E=x.tagClass,b=x.tagOpen,C=x.tagClose),E==null&&(E="highlight"),b==null&&(b=''),C==null&&(C=""),p===c)return b+p+C;if(m=n(p,c,f),m.length===0)return p;for(v="",d=-1,w=0;++dw&&(v+=p.substring(w,h),w=h);++dw&&(v+=b,v+=p.substring(w,h),v+=C,w=h)}return w<=p.length-1&&(v+=p.substring(w)),v},e=function(p,c,f,d){var h,m,v;for(v=p.length-1;p[v]===d;)v--;if(h=p.lastIndexOf(d,v),h===-1)return[];for(m=f.depth;m-- >0;)if(h=p.lastIndexOf(d,h-1),h===-1)return[];return h++,v++,r(p.slice(h,v),c.slice(h,v),f,h)},i=function(p,c){var f,d,h,m,v,w,E;if(v=p.length,w=c.length,w===0)return p.slice();if(v===0)return c.slice();for(h=-1,m=0,d=c[m],E=[];++h0?x:a(p,c,A,q,y,g,te),C=re+l(y,g,te,E,T)),ie=N[g],x=S[g],z>ie?H=m:(z=ie,H=w),C>z?(z=C,H=h):T=0,N[g]=z,S[g]=T,he[++F]=z>0?H:v;for(y=O-1,g=M-1,F=y*M+g,b=!0,P=[];b&&y>=0&&g>=0;)switch(he[F]){case w:y--,F-=M;break;case m:g--,F--;break;case h:P.push(y+d),g--,y--,F-=M+1;break;default:b=!1}return P.reverse(),P}}).call(Sr)});var Jr=be((_o,Oo)=>{(function(){var e,r,o,t,n,i,s,l;o=Eo(),t=To(),l=Ve(),i=wr(),e=Kr(),s=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",Oo.exports={filter:function(a,u,p){return p==null&&(p={}),(u!=null?u.length:void 0)&&(a!=null?a.length:void 0)?(p=n(p,u),o(a,u,p)):[]},score:function(a,u,p){return p==null&&(p={}),(a!=null?a.length:void 0)&&(u!=null?u.length:void 0)?(p=n(p,u),p.usePathScoring?i.score(a,u,p):l.score(a,u,p)):0},match:function(a,u,p){var c,f,d;return p==null&&(p={}),a?u?a===u?function(){d=[];for(var h=0,m=a.length;0<=m?hm;0<=m?h++:h--)d.push(h);return d}.apply(this):(p=n(p,u),t.match(a,u,p)):[]:[]},wrap:function(a,u,p){return p==null&&(p={}),a?u?(p=n(p,u),t.wrap(a,u,p)):[]:[]},prepareQuery:function(a,u){return u==null&&(u={}),u=n(u,a),u.preparedQuery}},n=function(a,u){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=s&&s.query===u?s:s=new e(u,a)),a}}).call(_o)});var yt=Ar(xt()),{__extends:U,__assign:Ln,__rest:In,__decorate:Cn,__param:kn,__metadata:Pn,__awaiter:gt,__generator:Ye,__exportStar:Fn,__createBinding:Rn,__values:G,__read:R,__spread:Hn,__spreadArrays:Wn,__spreadArray:W,__await:Xe,__asyncGenerator:wt,__asyncDelegator:jn,__asyncValues:St,__makeTemplateObject:zn,__importStar:Un,__importDefault:qn,__classPrivateFieldGet:Nn,__classPrivateFieldSet:Vn}=yt.default;function _(e){return typeof e=="function"}function Ze(e){var r=function(t){Error.call(t),t.stack=new Error().stack},o=e(r);return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}var er=Ze(function(e){return function(o){e(this),this.message=o?o.length+` errors occurred during unsubscription: `+o.map(function(t,n){return n+1+") "+t.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=o}});function se(e,r){if(e){var o=e.indexOf(r);0<=o&&e.splice(o,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,o,t,n,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var l=G(s),a=l.next();!a.done;a=l.next()){var u=a.value;u.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}else s.remove(this);var p=this.initialTeardown;if(_(p))try{p()}catch(m){i=m instanceof er?m.errors:[m]}var c=this._teardowns;if(c){this._teardowns=null;try{for(var f=G(c),d=f.next();!d.done;d=f.next()){var h=d.value;try{Et(h)}catch(m){i=i!=null?i:[],m instanceof er?i=W(W([],R(i)),R(m.errors)):i.push(m)}}}catch(m){t={error:m}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}}if(i)throw new er(i)}},e.prototype.add=function(r){var o;if(r&&r!==this)if(this.closed)Et(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(o=this._teardowns)!==null&&o!==void 0?o:[]).push(r)}},e.prototype._hasParent=function(r){var o=this._parentage;return o===r||Array.isArray(o)&&o.includes(r)},e.prototype._addParent=function(r){var o=this._parentage;this._parentage=Array.isArray(o)?(o.push(r),o):o?[o,r]:r},e.prototype._removeParent=function(r){var o=this._parentage;o===r?this._parentage=null:Array.isArray(o)&&se(o,r)},e.prototype.remove=function(r){var o=this._teardowns;o&&se(o,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Lr=$.EMPTY;function rr(e){return e instanceof $||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function Et(e){_(e)?e():e.unsubscribe()}var Y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Te={setTimeout:function(){for(var e=[],r=0;r0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(o){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,o)},r.prototype._subscribe=function(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)},r.prototype._innerSubscribe=function(o){var t=this,n=t.hasError,i=t.isStopped,s=t.observers;return n||i?Lr:(s.push(o),new $(function(){return se(s,o)}))},r.prototype._checkFinalizedStatuses=function(o){var t=this,n=t.hasError,i=t.thrownError,s=t.isStopped;n?o.error(i):s&&o.complete()},r.prototype.asObservable=function(){var o=new L;return o.source=this,o},r.create=function(o,t){return new kt(o,t)},r}(L);var kt=function(e){U(r,e);function r(o,t){var n=e.call(this)||this;return n.destination=o,n.source=t,n}return r.prototype.next=function(o){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,o)},r.prototype.error=function(o){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.call(t,o)},r.prototype.complete=function(){var o,t;(t=(o=this.destination)===null||o===void 0?void 0:o.complete)===null||t===void 0||t.call(o)},r.prototype._subscribe=function(o){var t,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(o))!==null&&n!==void 0?n:Lr},r}(oe);var Fe={now:function(){return(Fe.delegate||Date).now()},delegate:void 0};var Pt=function(e){U(r,e);function r(o,t,n){o===void 0&&(o=1/0),t===void 0&&(t=1/0),n===void 0&&(n=Fe);var i=e.call(this)||this;return i._bufferSize=o,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,o),i._windowTime=Math.max(1,t),i}return r.prototype.next=function(o){var t=this,n=t.isStopped,i=t._buffer,s=t._infiniteTimeWindow,l=t._timestampProvider,a=t._windowTime;n||(i.push(o),!s&&i.push(l.now()+a)),this._trimBuffer(),e.prototype.next.call(this,o)},r.prototype._subscribe=function(o){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(o),n=this,i=n._infiniteTimeWindow,s=n._buffer,l=s.slice(),a=0;a0?e.prototype.requestAsyncId.call(this,o,t,n):(o.actions.push(this),o._scheduled||(o._scheduled=Oe.requestAnimationFrame(function(){return o.flush(void 0)})))},r.prototype.recycleAsyncId=function(o,t,n){if(n===void 0&&(n=0),n!=null&&n>0||n==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,o,t,n);o.actions.length===0&&(Oe.cancelAnimationFrame(t),o._scheduled=void 0)},r}(or);var Wt=function(e){U(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(o){this._active=!0,this._scheduled=void 0;var t=this.actions,n,i=-1;o=o||t.shift();var s=t.length;do if(n=o.execute(o.state,o.delay))break;while(++ir==="focus"),we(e===Dr()))}var gn=new oe,Lf=Wr(()=>xe(new ResizeObserver(e=>{for(let r of e)gn.next(r)}))).pipe(Z(e=>jr.pipe(we(e)).pipe(ze(()=>e.disconnect()))),Ue(1));function uo(e){return{width:e.offsetWidth,height:e.offsetHeight}}function po(e){return{width:e.scrollWidth,height:e.scrollHeight}}function fo(e){return{x:e.scrollLeft,y:e.scrollTop}}function wn(e){return K(D(e,"scroll"),D(window,"resize")).pipe(j(()=>fo(e)),we(fo(e)))}function co(e,r=16){return wn(e).pipe(j(({y:o})=>{let t=uo(e),n=po(e);return o>=n.height-t.height-r}),ge())}var $f={drawer:B("[data-md-toggle=drawer]"),search:B("[data-md-toggle=search]")};function mo(){return new URL(location.href)}function ho(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 o of r)ho(e,o)}function ee(e,r,...o){let t=document.createElement(e);if(r)for(let n of Object.keys(r))typeof r[n]!="boolean"?t.setAttribute(n,r[n]):r[n]&&t.setAttribute(n,"");for(let n of o)ho(t,n);return t}function bo(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Sn(e,r={credentials:"same-origin"}){return fe(fetch(`${e}`,r)).pipe(me(o=>o.status===200),yr(()=>le))}function gr(e,r){return Sn(e,r).pipe(Z(o=>o.json()),Ue(1))}function Ce(e,r=document){return B(`[data-mdx-component=${e}]`,r)}function Qr(e,r=document){return so(`[data-mdx-component=${e}]`,r)}var En=B("#__config"),Ne=JSON.parse(En.textContent);Ne.base=`${new URL(Ne.base,mo())}`;function vo(){return Ne}function de(e,r){return typeof r!="undefined"?Ne.translations[e].replace("#",r.toString()):Ne.translations[e]}function xo(e){let r=lo(e),o=K(D(e,"keyup"),D(e,"focus").pipe(qr(1))).pipe(j(()=>e.value),ge());return r.pipe(me(t=>!t),Ie(o)).subscribe(([,t])=>{let n=document.location.pathname;t.length&&ga("send","pageview",`${n}?q=[icon]+${t}`)}),He([o,r]).pipe(j(([t,n])=>({ref:e,value:t,focus:n})))}var Ro=Ar(Jr());function Ao(e,r){switch(r){case 0:e.textContent=de("search.result.none");break;case 1:e.textContent=de("search.result.one");break;default:e.textContent=de("search.result.other",bo(r))}}function Mo(e){e.textContent=de("search.result.placeholder")}function Lo(e,r){e.appendChild(r)}function Io(e){e.innerHTML=""}var Co=Ar(Jr());function Tn(e,r){return(0,Co.wrap)(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function ko(e,r){return ee("li",{class:"mdx-iconsearch-result__item"},ee("span",{class:"twemoji"},ee("img",{src:e.url})),ee("button",{class:"md-clipboard--inline",title:de("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ee("code",null,`:${Tn(e,r)}:`)))}function Po(e){let r=`@${e.name}`;return ee("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ee("img",{src:e.image}))}function Fo(e){return ee("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function _n(e,{index$:r,query$:o}){return He([o.pipe(Nr("value")),r.pipe(j(({icons:t,emojis:n})=>[...Object.keys(t.data),...Object.keys(n.data)]))]).pipe(j(([{value:t},n])=>(0,Ro.filter)(n,t)),Z(t=>r.pipe(j(({icons:n,emojis:i})=>({data:t.map(s=>{let l=s in n.data?n:i;return{shortcode:s,url:[l.base,l.data[s]].join("")}})})))))}function Ho(e,{index$:r,query$:o}){let t=new oe,n=co(e).pipe(me(Boolean)),i=B(":scope > :first-child",e);t.pipe(vr(ir),Ie(o)).subscribe(([{data:l},{value:a}])=>{a?Ao(i,l.length):Mo(i)});let s=B(":scope > :last-child",e);return t.pipe(vr(ir),qe(()=>Io(s)),Z(({data:l})=>K(xe(...l.slice(0,10)),xe(...l.slice(10)).pipe(zr(10),$r(n),Z(([a])=>xe(...a))))),Ie(o)).subscribe(([l,{value:a}])=>{Lo(s,ko(l,a))}),_n(e,{query$:o,index$:r}).pipe(qe(l=>t.next(l)),ze(()=>t.complete()),j(l=>Ke({ref:e},l)))}function Wo(e){let r=vo(),o=gr(new URL("overrides/assets/javascripts/iconsearch_index.json",r.base)),t=Ce("iconsearch-query",e),n=Ce("iconsearch-result",e),i=xo(t),s=Ho(n,{index$:o,query$:i});return K(i,s)}function jo(e){let r=gr("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),o=Ce("sponsorship-count"),t=Ce("sponsorship-total");return r.subscribe(n=>{e.removeAttribute("hidden");let i=B(":scope > :first-child",e);for(let s of n.sponsors)s.type==="public"&&i.appendChild(Po(s.user));i.appendChild(Fo(n.sponsors.filter(({type:s})=>s==="private").length)),o.innerText=`${n.sponsors.length}`,t.innerText=`$ ${n.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(j(n=>Ke({ref:e},n)))}function zo(){let{origin:e}=new URL(location.href);D(document.body,"click").subscribe(r=>{if(r.target instanceof HTMLElement){let o=r.target.closest("a");o&&o.origin!==e&&ga("send","event","outbound","click",o.href)}})}zo();var On=document$.pipe(Z(()=>K(...Qr("iconsearch").map(e=>Wo(e)),...Qr("sponsorship").map(e=>jo(e)))));On.subscribe();})(); //# sourceMappingURL=bundle.602c421d.min.js.map