mkdocs-material/material/overrides/assets/javascripts/bundle.7e64518f.min.js

19 lines
60 KiB
JavaScript

(()=>{var Xn=Object.create;var Ke=Object.defineProperty;var Zn=Object.getOwnPropertyDescriptor;var eo=Object.getOwnPropertyNames,nt=Object.getOwnPropertySymbols,ro=Object.getPrototypeOf,ot=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable;var it=(e,r,t)=>r in e?Ke(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ye=(e,r)=>{for(var t in r||(r={}))ot.call(r,t)&&it(e,t,r[t]);if(nt)for(var t of nt(r))to.call(r,t)&&it(e,t,r[t]);return e};var no=e=>Ke(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var oo=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of eo(r))!ot.call(e,o)&&(t||o!=="default")&&Ke(e,o,{get:()=>r[o],enumerable:!(n=Zn(r,o))||n.enumerable});return e},Hr=(e,r)=>oo(no(Ke(e!=null?Xn(ro(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Tt=be((oi,Xe)=>{/*! *****************************************************************************
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 at,st,ft,ut,ct,lt,pt,mt,ht,Je,zr,dt,vt,bt,Se,yt,xt,gt,wt,_t,St,Et,Ot,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(n){e(t(r,t(n)))}):typeof Xe=="object"&&typeof Xe.exports=="object"?e(t(r,t(Xe.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};at=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},st=Object.assign||function(n){for(var o,i=1,s=arguments.length;i<s;i++){o=arguments[i];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(n[f]=o[f])}return n},ft=function(n,o){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&o.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,s=Object.getOwnPropertySymbols(n);f<s.length;f++)o.indexOf(s[f])<0&&Object.prototype.propertyIsEnumerable.call(n,s[f])&&(i[s[f]]=n[s[f]]);return i},ut=function(n,o,i,s){var f=arguments.length,a=f<3?o:s===null?s=Object.getOwnPropertyDescriptor(o,i):s,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,o,i,s);else for(var c=n.length-1;c>=0;c--)(u=n[c])&&(a=(f<3?u(a):f>3?u(o,i,a):u(o,i))||a);return f>3&&a&&Object.defineProperty(o,i,a),a},ct=function(n,o){return function(i,s){o(i,s,n)}},lt=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},pt=function(n,o,i,s){function f(a){return a instanceof i?a:new i(function(u){u(a)})}return new(i||(i=Promise))(function(a,u){function c(h){try{l(s.next(h))}catch(d){u(d)}}function p(h){try{l(s.throw(h))}catch(d){u(d)}}function l(h){h.done?a(h.value):f(h.value).then(c,p)}l((s=s.apply(n,o||[])).next())})},mt=function(n,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,f,a,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(h){return p([l,h])}}function p(l){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,f&&(a=l[0]&2?f.return:l[0]?f.throw||((a=f.return)&&a.call(f),0):f.next)&&!(a=a.call(f,l[1])).done)return a;switch(f=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++,f=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]<a[3])){i.label=l[1];break}if(l[0]===6&&i.label<a[1]){i.label=a[1],a=l;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(l);break}a[2]&&i.ops.pop(),i.trys.pop();continue}l=o.call(n,i)}catch(h){l=[6,h],f=0}finally{s=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ht=function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&Be(o,n,i)},Be=Object.create?function(n,o,i,s){s===void 0&&(s=i),Object.defineProperty(n,s,{enumerable:!0,get:function(){return o[i]}})}:function(n,o,i,s){s===void 0&&(s=i),n[s]=o[i]},Je=function(n){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&n[o],s=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},zr=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var s=i.call(n),f,a=[],u;try{for(;(o===void 0||o-- >0)&&!(f=s.next()).done;)a.push(f.value)}catch(c){u={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(u)throw u.error}}return a},dt=function(){for(var n=[],o=0;o<arguments.length;o++)n=n.concat(zr(arguments[o]));return n},vt=function(){for(var n=0,o=0,i=arguments.length;o<i;o++)n+=arguments[o].length;for(var s=Array(n),f=0,o=0;o<i;o++)for(var a=arguments[o],u=0,c=a.length;u<c;u++,f++)s[f]=a[u];return s},bt=function(n,o,i){if(i||arguments.length===2)for(var s=0,f=o.length,a;s<f;s++)(a||!(s in o))&&(a||(a=Array.prototype.slice.call(o,0,s)),a[s]=o[s]);return n.concat(a||Array.prototype.slice.call(o))},Se=function(n){return this instanceof Se?(this.v=n,this):new Se(n)},yt=function(n,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=i.apply(n,o||[]),f,a=[];return f={},u("next"),u("throw"),u("return"),f[Symbol.asyncIterator]=function(){return this},f;function u(m){s[m]&&(f[m]=function(b){return new Promise(function(w,S){a.push([m,b,w,S])>1||c(m,b)})})}function c(m,b){try{p(s[m](b))}catch(w){d(a[0][3],w)}}function p(m){m.value instanceof Se?Promise.resolve(m.value.v).then(l,h):d(a[0][2],m)}function l(m){c("next",m)}function h(m){c("throw",m)}function d(m,b){m(b),a.shift(),a.length&&c(a[0][0],a[0][1])}},xt=function(n){var o,i;return o={},s("next"),s("throw",function(f){throw f}),s("return"),o[Symbol.iterator]=function(){return this},o;function s(f,a){o[f]=n[f]?function(u){return(i=!i)?{value:Se(n[f](u)),done:f==="return"}:a?a(u):u}:a}},gt=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof Je=="function"?Je(n):n[Symbol.iterator](),i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i);function s(a){i[a]=n[a]&&function(u){return new Promise(function(c,p){u=n[a](u),f(c,p,u.done,u.value)})}}function f(a,u,c,p){Promise.resolve(p).then(function(l){a({value:l,done:c})},u)}},wt=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var t=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};_t=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&Be(o,n,i);return t(o,n),o},St=function(n){return n&&n.__esModule?n:{default:n}},Et=function(n,o,i,s){if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?n!==o||!s:!o.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?s:i==="a"?s.call(n):s?s.value:o.get(n)},Ot=function(n,o,i,s,f){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?n!==o||!f:!o.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?f.call(n,i):f?f.value=i:o.set(n,i),i},e("__extends",at),e("__assign",st),e("__rest",ft),e("__decorate",ut),e("__param",ct),e("__metadata",lt),e("__awaiter",pt),e("__generator",mt),e("__exportStar",ht),e("__createBinding",Be),e("__values",Je),e("__read",zr),e("__spread",dt),e("__spreadArrays",vt),e("__spreadArray",bt),e("__await",Se),e("__asyncGenerator",yt),e("__asyncDelegator",xt),e("__asyncValues",gt),e("__makeTemplateObject",wt),e("__importStar",_t),e("__importDefault",St),e("__classPrivateFieldGet",Et),e("__classPrivateFieldSet",Ot)})});var $e=be(J=>{(function(){var e,r,t,n,o,i,s,f,a,u,c,p,l,h,d,m,b,w,S,L;L=150,u=20,S=150,a=.75,J.score=function(v,y,_){var E,x,g,T;return x=_.preparedQuery,E=_.allowErrors,E||o(v,x.core_lw,x.core_up)?(T=v.toLowerCase(),g=r(v,T,x),Math.ceil(g)):0},J.isMatch=o=function(v,y,_){var E,x,g,T,R,z,C;if(g=v.length,T=y.length,!g||T>g)return!1;for(E=-1,x=-1;++x<T;){for(R=y.charCodeAt(x),z=_.charCodeAt(x);++E<g&&(C=v.charCodeAt(E),!(C===R||C===z)););if(E===g)return!1}return!0},J.computeScore=r=function(v,y,_){var E,x,g,T,R,z,C,k,I,q,V,oe,N,fe,he,ie,ve,ue,Pr,_e,Qe,Rr,Fr,kr;if(he=_.query,ie=_.query_lw,q=v.length,N=he.length,E=c(v,y,he,ie),x=E.score,E.count===N)return h(N,q,x,E.pos);if(fe=y.indexOf(ie),fe>-1)return d(v,y,he,ie,fe,N,q);for(_e=new Array(N),R=new Array(N),kr=w(N,q),V=Math.ceil(a*N)+5,oe=V,C=!0,I=-1;++I<N;)_e[I]=0,R[I]=0;for(k=-1;++k<q;){if(Rr=y[k],!Rr.charCodeAt(0)in _.charCodes){if(C){for(I=-1;++I<N;)R[I]=0;C=!1}continue}for(ue=0,Pr=0,T=0,ve=!0,C=!0,I=-1;++I<N;){if(Qe=_e[I],Qe>ue&&(ue=Qe),z=0,ie[I]===Rr)if(Fr=f(k,v,y),z=T>0?T:l(v,y,he,ie,k,I,Fr),g=Pr+p(k,I,Fr,x,z),g>ue)ue=g,oe=V;else{if(ve&&--oe<=0)return Math.max(ue,_e[N-1])*kr;ve=!1}Pr=Qe,T=R[I],R[I]=z,_e[I]=ue}}return ue=_e[N-1],ue*kr},J.isWordStart=f=function(v,y,_){var E,x;return v===0?!0:(E=y[v],x=y[v-1],i(x)||E!==_[v]&&x===_[v-1])},J.isWordEnd=s=function(v,y,_,E){var x,g;return v===E-1?!0:(x=y[v],g=y[v+1],i(g)||x===_[v]&&g!==_[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var y;return v<u?(y=u-v,100+y*y):Math.max(100+u-v,0)},J.scoreSize=w=function(v,y){return S/(S+Math.abs(y-v))},h=function(v,y,_,E){return 2*v*(L*_+b(E))*w(v,y)},J.scorePattern=m=function(v,y,_,E,x){var g,T;return T=v,g=6,_===v&&(g+=2),E&&(g+=3),x&&(g+=1),v===y&&(E&&(_===y?T+=2:T+=1),x&&(g+=1)),_+T*(T+g)},J.scoreCharacter=p=function(v,y,_,E,x){var g;return g=b(v),_?g+L*((E>x?E:x)+10):g+L*x},J.scoreConsecutives=l=function(v,y,_,E,x,g,T){var R,z,C,k,I,q,V;for(z=v.length,k=_.length,C=z-x,I=k-g,R=C<I?C:I,q=0,V=0,_[g]===v[x]&&q++;++V<R&&E[++g]===y[++x];)_[g]===v[x]&&q++;return V<R&&x--,V===1?1+2*q:m(V,k,q,T,s(x,v,y,z))},J.scoreExactMatch=d=function(v,y,_,E,x,g,T){var R,z,C,k,I;for(I=f(x,v,y),I||(C=y.indexOf(E,x+1),C>-1&&(I=f(C,v,y),I&&(x=C))),z=-1,k=0;++z<g;)_[x+z]===v[z]&&k++;return R=s(x+g-1,v,y,T),h(g,T,m(g,g,k,I,R),x)},e=function(){function v(y,_,E){this.score=y,this.pos=_,this.count=E}return v}(),t=new e(0,.1,0),J.scoreAcronyms=c=function(v,y,_,E){var x,g,T,R,z,C,k,I,q,V,oe;if(z=v.length,C=_.length,!(z>1&&C>1))return t;for(x=0,V=0,oe=0,I=0,T=-1,R=-1;++R<C;){if(k=E[R],i(k))if(T=y.indexOf(k,T+1),T>-1){V++;continue}else break;for(;++T<z;)if(k===y[T]&&f(T,v,y)){_[R]===v[T]&&I++,oe+=T,x++;break}if(T===z)break}return x<2?t:(g=x===C?n(v,y,_,x):!1,q=m(x,C,I,!0,g),new e(q,oe/x,x+V))},n=function(v,y,_,E){var x,g,T,R;if(T=v.length,R=_.length,x=0,T>12*R)return!1;for(g=-1;++g<T;)if(f(g,v,y)&&++x>E)return!1;return!0}}).call(J)});var Cr=be(Ge=>{(function(){var e,r,t,n,o,i,s,f,a,u;u=$e(),i=u.isMatch,e=u.computeScore,f=u.scoreSize,a=20,t=2.5,Ge.score=function(c,p,l){var h,d,m,b;return d=l.preparedQuery,h=l.allowErrors,h||i(c,d.core_lw,d.core_up)?(b=c.toLowerCase(),m=e(c,b,d),m=s(c,b,m,l),Math.ceil(m)):0},s=function(c,p,l,h){var d,m,b,w,S,L,v,y,_,E;if(l===0)return 0;for(_=h.preparedQuery,E=h.useExtensionBonus,y=h.pathSeparator,S=c.length-1;c[S]===y;)S--;if(b=c.lastIndexOf(y,S),v=S-b,L=1,E&&(L+=o(p,_.ext,b,S,2),l*=L),b===-1)return l;for(w=_.depth;b>-1&&w-- >0;)b=c.lastIndexOf(y,b-1);return m=b===-1?l:L*e(c.slice(b+1,S+1),p.slice(b+1,S+1),_),d=.5*a/(a+r(c,S+1,y)),d*m+(1-d)*l*f(0,t*v)},Ge.countDir=r=function(c,p,l){var h,d;if(p<1)return 0;for(h=0,d=-1;++d<p&&c[d]===l;);for(;++d<p;)if(c[d]===l)for(h++;++d<p&&c[d]===l;);return h},Ge.getExtension=n=function(c){var p;return p=c.lastIndexOf("."),p<0?"":c.substr(p+1)},o=function(c,p,l,h,d){var m,b,w,S;if(!p.length||(S=c.lastIndexOf(".",h),!(S>l)))return 0;for(w=p.length,m=h-S,m<w&&(w=m,m=p.length),S++,b=-1;++b<w&&c[S+b]===p[b];);return b===0&&d>0?.9*o(c,p,l,S-2,d-1):b/m}}).call(Ge)});var et=be((kn,Hn)=>{(function(){var e,r,t,n,o,i,s,f;f=Cr(),t=f.countDir,o=f.getExtension,Hn.exports=e=function(){function a(u,c){var p,l,h;if(h=c!=null?c:{},p=h.optCharRegEx,l=h.pathSeparator,!(u&&u.length))return null;this.query=u,this.query_lw=u.toLowerCase(),this.core=r(u,p),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=t(u,u.length,l),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,u){return u==null&&(u=i),a.replace(u,"")},s=function(a){var u,c,p,l;for(c="",p=0,l=a.length;p<l;p++)u=a[p],c+=u.toUpperCase()[0];return c},n=function(a){var u,c,p;for(p=a.length,c=-1,u=[];++c<p;)u[a.charCodeAt(c)]=!0;return u}}).call(kn)});var jn=be((zn,Wn)=>{(function(){var e,r,t,n,o;n=$e(),r=Cr(),e=et(),t=function(i){return i.candidate},o=function(i,s){return s.score-i.score},Wn.exports=function(i,s,f){var a,u,c,p,l,h,d,m,b,w,S,L,v;for(m=[],c=f.key,l=f.maxResults,p=f.maxInners,S=f.usePathScoring,b=p!=null&&p>0?p:i.length+1,a=c!=null,d=S?r:n,L=0,v=i.length;L<v&&(u=i[L],w=a?u[c]:u,!(!!w&&(h=d.score(w,s,f),h>0&&(m.push({candidate:u,score:h}),!--b))));L++);return m.sort(o),i=m.map(t),l!=null&&(i=i.slice(0,l)),i}}).call(zn)});var Vn=be(Lr=>{(function(){var e,r,t,n,o,i,s,f,a,u;u=$e(),t=u.isMatch,n=u.isWordStart,a=u.scoreConsecutives,f=u.scoreCharacter,s=u.scoreAcronyms,Lr.match=o=function(c,p,l){var h,d,m,b,w,S;return h=l.allowErrors,w=l.preparedQuery,b=l.pathSeparator,h||t(c,w.core_lw,w.core_up)?(S=c.toLowerCase(),m=r(c,S,w),m.length===0||c.indexOf(b)>-1&&(d=e(c,S,w,b),m=i(m,d)),m):[]},Lr.wrap=function(c,p,l){var h,d,m,b,w,S,L,v,y;if(l.wrap!=null&&(y=l.wrap,S=y.tagClass,v=y.tagOpen,L=y.tagClose),S==null&&(S="highlight"),v==null&&(v='<strong class="'+S+'">'),L==null&&(L="</strong>"),c===p)return v+c+L;if(m=o(c,p,l),m.length===0)return c;for(b="",h=-1,w=0;++h<m.length;){for(d=m[h],d>w&&(b+=c.substring(w,d),w=d);++h<m.length;)if(m[h]===d+1)d++;else{h--;break}d++,d>w&&(b+=v,b+=c.substring(w,d),b+=L,w=d)}return w<=c.length-1&&(b+=c.substring(w)),b},e=function(c,p,l,h){var d,m,b;for(b=c.length-1;c[b]===h;)b--;if(d=c.lastIndexOf(h,b),d===-1)return[];for(m=l.depth;m-- >0;)if(d=c.lastIndexOf(h,d-1),d===-1)return[];return d++,b++,r(c.slice(d,b),p.slice(d,b),l,d)},i=function(c,p){var l,h,d,m,b,w,S;if(b=c.length,w=p.length,w===0)return c.slice();if(b===0)return p.slice();for(d=-1,m=0,h=p[m],S=[];++d<b;){for(l=c[d];h<=l&&++m<w;)h<l&&S.push(h),h=p[m];S.push(l)}for(;m<w;)S.push(p[m++]);return S},r=function(c,p,l,h){var d,m,b,w,S,L,v,y,_,E,x,g,T,R,z,C,k,I,q,V,oe,N,fe,he,ie,ve;for(h==null&&(h=0),I=l.query,q=l.query_lw,T=c.length,C=I.length,S=s(c,p,I,q).score,N=new Array(C),_=new Array(C),b=0,w=1,m=2,d=3,ve=new Array(T*C),k=-1,g=-1;++g<C;)N[g]=0,_[g]=0;for(x=-1;++x<T;)for(V=0,fe=0,y=0,he=p[x],g=-1;++g<C;)E=0,L=0,oe=fe,q[g]===he&&(ie=n(x,c,p),E=y>0?y:a(c,p,I,q,x,g,ie),L=oe+f(x,g,ie,S,E)),fe=N[g],y=_[g],V>fe?z=m:(V=fe,z=w),L>V?(V=L,z=d):E=0,N[g]=V,_[g]=E,ve[++k]=V>0?z:b;for(x=T-1,g=C-1,k=x*C+g,v=!0,R=[];v&&x>=0&&g>=0;)switch(ve[k]){case w:x--,k-=C;break;case m:g--,k--;break;case d:R.push(x+h),g--,x--,k-=C+1;break;default:v=!1}return R.reverse(),R}}).call(Lr)});var rt=be((Un,qn)=>{(function(){var e,r,t,n,o,i,s,f;t=jn(),n=Vn(),f=$e(),i=Cr(),e=et(),s=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",qn.exports={filter:function(a,u,c){return c==null&&(c={}),(u!=null?u.length:void 0)&&(a!=null?a.length:void 0)?(c=o(c,u),t(a,u,c)):[]},score:function(a,u,c){return c==null&&(c={}),(a!=null?a.length:void 0)&&(u!=null?u.length:void 0)?(c=o(c,u),c.usePathScoring?i.score(a,u,c):f.score(a,u,c)):0},match:function(a,u,c){var p,l,h;return c==null&&(c={}),a?u?a===u?function(){h=[];for(var d=0,m=a.length;0<=m?d<m:d>m;0<=m?d++:d--)h.push(d);return h}.apply(this):(c=o(c,u),n.match(a,u,c)):[]:[]},wrap:function(a,u,c){return c==null&&(c={}),a?u?(c=o(c,u),n.wrap(a,u,c)):[]:[]},prepareQuery:function(a,u){return u==null&&(u={}),u=o(u,a),u.preparedQuery}},o=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(Un)});var At=Hr(Tt(),1),{__extends:U,__assign:ii,__rest:ai,__decorate:si,__param:fi,__metadata:ui,__awaiter:Mt,__generator:Ze,__exportStar:ci,__createBinding:li,__values:Z,__read:H,__spread:pi,__spreadArrays:mi,__spreadArray:j,__await:er,__asyncGenerator:It,__asyncDelegator:hi,__asyncValues:Ct,__makeTemplateObject:di,__importStar:vi,__importDefault:bi,__classPrivateFieldGet:yi,__classPrivateFieldSet:xi}=At.default;function O(e){return typeof e=="function"}function rr(e){var r=function(n){Error.call(n),n.stack=new Error().stack},t=e(r);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var tr=rr(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription:
`+t.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=t}});function ce(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,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,t,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var f=Z(s),a=f.next();!a.done;a=f.next()){var u=a.value;u.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(t=f.return)&&t.call(f)}finally{if(r)throw r.error}}else s.remove(this);var c=this.initialTeardown;if(O(c))try{c()}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{Lt(d)}catch(m){i=i!=null?i:[],m instanceof tr?i=j(j([],H(i)),H(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}if(i)throw new tr(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)Lt(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)&&ce(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&ce(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var Wr=ae.EMPTY;function nr(e){return e instanceof ae||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function Lt(e){O(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;r<arguments.length;r++)e[r]=arguments[r];var t=Ee.delegate;return((t==null?void 0:t.setTimeout)||setTimeout).apply(void 0,j([],H(e)))},clearTimeout:function(e){var r=Ee.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function or(e){Ee.setTimeout(function(){var r=ee.onUnhandledError;if(r)r(e);else throw e})}function re(){}var Pt=function(){return jr("C",void 0,void 0)}();function Rt(e){return jr("E",void 0,e)}function Ft(e){return jr("N",e,void 0)}function jr(e,r,t){return{kind:e,value:r,error:t}}var ye=null;function Oe(e){if(ee.useDeprecatedSynchronousErrorHandling){var r=!ye;if(r&&(ye={errorThrown:!1,error:null}),e(),r){var t=ye,n=t.errorThrown,o=t.error;if(ye=null,n)throw o}}else e()}function kt(e){ee.useDeprecatedSynchronousErrorHandling&&ye&&(ye.errorThrown=!0,ye.error=e)}var He=function(e){U(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,nr(t)&&t.add(n)):n.destination=io,n}return r.create=function(t,n,o){return new Te(t,n,o)},r.prototype.next=function(t){this.isStopped?Ur(Ft(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?Ur(Rt(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?Ur(Pt,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(ae);var Te=function(e){U(r,e);function r(t,n,o){var i=e.call(this)||this,s;if(O(t))s=t;else if(t){s=t.next,n=t.error,o=t.complete;var f;i&&ee.useDeprecatedNextContext?(f=Object.create(t),f.unsubscribe=function(){return i.unsubscribe()}):f=t,s=s==null?void 0:s.bind(f),n=n==null?void 0:n.bind(f),o=o==null?void 0:o.bind(f)}return i.destination={next:s?Vr(s,i):re,error:Vr(n!=null?n:Ht,i),complete:o?Vr(o,i):re},i}return r}(He);function Vr(e,r){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{e.apply(void 0,j([],H(t)))}catch(o){ee.useDeprecatedSynchronousErrorHandling?kt(o):or(o)}}}function Ht(e){throw e}function Ur(e,r){var t=ee.onStoppedNotification;t&&Ee.setTimeout(function(){return t(e,r)})}var io={closed:!0,next:re,error:Ht,complete:re};var Ae=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Y(e){return e}function zt(e){return e.length===0?Y:e.length===1?e[0]:function(t){return e.reduce(function(n,o){return o(n)},t)}}var P=function(){function e(r){r&&(this._subscribe=r)}return e.prototype.lift=function(r){var t=new e;return t.source=this,t.operator=r,t},e.prototype.subscribe=function(r,t,n){var o=this,i=so(r)?r:new Te(r,t,n);return Oe(function(){var s=o,f=s.operator,a=s.source;i.add(f?f.call(i,a):a?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(t){r.error(t)}},e.prototype.forEach=function(r,t){var n=this;return t=Wt(t),new t(function(o,i){var s=new Te({next:function(f){try{r(f)}catch(a){i(a),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)},e.prototype[Ae]=function(){return this},e.prototype.pipe=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return zt(r)(this)},e.prototype.toPromise=function(r){var t=this;return r=Wt(r),new r(function(n,o){var i;t.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(r){return new e(r)},e}();function Wt(e){var r;return(r=e!=null?e:ee.Promise)!==null&&r!==void 0?r:Promise}function ao(e){return e&&O(e.next)&&O(e.error)&&O(e.complete)}function so(e){return e&&e instanceof He||ao(e)&&nr(e)}function fo(e){return O(e==null?void 0:e.lift)}function A(e){return function(r){if(fo(r))return r.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var M=function(e){U(r,e);function r(t,n,o,i,s){var f=e.call(this,t)||this;return f.onFinalize=s,f._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:e.prototype._next,f._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:e.prototype._error,f._complete=o?function(){try{o()}catch(a){t.error(a)}finally{this.unsubscribe()}}:e.prototype._complete,f}return r.prototype.unsubscribe=function(){var t,n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))},r}(He);var Me={schedule:function(e){var r=requestAnimationFrame,t=cancelAnimationFrame,n=Me.delegate;n&&(r=n.requestAnimationFrame,t=n.cancelAnimationFrame);var o=r(function(i){t=void 0,e(i)});return new ae(function(){return t==null?void 0:t(o)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Me.delegate;return((t==null?void 0:t.requestAnimationFrame)||requestAnimationFrame).apply(void 0,j([],H(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Me.delegate;return((t==null?void 0:t.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,j([],H(e)))},delegate:void 0};var jt=rr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var B=function(e){U(r,e);function r(){var t=e.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.prototype.lift=function(t){var n=new Vt(this,this);return n.operator=t,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new jt},r.prototype.next=function(t){var n=this;Oe(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){var s=n.observers.slice();try{for(var f=Z(s),a=f.next();!a.done;a=f.next()){var u=a.value;u.next(t)}}catch(c){o={error:c}}finally{try{a&&!a.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}}})},r.prototype.error=function(t){var n=this;Oe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var o=n.observers;o.length;)o.shift().error(t)}})},r.prototype.complete=function(){var t=this;Oe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},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 n=this,o=n.hasError,i=n.isStopped,s=n.observers;return o||i?Wr:(s.push(t),new ae(function(){return ce(s,t)}))},r.prototype._checkFinalizedStatuses=function(t){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?t.error(i):s&&t.complete()},r.prototype.asObservable=function(){var t=new P;return t.source=this,t},r.create=function(t,n){return new Vt(t,n)},r}(P);var Vt=function(e){U(r,e);function r(t,n){var o=e.call(this)||this;return o.destination=t,o.source=n,o}return r.prototype.next=function(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,t)},r.prototype.error=function(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,t)},r.prototype.complete=function(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)},r.prototype._subscribe=function(t){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&o!==void 0?o:Wr},r}(B);var ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0};var Ut=function(e){U(r,e);function r(t,n,o){t===void 0&&(t=1/0),n===void 0&&(n=1/0),o===void 0&&(o=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return r.prototype.next=function(t){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,f=n._timestampProvider,a=n._windowTime;o||(i.push(t),!s&&i.push(f.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(t),o=this,i=o._infiniteTimeWindow,s=o._buffer,f=s.slice(),a=0;a<f.length&&!t.closed;a+=i?1:2)t.next(f[a]);return this._checkFinalizedStatuses(t),n},r.prototype._trimBuffer=function(){var t=this,n=t._bufferSize,o=t._timestampProvider,i=t._buffer,s=t._infiniteTimeWindow,f=(s?1:2)*n;if(n<1/0&&f<i.length&&i.splice(0,i.length-f),!s){for(var a=o.now(),u=0,c=1;c<i.length&&i[c]<=a;c+=2)u=c;u&&i.splice(0,u+1)}},r}(B);var qt=function(e){U(r,e);function r(t,n){return e.call(this)||this}return r.prototype.schedule=function(t,n){return n===void 0&&(n=0),this},r}(ae);var We={setInterval:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=We.delegate;return((t==null?void 0:t.setInterval)||setInterval).apply(void 0,j([],H(e)))},clearInterval:function(e){var r=We.delegate;return((r==null?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0};var ir=function(e){U(r,e);function r(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.pending=!1,o}return r.prototype.schedule=function(t,n){if(n===void 0&&(n=0),this.closed)return this;this.state=t;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this},r.prototype.requestAsyncId=function(t,n,o){return o===void 0&&(o=0),We.setInterval(t.flush.bind(t,this),o)},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;We.clearInterval(n)},r.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(t,n){var o=!1,i;try{this.work(t)}catch(s){o=!0,i=s||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},r.prototype.unsubscribe=function(){if(!this.closed){var t=this,n=t.id,o=t.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ce(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(qt);var qr=function(){function e(r,t){t===void 0&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(r,t,n){return t===void 0&&(t=0),new this.schedulerActionCtor(this,r).schedule(n,t)},e.now=ze.now,e}();var ar=function(e){U(r,e);function r(t,n){n===void 0&&(n=qr.now);var o=e.call(this,t,n)||this;return o.actions=[],o._active=!1,o._scheduled=void 0,o}return r.prototype.flush=function(t){var n=this.actions;if(this._active){n.push(t);return}var o;this._active=!0;do if(o=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,o){for(;t=n.shift();)t.unsubscribe();throw o}},r}(qr);var je=new ar(ir),sr=je;var Nt=function(e){U(r,e);function r(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o}return r.prototype.requestAsyncId=function(t,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t._scheduled||(t._scheduled=Me.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);t.actions.some(function(i){return i.id===n})||(Me.cancelAnimationFrame(n),t._scheduled=void 0)},r}(ir);var Dt=function(e){U(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;t=t||o.shift();do if(i=t.execute(t.state,t.delay))break;while((t=o[0])&&t.id===n&&o.shift());if(this._active=!1,i){for(;(t=o[0])&&t.id===n&&o.shift();)t.unsubscribe();throw i}},r}(ar);var Nr=new Dt(Nt);var le=new P(function(e){return e.complete()});function fr(e){return e&&O(e.schedule)}function Dr(e){return e[e.length-1]}function Ie(e){return O(Dr(e))?e.pop():void 0}function se(e){return fr(Dr(e))?e.pop():void 0}function $t(e,r){return typeof Dr(e)=="number"?e.pop():r}var Ce=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function ur(e){return O(e==null?void 0:e.then)}function cr(e){return O(e[Ae])}function lr(e){return Symbol.asyncIterator&&O(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 uo(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mr=uo();function hr(e){return O(e==null?void 0:e[mr])}function dr(e){return It(this,arguments,function(){var t,n,o,i;return Ze(this,function(s){switch(s.label){case 0:t=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,er(t.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,er(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,er(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function vr(e){return O(e==null?void 0:e.getReader)}function W(e){if(e instanceof P)return e;if(e!=null){if(cr(e))return co(e);if(Ce(e))return lo(e);if(ur(e))return po(e);if(lr(e))return Gt(e);if(hr(e))return mo(e);if(vr(e))return ho(e)}throw pr(e)}function co(e){return new P(function(r){var t=e[Ae]();if(O(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lo(e){return new P(function(r){for(var t=0;t<e.length&&!r.closed;t++)r.next(e[t]);r.complete()})}function po(e){return new P(function(r){e.then(function(t){r.closed||(r.next(t),r.complete())},function(t){return r.error(t)}).then(null,or)})}function mo(e){return new P(function(r){var t,n;try{for(var o=Z(e),i=o.next();!i.done;i=o.next()){var s=i.value;if(r.next(s),r.closed)return}}catch(f){t={error:f}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}r.complete()})}function Gt(e){return new P(function(r){vo(e,r).catch(function(t){return r.error(t)})})}function ho(e){return Gt(dr(e))}function vo(e,r){var t,n,o,i;return Mt(this,void 0,void 0,function(){var s,f;return Ze(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),t=Ct(e),a.label=1;case 1:return[4,t.next()];case 2:if(n=a.sent(),!!n.done)return[3,4];if(s=n.value,r.next(s),r.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return f=a.sent(),o={error:f},[3,11];case 6:return a.trys.push([6,,9,10]),n&&!n.done&&(i=t.return)?[4,i.call(t)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function $(e,r,t,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=r.schedule(function(){t(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function br(e,r){return r===void 0&&(r=0),A(function(t,n){t.subscribe(new M(n,function(o){return $(n,e,function(){return n.next(o)},r)},function(){return $(n,e,function(){return n.complete()},r)},function(o){return $(n,e,function(){return n.error(o)},r)}))})}function yr(e,r){return r===void 0&&(r=0),A(function(t,n){n.add(e.schedule(function(){return t.subscribe(n)},r))})}function Qt(e,r){return W(e).pipe(yr(r),br(r))}function Kt(e,r){return W(e).pipe(yr(r),br(r))}function Yt(e,r){return new P(function(t){var n=0;return r.schedule(function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())})})}function Jt(e,r){return new P(function(t){var n;return $(t,r,function(){n=e[mr](),$(t,r,function(){var o,i,s;try{o=n.next(),i=o.value,s=o.done}catch(f){t.error(f);return}s?t.complete():t.next(i)},0,!0)}),function(){return O(n==null?void 0:n.return)&&n.return()}})}function xr(e,r){if(!e)throw new Error("Iterable cannot be null");return new P(function(t){$(t,r,function(){var n=e[Symbol.asyncIterator]();$(t,r,function(){n.next().then(function(o){o.done?t.complete():t.next(o.value)})},0,!0)})})}function Bt(e,r){return xr(dr(e),r)}function Xt(e,r){if(e!=null){if(cr(e))return Qt(e,r);if(Ce(e))return Yt(e,r);if(ur(e))return Kt(e,r);if(lr(e))return xr(e,r);if(hr(e))return Jt(e,r);if(vr(e))return Bt(e,r)}throw pr(e)}function G(e,r){return r?Xt(e,r):W(e)}function te(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=se(e);return G(e,t)}function Zt(e){return e instanceof Date&&!isNaN(e)}function F(e,r){return A(function(t,n){var o=0;t.subscribe(new M(n,function(i){n.next(e.call(r,i,o++))}))})}var bo=Array.isArray;function yo(e,r){return bo(r)?e.apply(void 0,j([],H(r))):e(r)}function gr(e){return F(function(r){return yo(e,r)})}var xo=Array.isArray,go=Object.getPrototypeOf,wo=Object.prototype,_o=Object.keys;function en(e){if(e.length===1){var r=e[0];if(xo(r))return{args:r,keys:null};if(So(r)){var t=_o(r);return{args:t.map(function(n){return r[n]}),keys:t}}}return{args:e,keys:null}}function So(e){return e&&typeof e=="object"&&go(e)===wo}function rn(e,r){return e.reduce(function(t,n,o){return t[n]=r[o],t},{})}function Le(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=se(e),n=Ie(e),o=en(e),i=o.args,s=o.keys;if(i.length===0)return G([],t);var f=new P(Eo(i,t,s?function(a){return rn(s,a)}:Y));return n?f.pipe(gr(n)):f}function Eo(e,r,t){return t===void 0&&(t=Y),function(n){tn(r,function(){for(var o=e.length,i=new Array(o),s=o,f=o,a=function(c){tn(r,function(){var p=G(e[c],r),l=!1;p.subscribe(new M(n,function(h){i[c]=h,l||(l=!0,f--),f||n.next(t(i.slice()))},function(){--s||n.complete()}))},n)},u=0;u<o;u++)a(u)},n)}}function tn(e,r,t){e?$(t,e,r):r()}function nn(e,r,t,n,o,i,s,f){var a=[],u=0,c=0,p=!1,l=function(){p&&!a.length&&!u&&r.complete()},h=function(m){return u<n?d(m):a.push(m)},d=function(m){i&&r.next(m),u++;var b=!1;W(t(m,c++)).subscribe(new M(r,function(w){o==null||o(w),i?h(w):r.next(w)},function(){b=!0},void 0,function(){if(b)try{u--;for(var w=function(){var S=a.shift();s?$(r,s,function(){return d(S)}):d(S)};a.length&&u<n;)w();l()}catch(S){r.error(S)}}))};return e.subscribe(new M(r,h,function(){p=!0,l()})),function(){f==null||f()}}function xe(e,r,t){return t===void 0&&(t=1/0),O(r)?xe(function(n,o){return F(function(i,s){return r(n,i,o,s)})(W(e(n,o)))},t):(typeof r=="number"&&(t=r),A(function(n,o){return nn(n,o,e,t)}))}function wr(e){return e===void 0&&(e=1/0),xe(Y,e)}function on(){return wr(1)}function Ve(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return on()(G(e,se(e)))}function Ue(e){return new P(function(r){W(e()).subscribe(r)})}var Oo=["addListener","removeListener"],To=["addEventListener","removeEventListener"],Ao=["on","off"];function Q(e,r,t,n){if(O(t)&&(n=t,t=void 0),n)return Q(e,r,t).pipe(gr(n));var o=H(Co(e)?To.map(function(f){return function(a){return e[f](r,a,t)}}):Mo(e)?Oo.map(an(e,r)):Io(e)?Ao.map(an(e,r)):[],2),i=o[0],s=o[1];if(!i&&Ce(e))return xe(function(f){return Q(f,r,t)})(W(e));if(!i)throw new TypeError("Invalid event target");return new P(function(f){var a=function(){for(var u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];return f.next(1<u.length?u:u[0])};return i(a),function(){return s(a)}})}function an(e,r){return function(t){return function(n){return e[t](r,n)}}}function Mo(e){return O(e.addListener)&&O(e.removeListener)}function Io(e){return O(e.on)&&O(e.off)}function Co(e){return O(e.addEventListener)&&O(e.removeEventListener)}function _r(e,r,t){e===void 0&&(e=0),t===void 0&&(t=sr);var n=-1;return r!=null&&(fr(r)?t=r:n=r),new P(function(o){var i=Zt(e)?+e-t.now():e;i<0&&(i=0);var s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function D(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=se(e),n=$t(e,1/0),o=e;return o.length?o.length===1?W(o[0]):wr(n)(G(o,t)):le}var qe=new P(re);var Lo=Array.isArray;function sn(e){return e.length===1&&Lo(e[0])?e[0]:e}function pe(e,r){return A(function(t,n){var o=0;t.subscribe(new M(n,function(i){return e.call(r,i,o++)&&n.next(i)}))})}function fn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Ie(e),n=sn(e);return n.length?new P(function(o){var i=n.map(function(){return[]}),s=n.map(function(){return!1});o.add(function(){i=s=null});for(var f=function(u){W(n[u]).subscribe(new M(o,function(c){if(i[u].push(c),i.every(function(l){return l.length})){var p=i.map(function(l){return l.shift()});o.next(t?t.apply(void 0,j([],H(p))):p),i.some(function(l,h){return!l.length&&s[h]})&&o.complete()}},function(){s[u]=!0,!i[u].length&&o.complete()}))},a=0;!o.closed&&a<n.length;a++)f(a);return function(){i=s=null}}):le}function un(e){return A(function(r,t){var n=!1,o=null,i=null,s=!1,f=function(){if(i==null||i.unsubscribe(),i=null,n){n=!1;var u=o;o=null,t.next(u)}s&&t.complete()},a=function(){i=null,s&&t.complete()};r.subscribe(new M(t,function(u){n=!0,o=u,i||W(e(u)).subscribe(i=new M(t,f,a))},function(){s=!0,(!n||!i||i.closed)&&t.complete()}))})}function $r(e,r){return r===void 0&&(r=sr),un(function(){return _r(e,r)})}function Gr(e,r){return r===void 0&&(r=null),r=r!=null?r:e,A(function(t,n){var o=[],i=0;t.subscribe(new M(n,function(s){var f,a,u,c,p=null;i++%r===0&&o.push([]);try{for(var l=Z(o),h=l.next();!h.done;h=l.next()){var d=h.value;d.push(s),e<=d.length&&(p=p!=null?p:[],p.push(d))}}catch(w){f={error:w}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(f)throw f.error}}if(p)try{for(var m=Z(p),b=m.next();!b.done;b=m.next()){var d=b.value;ce(o,d),n.next(d)}}catch(w){u={error:w}}finally{try{b&&!b.done&&(c=m.return)&&c.call(m)}finally{if(u)throw u.error}}},function(){var s,f;try{for(var a=Z(o),u=a.next();!u.done;u=a.next()){var c=u.value;n.next(c)}}catch(p){s={error:p}}finally{try{u&&!u.done&&(f=a.return)&&f.call(a)}finally{if(s)throw s.error}}n.complete()},void 0,function(){o=null}))})}function Sr(e){return A(function(r,t){var n=null,o=!1,i;n=r.subscribe(new M(t,void 0,void 0,function(s){i=W(e(s,Sr(e)(r))),n?(n.unsubscribe(),n=null,i.subscribe(t)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(t))})}function Qr(e,r){return r===void 0&&(r=je),A(function(t,n){var o=null,i=null,s=null,f=function(){if(o){o.unsubscribe(),o=null;var u=i;i=null,n.next(u)}};function a(){var u=s+e,c=r.now();if(c<u){o=this.schedule(void 0,u-c),n.add(o);return}f()}t.subscribe(new M(n,function(u){i=u,s=r.now(),o||(o=r.schedule(a,e),n.add(o))},function(){f(),n.complete()},void 0,function(){i=o=null}))})}function Ne(e){return e<=0?function(){return le}:A(function(r,t){var n=0;r.subscribe(new M(t,function(o){++n<=e&&(t.next(o),e<=n&&t.complete())}))})}function cn(){return A(function(e,r){e.subscribe(new M(r,re))})}function ln(e){return F(function(){return e})}function Kr(e,r){return r?function(t){return Ve(r.pipe(Ne(1),cn()),t.pipe(Kr(e)))}:xe(function(t,n){return e(t,n).pipe(Ne(1),ln(t))})}function Yr(e,r){r===void 0&&(r=je);var t=_r(e,r);return Kr(function(){return t})}function me(e,r){return r===void 0&&(r=Y),e=e!=null?e:Po,A(function(t,n){var o,i=!0;t.subscribe(new M(n,function(s){var f=r(s);(i||!e(o,f))&&(i=!1,o=f,n.next(s))}))})}function Po(e,r){return e===r}function Er(e,r){return me(function(t,n){return r?r(t[e],n[e]):t[e]===n[e]})}function ge(e){return A(function(r,t){try{r.subscribe(t)}finally{t.add(e)}})}function pn(e){e===void 0&&(e={});var r=e.connector,t=r===void 0?function(){return new B}:r,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,s=i===void 0?!0:i,f=e.resetOnRefCountZero,a=f===void 0?!0:f;return function(u){var c=null,p=null,l=null,h=0,d=!1,m=!1,b=function(){p==null||p.unsubscribe(),p=null},w=function(){b(),c=l=null,d=m=!1},S=function(){var L=c;w(),L==null||L.unsubscribe()};return A(function(L,v){h++,!m&&!d&&b();var y=l=l!=null?l:t();v.add(function(){h--,h===0&&!m&&!d&&(p=Jr(S,a))}),y.subscribe(v),c||(c=new Te({next:function(_){return y.next(_)},error:function(_){m=!0,b(),p=Jr(w,o,_),y.error(_)},complete:function(){d=!0,b(),p=Jr(w,s),y.complete()}}),G(L).subscribe(c))})(u)}}function Jr(e,r){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];return r===!0?(e(),null):r===!1?null:r.apply(void 0,j([],H(t))).pipe(Ne(1)).subscribe(function(){return e()})}function we(e,r,t){var n,o,i,s=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:1/0,r=(o=e.windowTime)!==null&&o!==void 0?o:1/0,s=!!e.refCount,t=e.scheduler):i=e!=null?e:1/0,pn({connector:function(){return new Ut(i,r,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function de(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=se(e);return A(function(n,o){(t?Ve(e,n,t):Ve(e,n)).subscribe(o)})}function K(e,r){return A(function(t,n){var o=null,i=0,s=!1,f=function(){return s&&!o&&n.complete()};t.subscribe(new M(n,function(a){o==null||o.unsubscribe();var u=0,c=i++;W(e(a,c)).subscribe(o=new M(n,function(p){return n.next(r?r(a,p,c,u++):p)},function(){o=null,f()}))},function(){s=!0,f()}))})}function Pe(e,r,t){var n=O(e)||r||t?{next:e,error:r,complete:t}:e;return n?A(function(o,i){var s;(s=n.subscribe)===null||s===void 0||s.call(n);var f=!0;o.subscribe(new M(i,function(a){var u;(u=n.next)===null||u===void 0||u.call(n,a),i.next(a)},function(){var a;f=!1,(a=n.complete)===null||a===void 0||a.call(n),i.complete()},function(a){var u;f=!1,(u=n.error)===null||u===void 0||u.call(n,a),i.error(a)},function(){var a,u;f&&((a=n.unsubscribe)===null||a===void 0||a.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Y}function Re(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Ie(e);return A(function(n,o){for(var i=e.length,s=new Array(i),f=e.map(function(){return!1}),a=!1,u=function(p){W(e[p]).subscribe(new M(o,function(l){s[p]=l,!a&&!f[p]&&(f[p]=!0,(a=f.every(Y))&&(f=null))},re))},c=0;c<i;c++)u(c);n.subscribe(new M(o,function(p){if(a){var l=j([p],H(s));o.next(t?t.apply(void 0,j([],H(l))):l)}}))})}function mn(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return A(function(t,n){fn.apply(void 0,j([t],H(e))).subscribe(n)})}function Br(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return mn.apply(void 0,j([],H(e)))}function hn(e,r=document){return Array.from(r.querySelectorAll(e))}function X(e,r=document){let t=dn(e,r);if(typeof t=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return t}function dn(e,r=document){return r.querySelector(e)||void 0}function Or(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function vn(e){return D(Q(document.body,"focusin"),Q(document.body,"focusout")).pipe(Qr(1),F(()=>{let r=Or();return typeof r!="undefined"?e.contains(r):!1}),de(e===Or()),me())}function bn(e){return{x:e.scrollLeft,y:e.scrollTop}}function yn(e){return D(Q(e,"scroll"),Q(window,"resize")).pipe($r(0,Nr),F(()=>bn(e)),de(bn(e)))}var xn=function(){if(typeof Map!="undefined")return Map;function e(r,t){var n=-1;return r.some(function(o,i){return o[0]===t?(n=i,!0):!1}),n}return function(){function r(){this.__entries__=[]}return Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},r.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},r.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},r.prototype.has=function(t){return!!~e(this.__entries__,t)},r.prototype.clear=function(){this.__entries__.splice(0)},r.prototype.forEach=function(t,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o<i.length;o++){var s=i[o];t.call(n,s[1],s[0])}},r}()}(),Xr=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,Tr=function(){return typeof global!="undefined"&&global.Math===Math?global:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Ro=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Tr):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Fo=2;function ko(e,r){var t=!1,n=!1,o=0;function i(){t&&(t=!1,e()),n&&f()}function s(){Ro(i)}function f(){var a=Date.now();if(t){if(a-o<Fo)return;n=!0}else t=!0,n=!1,setTimeout(s,r);o=a}return f}var Ho=20,zo=["top","right","bottom","left","width","height","size","weight"],Wo=typeof MutationObserver!="undefined",jo=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=ko(this.refresh.bind(this),Ho)}return e.prototype.addObserver=function(r){~this.observers_.indexOf(r)||this.observers_.push(r),this.connected_||this.connect_()},e.prototype.removeObserver=function(r){var t=this.observers_,n=t.indexOf(r);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var r=this.updateObservers_();r&&this.refresh()},e.prototype.updateObservers_=function(){var r=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return r.forEach(function(t){return t.broadcastActive()}),r.length>0},e.prototype.connect_=function(){!Xr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Wo?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Xr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(r){var t=r.propertyName,n=t===void 0?"":t,o=zo.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),gn=function(e,r){for(var t=0,n=Object.keys(r);t<n.length;t++){var o=n[t];Object.defineProperty(e,o,{value:r[o],enumerable:!1,writable:!1,configurable:!0})}return e},Fe=function(e){var r=e&&e.ownerDocument&&e.ownerDocument.defaultView;return r||Tr},wn=Mr(0,0,0,0);function Ar(e){return parseFloat(e)||0}function _n(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return r.reduce(function(n,o){var i=e["border-"+o+"-width"];return n+Ar(i)},0)}function Vo(e){for(var r=["top","right","bottom","left"],t={},n=0,o=r;n<o.length;n++){var i=o[n],s=e["padding-"+i];t[i]=Ar(s)}return t}function Uo(e){var r=e.getBBox();return Mr(0,0,r.width,r.height)}function qo(e){var r=e.clientWidth,t=e.clientHeight;if(!r&&!t)return wn;var n=Fe(e).getComputedStyle(e),o=Vo(n),i=o.left+o.right,s=o.top+o.bottom,f=Ar(n.width),a=Ar(n.height);if(n.boxSizing==="border-box"&&(Math.round(f+i)!==r&&(f-=_n(n,"left","right")+i),Math.round(a+s)!==t&&(a-=_n(n,"top","bottom")+s)),!Do(e)){var u=Math.round(f+i)-r,c=Math.round(a+s)-t;Math.abs(u)!==1&&(f-=u),Math.abs(c)!==1&&(a-=c)}return Mr(o.left,o.top,f,a)}var No=function(){return typeof SVGGraphicsElement!="undefined"?function(e){return e instanceof Fe(e).SVGGraphicsElement}:function(e){return e instanceof Fe(e).SVGElement&&typeof e.getBBox=="function"}}();function Do(e){return e===Fe(e).document.documentElement}function $o(e){return Xr?No(e)?Uo(e):qo(e):wn}function Go(e){var r=e.x,t=e.y,n=e.width,o=e.height,i=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,s=Object.create(i.prototype);return gn(s,{x:r,y:t,width:n,height:o,top:t,right:r+n,bottom:o+t,left:r}),s}function Mr(e,r,t,n){return{x:e,y:r,width:t,height:n}}var Qo=function(){function e(r){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Mr(0,0,0,0),this.target=r}return e.prototype.isActive=function(){var r=$o(this.target);return this.contentRect_=r,r.width!==this.broadcastWidth||r.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var r=this.contentRect_;return this.broadcastWidth=r.width,this.broadcastHeight=r.height,r},e}(),Ko=function(){function e(r,t){var n=Go(t);gn(this,{target:r,contentRect:n})}return e}(),Yo=function(){function e(r,t,n){if(this.activeObservations_=[],this.observations_=new xn,typeof r!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=r,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(r instanceof Fe(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(r)||(t.set(r,new Qo(r)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(r instanceof Fe(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;!t.has(r)||(t.delete(r),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var r=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&r.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(!!this.hasActive()){var r=this.callbackCtx_,t=this.activeObservations_.map(function(n){return new Ko(n.target,n.broadcastRect())});this.callback_.call(r,t,r),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Sn=typeof WeakMap!="undefined"?new WeakMap:new xn,En=function(){function e(r){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=jo.getInstance(),n=new Yo(r,t,this);Sn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){En.prototype[e]=function(){var r;return(r=Sn.get(this))[e].apply(r,arguments)}});var Jo=function(){return typeof Tr.ResizeObserver!="undefined"?Tr.ResizeObserver:En}(),On=Jo;var Bo=new B,Ip=Ue(()=>te(new On(e=>{for(let r of e)Bo.next(r)}))).pipe(K(e=>D(qe,te(e)).pipe(ge(()=>e.disconnect()))),we(1));function Tn(e){return{width:e.offsetWidth,height:e.offsetHeight}}function An(e){return{width:e.scrollWidth,height:e.scrollHeight}}var Xo=new B,Wp=Ue(()=>te(new IntersectionObserver(e=>{for(let r of e)Xo.next(r)},{threshold:1}))).pipe(K(e=>D(qe,te(e)).pipe(ge(()=>e.disconnect()))),we(1));function Mn(e,r=16){return yn(e).pipe(F(({y:t})=>{let n=Tn(e),o=An(e);return t>=o.height-n.height-r}),me())}var Qp={drawer:X("[data-md-toggle=drawer]"),search:X("[data-md-toggle=search]")};function In(){return new URL(location.href)}function Cn(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)Cn(e,t)}function ne(e,r,...t){let n=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?n.setAttribute(o,r[o]):r[o]&&n.setAttribute(o,"");for(let o of t)Cn(n,o);return n}function Ln(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Zo(e,r={credentials:"same-origin"}){return G(fetch(`${e}`,r)).pipe(pe(t=>t.status===200),Sr(()=>le))}function Ir(e,r){return Zo(e,r).pipe(K(t=>t.json()),we(1))}function ke(e,r=document){return X(`[data-mdx-component=${e}]`,r)}function Zr(e,r=document){return hn(`[data-mdx-component=${e}]`,r)}var ei=X("#__config"),De=JSON.parse(ei.textContent);De.base=`${new URL(De.base,In())}`;function Pn(){return De}function Rn(e,r){return typeof r!="undefined"?De.translations[e].replace("#",r.toString()):De.translations[e]}function Fn(e){let r=vn(e),t=D(Q(e,"keyup"),Q(e,"focus").pipe(Yr(1))).pipe(F(()=>e.value),de(e.value),me());return r.pipe(pe(n=>!n),Re(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Le([t,r]).pipe(F(([n,o])=>({ref:e,value:n,focus:o})))}var tt=Hr(rt());var Nn=Hr(rt());function Dn(e,r){return(0,Nn.wrap)(e.shortcode,r,{wrap:{tagOpen:"<b>",tagClose:"</b>"}})}function $n(e,r,t){return ne("li",{class:"mdx-iconsearch-result__item"},ne("span",{class:"twemoji"},ne("img",{src:e.url})),ne("button",{class:"md-clipboard--inline",title:Rn("clipboard.copy"),"data-clipboard-text":t?e.shortcode:`:${e.shortcode}:`},ne("code",null,t?Dn(e,r):`:${Dn(e,r)}:`)))}function Gn(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function Qn(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function ri(e,{index$:r,query$:t}){switch(e.getAttribute("data-mdx-mode")){case"file":return Le([t.pipe(Er("value")),r.pipe(F(({icons:n})=>Object.values(n.data).map(o=>o.replace(/\.svg$/,""))))]).pipe(F(([{value:n},o])=>(0,tt.filter)(o,n)),K(n=>r.pipe(F(({icons:o})=>({data:n.map(i=>({shortcode:i,url:[o.base,i,".svg"].join("")}))})))));default:return Le([t.pipe(Er("value")),r.pipe(F(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(F(([{value:n},o])=>(0,tt.filter)(o,n)),K(n=>r.pipe(F(({icons:o,emojis:i})=>({data:n.map(s=>{let f=s in o.data?o:i;return{shortcode:s,url:[f.base,f.data[s]].join("")}})})))))}}function Kn(e,{index$:r,query$:t}){let n=new B,o=Mn(e).pipe(pe(Boolean)),i=X(":scope > :first-child",e);n.pipe(Re(t)).subscribe(([{data:a},{value:u}])=>{if(u)switch(a.length){case 0:i.textContent="No matches";break;case 1:i.textContent="1 match";break;default:i.textContent=`${Ln(a.length)} matches`}else i.textContent="Type to start searching"});let s=e.getAttribute("data-mdx-mode")==="file",f=X(":scope > :last-child",e);return n.pipe(Pe(()=>f.innerHTML=""),K(({data:a})=>D(te(...a.slice(0,10)),te(...a.slice(10)).pipe(Gr(10),Br(o),K(([u])=>te(...u))))),Re(t)).subscribe(([a,{value:u}])=>f.appendChild($n(a,u,s))),ri(e,{query$:t,index$:r}).pipe(Pe(a=>n.next(a)),ge(()=>n.complete()),F(a=>Ye({ref:e},a)))}function Yn(e){let r=Pn(),t=Ir(new URL("overrides/assets/javascripts/iconsearch_index.json",r.base)),n=ke("iconsearch-query",e),o=ke("iconsearch-result",e),i=Fn(n),s=Kn(o,{index$:t,query$:i});return D(i,s)}function Jn(e){let r=Ir("https://3if8u9o552.execute-api.us-east-1.amazonaws.com/_/"),t=ke("sponsorship-count"),n=ke("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=X(":scope > :first-child",e);for(let s of o.sponsors)s.type==="public"&&i.appendChild(Gn(s.user));i.appendChild(Qn(o.sponsors.filter(({type:s})=>s==="private").length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")} a month`}),r.pipe(F(o=>Ye({ref:e},o)))}function Bn(){let{origin:e}=new URL(location.href);Q(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)}})}Bn();var ti=document$.pipe(K(()=>D(...Zr("iconsearch").map(e=>Yn(e)),...Zr("sponsorship").map(e=>Jn(e)))));ti.subscribe();})();
//# sourceMappingURL=bundle.7e64518f.min.js.map