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