1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-28 23:33:12 +01:00
mkdocs-material/material/overrides/assets/javascripts/bundle.afdf7228.min.js
2021-03-28 13:48:23 +02:00

20 lines
49 KiB
JavaScript

(()=>{var Ln=Object.create,ze=Object.defineProperty,Cn=Object.getPrototypeOf,kr=Object.prototype.hasOwnProperty,Pn=Object.getOwnPropertyNames,Hn=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertySymbols,Fn=Object.prototype.propertyIsEnumerable;var Ur=(e,r,t)=>r in e?ze(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Ue=(e,r)=>{for(var t in r||(r={}))kr.call(r,t)&&Ur(e,t,r[t]);if(zr)for(var t of zr(r))Fn.call(r,t)&&Ur(e,t,r[t]);return e},Rn=e=>ze(e,"__esModule",{value:!0});var me=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var jn=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Pn(r))!kr.call(e,n)&&n!=="default"&&ze(e,n,{get:()=>r[n],enumerable:!(t=Hn(r,n))||t.enumerable});return e},br=e=>jn(Rn(ze(e!=null?Ln(Cn(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var at=me((yo,We)=>{var Wr,Vr,qr,$r,Nr,Dr,Qr,Kr,Jr,Ve,yr,Yr,Gr,Xr,ye,Br,Zr,et,rt,tt,nt,ot,it,qe;(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 We=="object"&&typeof We.exports=="object"?e(t(r,t(We.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])};Wr=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)},Vr=Object.assign||function(n){for(var o,i=1,s=arguments.length;i<s;i++){o=arguments[i];for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(n[u]=o[u])}return n},qr=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 u=0,s=Object.getOwnPropertySymbols(n);u<s.length;u++)o.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(n,s[u])&&(i[s[u]]=n[s[u]]);return i},$r=function(n,o,i,s){var u=arguments.length,a=u<3?o:s===null?s=Object.getOwnPropertyDescriptor(o,i):s,l;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--)(l=n[c])&&(a=(u<3?l(a):u>3?l(o,i,a):l(o,i))||a);return u>3&&a&&Object.defineProperty(o,i,a),a},Nr=function(n,o){return function(i,s){o(i,s,n)}},Dr=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},Qr=function(n,o,i,s){function u(a){return a instanceof i?a:new i(function(l){l(a)})}return new(i||(i=Promise))(function(a,l){function c(d){try{f(s.next(d))}catch(h){l(h)}}function p(d){try{f(s.throw(d))}catch(h){l(h)}}function f(d){d.done?a(d.value):u(d.value).then(c,p)}f((s=s.apply(n,o||[])).next())})},Kr=function(n,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,u,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(d){return p([f,d])}}function p(f){if(s)throw new TypeError("Generator is already executing.");for(;i;)try{if(s=1,u&&(a=f[0]&2?u.return:f[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,f[1])).done)return a;switch(u=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++,u=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]<a[3])){i.label=f[1];break}if(f[0]===6&&i.label<a[1]){i.label=a[1],a=f;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(f);break}a[2]&&i.ops.pop(),i.trys.pop();continue}f=o.call(n,i)}catch(d){f=[6,d],u=0}finally{s=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Jr=function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&qe(o,n,i)},qe=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]},Ve=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.")},yr=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var s=i.call(n),u,a=[],l;try{for(;(o===void 0||o-- >0)&&!(u=s.next()).done;)a.push(u.value)}catch(c){l={error:c}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(l)throw l.error}}return a},Yr=function(){for(var n=[],o=0;o<arguments.length;o++)n=n.concat(yr(arguments[o]));return n},Gr=function(){for(var n=0,o=0,i=arguments.length;o<i;o++)n+=arguments[o].length;for(var s=Array(n),u=0,o=0;o<i;o++)for(var a=arguments[o],l=0,c=a.length;l<c;l++,u++)s[u]=a[l];return s},Xr=function(n,o){for(var i=0,s=o.length,u=n.length;i<s;i++,u++)n[u]=o[i];return n},ye=function(n){return this instanceof ye?(this.v=n,this):new ye(n)},Br=function(n,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=i.apply(n,o||[]),u,a=[];return u={},l("next"),l("throw"),l("return"),u[Symbol.asyncIterator]=function(){return this},u;function l(m){s[m]&&(u[m]=function(b){return new Promise(function(g,S){a.push([m,b,g,S])>1||c(m,b)})})}function c(m,b){try{p(s[m](b))}catch(g){h(a[0][3],g)}}function p(m){m.value instanceof ye?Promise.resolve(m.value.v).then(f,d):h(a[0][2],m)}function f(m){c("next",m)}function d(m){c("throw",m)}function h(m,b){m(b),a.shift(),a.length&&c(a[0][0],a[0][1])}},Zr=function(n){var o,i;return o={},s("next"),s("throw",function(u){throw u}),s("return"),o[Symbol.iterator]=function(){return this},o;function s(u,a){o[u]=n[u]?function(l){return(i=!i)?{value:ye(n[u](l)),done:u==="return"}:a?a(l):l}:a}},et=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 Ve=="function"?Ve(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(l){return new Promise(function(c,p){l=n[a](l),u(c,p,l.done,l.value)})}}function u(a,l,c,p){Promise.resolve(p).then(function(f){a({value:f,done:c})},l)}},rt=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};tt=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)&&qe(o,n,i);return t(o,n),o},nt=function(n){return n&&n.__esModule?n:{default:n}},ot=function(n,o){if(!o.has(n))throw new TypeError("attempted to get private field on non-instance");return o.get(n)},it=function(n,o,i){if(!o.has(n))throw new TypeError("attempted to set private field on non-instance");return o.set(n,i),i},e("__extends",Wr),e("__assign",Vr),e("__rest",qr),e("__decorate",$r),e("__param",Nr),e("__metadata",Dr),e("__awaiter",Qr),e("__generator",Kr),e("__exportStar",Jr),e("__createBinding",qe),e("__values",Ve),e("__read",yr),e("__spread",Yr),e("__spreadArrays",Gr),e("__spreadArray",Xr),e("__await",ye),e("__asyncGenerator",Br),e("__asyncDelegator",Zr),e("__asyncValues",et),e("__makeTemplateObject",rt),e("__importStar",tt),e("__importDefault",nt),e("__classPrivateFieldGet",ot),e("__classPrivateFieldSet",it)})});var Re=me(K=>{(function(){var e,r,t,n,o,i,s,u,a,l,c,p,f,d,h,m,b,g,S,R;R=150,l=20,S=150,a=.75,K.score=function(v,w,E){var _,y,x,O;return y=E.preparedQuery,_=E.allowErrors,_||o(v,y.core_lw,y.core_up)?(O=v.toLowerCase(),x=r(v,O,y),Math.ceil(x)):0},K.isMatch=o=function(v,w,E){var _,y,x,O,P,F,M;if(x=v.length,O=w.length,!x||O>x)return!1;for(_=-1,y=-1;++y<O;){for(P=w.charCodeAt(y),F=E.charCodeAt(y);++_<x&&(M=v.charCodeAt(_),!(M===P||M===F)););if(_===x)return!1}return!0},K.computeScore=r=function(v,w,E){var _,y,x,O,P,F,M,H,A,V,z,Z,q,oe,ue,ee,pe,ie,mr,be,ke,dr,hr,vr;if(ue=E.query,ee=E.query_lw,V=v.length,q=ue.length,_=c(v,w,ue,ee),y=_.score,_.count===q)return d(q,V,y,_.pos);if(oe=w.indexOf(ee),oe>-1)return h(v,w,ue,ee,oe,q,V);for(be=new Array(q),P=new Array(q),vr=g(q,V),z=Math.ceil(a*q)+5,Z=z,M=!0,A=-1;++A<q;)be[A]=0,P[A]=0;for(H=-1;++H<V;){if(dr=w[H],!dr.charCodeAt(0)in E.charCodes){if(M){for(A=-1;++A<q;)P[A]=0;M=!1}continue}for(ie=0,mr=0,O=0,pe=!0,M=!0,A=-1;++A<q;){if(ke=be[A],ke>ie&&(ie=ke),F=0,ee[A]===dr)if(hr=u(H,v,w),F=O>0?O:f(v,w,ue,ee,H,A,hr),x=mr+p(H,A,hr,y,F),x>ie)ie=x,Z=z;else{if(pe&&--Z<=0)return Math.max(ie,be[q-1])*vr;pe=!1}mr=ke,O=P[A],P[A]=F,be[A]=ie}}return ie=be[q-1],ie*vr},K.isWordStart=u=function(v,w,E){var _,y;return v===0?!0:(_=w[v],y=w[v-1],i(y)||_!==E[v]&&y===E[v-1])},K.isWordEnd=s=function(v,w,E,_){var y,x;return v===_-1?!0:(y=w[v],x=w[v+1],i(x)||y===E[v]&&x!==E[v+1])},i=function(v){return v===" "||v==="."||v==="-"||v==="_"||v==="/"||v==="\\"},b=function(v){var w;return v<l?(w=l-v,100+w*w):Math.max(100+l-v,0)},K.scoreSize=g=function(v,w){return S/(S+Math.abs(w-v))},d=function(v,w,E,_){return 2*v*(R*E+b(_))*g(v,w)},K.scorePattern=m=function(v,w,E,_,y){var x,O;return O=v,x=6,E===v&&(x+=2),_&&(x+=3),y&&(x+=1),v===w&&(_&&(E===w?O+=2:O+=1),y&&(x+=1)),E+O*(O+x)},K.scoreCharacter=p=function(v,w,E,_,y){var x;return x=b(v),E?x+R*((_>y?_:y)+10):x+R*y},K.scoreConsecutives=f=function(v,w,E,_,y,x,O){var P,F,M,H,A,V,z;for(F=v.length,H=E.length,M=F-y,A=H-x,P=M<A?M:A,V=0,z=0,E[x]===v[y]&&V++;++z<P&&_[++x]===w[++y];)E[x]===v[y]&&V++;return z<P&&y--,z===1?1+2*V:m(z,H,V,O,s(y,v,w,F))},K.scoreExactMatch=h=function(v,w,E,_,y,x,O){var P,F,M,H,A;for(A=u(y,v,w),A||(M=w.indexOf(_,y+1),M>-1&&(A=u(M,v,w),A&&(y=M))),F=-1,H=0;++F<x;)E[y+F]===v[F]&&H++;return P=s(y+x-1,v,w,O),d(x,O,m(x,x,H,A,P),y)},e=function(){function v(w,E,_){this.score=w,this.pos=E,this.count=_}return v}(),t=new e(0,.1,0),K.scoreAcronyms=c=function(v,w,E,_){var y,x,O,P,F,M,H,A,V,z,Z;if(F=v.length,M=E.length,!(F>1&&M>1))return t;for(y=0,z=0,Z=0,A=0,O=-1,P=-1;++P<M;){if(H=_[P],i(H))if(O=w.indexOf(H,O+1),O>-1){z++;continue}else break;for(;++O<F;)if(H===w[O]&&u(O,v,w)){E[P]===v[O]&&A++,Z+=O,y++;break}if(O===F)break}return y<2?t:(x=y===M?n(v,w,E,y):!1,V=m(y,M,A,!0,x),new e(V,Z/y,y+z))},n=function(v,w,E,_){var y,x,O,P;if(O=v.length,P=E.length,y=0,O>12*P)return!1;for(x=-1;++x<O;)if(u(x,v,w)&&++y>_)return!1;return!0}}).call(K)});var lr=me(je=>{(function(){var e,r,t,n,o,i,s,u,a,l;l=Re(),i=l.isMatch,e=l.computeScore,u=l.scoreSize,a=20,t=2.5,je.score=function(c,p,f){var d,h,m,b;return h=f.preparedQuery,d=f.allowErrors,d||i(c,h.core_lw,h.core_up)?(b=c.toLowerCase(),m=e(c,b,h),m=s(c,b,m,f),Math.ceil(m)):0},s=function(c,p,f,d){var h,m,b,g,S,R,v,w,E,_;if(f===0)return 0;for(E=d.preparedQuery,_=d.useExtensionBonus,w=d.pathSeparator,S=c.length-1;c[S]===w;)S--;if(b=c.lastIndexOf(w,S),v=S-b,R=1,_&&(R+=o(p,E.ext,b,S,2),f*=R),b===-1)return f;for(g=E.depth;b>-1&&g-- >0;)b=c.lastIndexOf(w,b-1);return m=b===-1?f:R*e(c.slice(b+1,S+1),p.slice(b+1,S+1),E),h=.5*a/(a+r(c,S+1,w)),h*m+(1-h)*f*u(0,t*v)},je.countDir=r=function(c,p,f){var d,h;if(p<1)return 0;for(d=0,h=-1;++h<p&&c[h]===f;);for(;++h<p;)if(c[h]===f)for(d++;++h<p&&c[h]===f;);return d},je.getExtension=n=function(c){var p;return p=c.lastIndexOf("."),p<0?"":c.substr(p+1)},o=function(c,p,f,d,h){var m,b,g,S;if(!p.length||(S=c.lastIndexOf(".",d),!(S>f)))return 0;for(g=p.length,m=d-S,m<g&&(g=m,m=p.length),S++,b=-1;++b<g&&c[S+b]===p[b];);return b===0&&h>0?.9*o(c,p,f,S-2,h-1):b/m}}).call(je)});var Rr=me((sn,un)=>{(function(){var e,r,t,n,o,i,s,u;u=lr(),t=u.countDir,o=u.getExtension,un.exports=e=function(){function a(l,c){var p,f,d;if(d=c!=null?c:{},p=d.optCharRegEx,f=d.pathSeparator,!(l&&l.length))return null;this.query=l,this.query_lw=l.toLowerCase(),this.core=r(l,p),this.core_lw=this.core.toLowerCase(),this.core_up=s(this.core),this.depth=t(l,l.length,f),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return a}(),i=/[ _\-:\/\\]/g,r=function(a,l){return l==null&&(l=i),a.replace(l,"")},s=function(a){var l,c,p,f;for(c="",p=0,f=a.length;p<f;p++)l=a[p],c+=l.toUpperCase()[0];return c},n=function(a){var l,c,p;for(p=a.length,c=-1,l=[];++c<p;)l[a.charCodeAt(c)]=!0;return l}}).call(sn)});var fn=me((cn,ln)=>{(function(){var e,r,t,n,o;n=Re(),r=lr(),e=Rr(),t=function(i){return i.candidate},o=function(i,s){return s.score-i.score},ln.exports=function(i,s,u){var a,l,c,p,f,d,h,m,b,g,S,R,v;for(m=[],c=u.key,f=u.maxResults,p=u.maxInners,S=u.usePathScoring,b=p!=null&&p>0?p:i.length+1,a=c!=null,h=S?r:n,R=0,v=i.length;R<v&&(l=i[R],g=a?l[c]:l,!(!!g&&(d=h.score(g,s,u),d>0&&(m.push({candidate:l,score:d}),!--b))));R++);return m.sort(o),i=m.map(t),f!=null&&(i=i.slice(0,f)),i}}).call(cn)});var pn=me(fr=>{(function(){var e,r,t,n,o,i,s,u,a,l;l=Re(),t=l.isMatch,n=l.isWordStart,a=l.scoreConsecutives,u=l.scoreCharacter,s=l.scoreAcronyms,fr.match=o=function(c,p,f){var d,h,m,b,g,S;return d=f.allowErrors,g=f.preparedQuery,b=f.pathSeparator,d||t(c,g.core_lw,g.core_up)?(S=c.toLowerCase(),m=r(c,S,g),m.length===0||c.indexOf(b)>-1&&(h=e(c,S,g,b),m=i(m,h)),m):[]},fr.wrap=function(c,p,f){var d,h,m,b,g,S,R,v,w;if(f.wrap!=null&&(w=f.wrap,S=w.tagClass,v=w.tagOpen,R=w.tagClose),S==null&&(S="highlight"),v==null&&(v='<strong class="'+S+'">'),R==null&&(R="</strong>"),c===p)return v+c+R;if(m=o(c,p,f),m.length===0)return c;for(b="",d=-1,g=0;++d<m.length;){for(h=m[d],h>g&&(b+=c.substring(g,h),g=h);++d<m.length;)if(m[d]===h+1)h++;else{d--;break}h++,h>g&&(b+=v,b+=c.substring(g,h),b+=R,g=h)}return g<=c.length-1&&(b+=c.substring(g)),b},e=function(c,p,f,d){var h,m,b;for(b=c.length-1;c[b]===d;)b--;if(h=c.lastIndexOf(d,b),h===-1)return[];for(m=f.depth;m-- >0;)if(h=c.lastIndexOf(d,h-1),h===-1)return[];return h++,b++,r(c.slice(h,b),p.slice(h,b),f,h)},i=function(c,p){var f,d,h,m,b,g,S;if(b=c.length,g=p.length,g===0)return c.slice();if(b===0)return p.slice();for(h=-1,m=0,d=p[m],S=[];++h<b;){for(f=c[h];d<=f&&++m<g;)d<f&&S.push(d),d=p[m];S.push(f)}for(;m<g;)S.push(p[m++]);return S},r=function(c,p,f,d){var h,m,b,g,S,R,v,w,E,_,y,x,O,P,F,M,H,A,V,z,Z,q,oe,ue,ee,pe;for(d==null&&(d=0),A=f.query,V=f.query_lw,O=c.length,M=A.length,S=s(c,p,A,V).score,q=new Array(M),E=new Array(M),b=0,g=1,m=2,h=3,pe=new Array(O*M),H=-1,x=-1;++x<M;)q[x]=0,E[x]=0;for(y=-1;++y<O;)for(z=0,oe=0,w=0,ue=p[y],x=-1;++x<M;)_=0,R=0,Z=oe,V[x]===ue&&(ee=n(y,c,p),_=w>0?w:a(c,p,A,V,y,x,ee),R=Z+u(y,x,ee,S,_)),oe=q[x],w=E[x],z>oe?F=m:(z=oe,F=g),R>z?(z=R,F=h):_=0,q[x]=z,E[x]=_,pe[++H]=z>0?F:b;for(y=O-1,x=M-1,H=y*M+x,v=!0,P=[];v&&y>=0&&x>=0;)switch(pe[H]){case g:y--,H-=M;break;case m:x--,H--;break;case h:P.push(y+d),x--,y--,H-=M+1;break;default:v=!1}return P.reverse(),P}}).call(fr)});var jr=me((mn,dn)=>{(function(){var e,r,t,n,o,i,s,u;t=fn(),n=pn(),u=Re(),i=lr(),e=Rr(),s=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",dn.exports={filter:function(a,l,c){return c==null&&(c={}),(l!=null?l.length:void 0)&&(a!=null?a.length:void 0)?(c=o(c,l),t(a,l,c)):[]},score:function(a,l,c){return c==null&&(c={}),(a!=null?a.length:void 0)&&(l!=null?l.length:void 0)?(c=o(c,l),c.usePathScoring?i.score(a,l,c):u.score(a,l,c)):0},match:function(a,l,c){var p,f,d;return c==null&&(c={}),a?l?a===l?function(){d=[];for(var h=0,m=a.length;0<=m?h<m:h>m;0<=m?h++:h--)d.push(h);return d}.apply(this):(c=o(c,l),n.match(a,l,c)):[]:[]},wrap:function(a,l,c){return c==null&&(c={}),a?l?(c=o(c,l),n.wrap(a,l,c)):[]:[]},prepareQuery:function(a,l){return l==null&&(l={}),l=o(l,a),l.preparedQuery}},o=function(a,l){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===l?s:s=new e(l,a)),a}}).call(mn)});var st=br(at()),{__extends:W,__assign:xo,__rest:wo,__decorate:So,__param:Eo,__metadata:_o,__awaiter:ut,__generator:ct,__exportStar:Oo,__createBinding:To,__values:G,__read:j,__spread:Ao,__spreadArrays:Mo,__spreadArray:k,__await:Io,__asyncGenerator:Lo,__asyncDelegator:Co,__asyncValues:lt,__makeTemplateObject:Po,__importStar:Ho,__importDefault:Fo,__classPrivateFieldGet:Ro,__classPrivateFieldSet:jo}=st.default;function T(e){return typeof e=="function"}function $e(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 Ne=$e(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 ae(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}var N=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(Array.isArray(s))try{for(var u=G(s),a=u.next();!a.done;a=u.next()){var l=a.value;l.remove(this)}}catch(m){r={error:m}}finally{try{a&&!a.done&&(t=u.return)&&t.call(u)}finally{if(r)throw r.error}}else s==null||s.remove(this);var c=this.initialTeardown;if(T(c))try{c()}catch(m){i=m instanceof Ne?m.errors:[m]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var f=G(p),d=f.next();!d.done;d=f.next()){var h=d.value;try{ft(h)}catch(m){i=i!=null?i:[],m instanceof Ne?i=k(k([],j(i)),j(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new Ne(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)ft(r);else{if(r instanceof e){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=(t=this._teardowns)!==null&&t!==void 0?t:[]).push(r)}},e.prototype._hasParent=function(r){var t=this._parentage;return t===r||Array.isArray(t)&&t.includes(r)},e.prototype._addParent=function(r){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(r),t):t?[t,r]:r},e.prototype._removeParent=function(r){var t=this._parentage;t===r?this._parentage=null:Array.isArray(t)&&ae(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&ae(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var gr=N.EMPTY;function De(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ft(e){T(e)?e():e.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ge={setTimeout:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=ge.delegate;return((t==null?void 0:t.setTimeout)||setTimeout).apply(void 0,k([],j(e)))},clearTimeout:function(e){var r=ge.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Qe(e){ge.setTimeout(function(){var r=X.onUnhandledError;if(r)r(e);else throw e})}function B(){}var pt=function(){return xr("C",void 0,void 0)}();function mt(e){return xr("E",void 0,e)}function dt(e){return xr("N",e,void 0)}function xr(e,r,t){return{kind:e,value:r,error:t}}var Ie=function(e){W(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,De(t)&&t.add(n)):n.destination=kn,n}return r.create=function(t,n,o){return new wr(t,n,o)},r.prototype.next=function(t){this.isStopped?Sr(dt(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?Sr(mt(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?Sr(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}(N);var wr=function(e){W(r,e);function r(t,n,o){var i=e.call(this)||this,s;if(T(t))s=t;else if(t){s=t.next,n=t.error,o=t.complete;var u;i&&X.useDeprecatedNextContext?(u=Object.create(t),u.unsubscribe=function(){return i.unsubscribe()}):u=t,s=s==null?void 0:s.bind(u),n=n==null?void 0:n.bind(u),o=o==null?void 0:o.bind(u)}return i.destination={next:s?Er(s,i):B,error:Er(n!=null?n:ht,i),complete:o?Er(o,i):B},i}return r}(Ie);function Er(e,r){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{e.apply(void 0,k([],j(t)))}catch(o){if(X.useDeprecatedSynchronousErrorHandling)if(r._syncErrorHack_isSubscribing)r.__syncError=o;else throw o;else Qe(o)}}}function ht(e){throw e}function Sr(e,r){var t=X.onStoppedNotification;t&&ge.setTimeout(function(){return t(e,r)})}var kn={closed:!0,next:B,error:ht,complete:B};var ce=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function D(e){return e}function vt(e){return e.length===0?D:e.length===1?e[0]:function(t){return e.reduce(function(n,o){return o(n)},t)}}var I=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=zn(r)?r:new wr(r,t,n),i=this,s=i.operator,u=i.source,a=o;if(X.useDeprecatedSynchronousErrorHandling&&(a._syncErrorHack_isSubscribing=!0),o.add(s?s.call(o,u):u||X.useDeprecatedSynchronousErrorHandling?this._subscribe(o):this._trySubscribe(o)),X.useDeprecatedSynchronousErrorHandling)for(a._syncErrorHack_isSubscribing=!1;a;){if(a.__syncError)throw a.__syncError;a=a.destination}return o},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=bt(t),new t(function(o,i){var s;s=n.subscribe(function(u){try{r(u)}catch(a){i(a),s==null||s.unsubscribe()}},i,o)})},e.prototype._subscribe=function(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)},e.prototype[ce]=function(){return this},e.prototype.pipe=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return r.length?vt(r)(this):this},e.prototype.toPromise=function(r){var t=this;return r=bt(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 bt(e){var r;return(r=e!=null?e:X.Promise)!==null&&r!==void 0?r:Promise}function Un(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function zn(e){return e&&e instanceof Ie||Un(e)&&De(e)}function Wn(e){return T(e==null?void 0:e.lift)}function L(e){return function(r){if(Wn(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 C=function(e){W(r,e);function r(t,n,o,i,s){var u=e.call(this,t)||this;return u.onFinalize=s,u._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:e.prototype._next,u._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:e.prototype._complete,u}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}(Ie);var xe={schedule:function(e){var r=requestAnimationFrame,t=cancelAnimationFrame,n=xe.delegate;n&&(r=n.requestAnimationFrame,t=n.cancelAnimationFrame);var o=r(function(i){t=void 0,e(i)});return new N(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=xe.delegate;return((t==null?void 0:t.requestAnimationFrame)||requestAnimationFrame).apply(void 0,k([],j(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=xe.delegate;return((t==null?void 0:t.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,k([],j(e)))},delegate:void 0};var yt=$e(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var se=function(e){W(r,e);function r(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.prototype.lift=function(t){var n=new gt(this,this);return n.operator=t,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new yt},r.prototype.next=function(t){var n,o;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var s=G(i),u=s.next();!u.done;u=s.next()){var a=u.value;a.next(t)}}catch(l){n={error:l}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}},r.prototype.error=function(t){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;for(var n=this.observers;n.length;)n.shift().error(t)}},r.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var t=this.observers;t.length;)t.shift().complete()}},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},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=this,i=o.hasError,s=o.isStopped,u=o.observers;return i||s?gr:(u.push(t),new N(function(){return ae(n.observers,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 I;return t.source=this,t},r.create=function(t,n){return new gt(t,n)},r}(I);var gt=function(e){W(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:gr},r}(se);var Le={now:function(){return(Le.delegate||Date).now()},delegate:void 0};var xt=function(e){W(r,e);function r(t,n,o){t===void 0&&(t=Infinity),n===void 0&&(n=Infinity),o===void 0&&(o=Le);var i=e.call(this)||this;return i.bufferSize=t,i.windowTime=n,i.timestampProvider=o,i.buffer=[],i.infiniteTimeWindow=!0,i.infiniteTimeWindow=n===Infinity,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,u=n.timestampProvider,a=n.windowTime;o||(i.push(t),!s&&i.push(u.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,u=s.slice(),a=0;a<u.length&&!t.closed;a+=i?1:2)t.next(u[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,u=(s?1:2)*n;if(n<Infinity&&u<i.length&&i.splice(0,i.length-u),!s){for(var a=o.now(),l=0,c=1;c<i.length&&i[c]<=a;c+=2)l=c;l&&i.splice(0,l+1)}},r}(se);var wt=function(e){W(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}(N);var Ce={setInterval:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=Ce.delegate;return((t==null?void 0:t.setInterval)||setInterval).apply(void 0,k([],j(e)))},clearInterval:function(e){var r=Ce.delegate;return((r==null?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0};var Ke=function(e){W(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),Ce.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;Ce.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&&s||new Error(s)}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,ae(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(wt);var _r=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=Le.now,e}();var Je=function(e){W(r,e);function r(t,n){n===void 0&&(n=_r.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}(_r);var Or=new Je(Ke),St=Or;var Et=function(e){W(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=xe.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.length===0&&(xe.cancelAnimationFrame(n),t.scheduled=void 0)},r}(Ke);var _t=function(e){W(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 n=this.actions,o,i=-1;t=t||n.shift();var s=n.length;do if(o=t.execute(t.state,t.delay))break;while(++i<s&&(t=n.shift()));if(this.active=!1,o){for(;++i<s&&(t=n.shift());)t.unsubscribe();throw o}},r}(Je);var Tr=new _t(Et);var we=new I(function(e){return e.complete()});function Se(e,r){return new I(function(t){var n=0;return r.schedule(function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())})})}var Ee=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Ye(e){return T(e==null?void 0:e.then)}function Ot(e,r){return new I(function(t){var n=new N;return n.add(r.schedule(function(){var o=e[ce]();n.add(o.subscribe({next:function(i){n.add(r.schedule(function(){return t.next(i)}))},error:function(i){n.add(r.schedule(function(){return t.error(i)}))},complete:function(){n.add(r.schedule(function(){return t.complete()}))}}))})),n})}function Tt(e,r){return new I(function(t){return r.schedule(function(){return e.then(function(n){t.add(r.schedule(function(){t.next(n),t.add(r.schedule(function(){return t.complete()}))}))},function(n){t.add(r.schedule(function(){return t.error(n)}))})})})}function Vn(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ge=Vn();function At(e,r,t,n){n===void 0&&(n=0);var o=r.schedule(function(){try{t.call(this)}catch(i){e.error(i)}},n);return e.add(o),o}function Mt(e,r){return new I(function(t){var n;return t.add(r.schedule(function(){n=e[Ge](),At(t,r,function(){var o=n.next(),i=o.value,s=o.done;s?t.complete():(t.next(i),this.schedule())})})),function(){return T(n==null?void 0:n.return)&&n.return()}})}function Xe(e){return T(e[ce])}function Be(e){return T(e==null?void 0:e[Ge])}function It(e,r){if(!e)throw new Error("Iterable cannot be null");return new I(function(t){var n=new N;return n.add(r.schedule(function(){var o=e[Symbol.asyncIterator]();n.add(r.schedule(function(){var i=this;o.next().then(function(s){s.done?t.complete():(t.next(s.value),i.schedule())})}))})),n})}function Ze(e){return Symbol.asyncIterator&&T(e==null?void 0:e[Symbol.asyncIterator])}function er(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, Array, AsyncIterable, or Iterable.")}function Lt(e,r){if(e!=null){if(Xe(e))return Ot(e,r);if(Ee(e))return Se(e,r);if(Ye(e))return Tt(e,r);if(Ze(e))return It(e,r);if(Be(e))return Mt(e,r)}throw er(e)}function de(e,r){return r?Lt(e,r):$(e)}function $(e){if(e instanceof I)return e;if(e!=null){if(Xe(e))return qn(e);if(Ee(e))return Ar(e);if(Ye(e))return $n(e);if(Ze(e))return Dn(e);if(Be(e))return Nn(e)}throw er(e)}function qn(e){return new I(function(r){var t=e[ce]();if(T(t.subscribe))return t.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ar(e){return new I(function(r){for(var t=0;t<e.length&&!r.closed;t++)r.next(e[t]);r.complete()})}function $n(e){return new I(function(r){e.then(function(t){r.closed||(r.next(t),r.complete())},function(t){return r.error(t)}).then(null,Qe)})}function Nn(e){return new I(function(r){var t,n;try{for(var o=G(e),i=o.next();!i.done;i=o.next()){var s=i.value;if(r.next(s),r.closed)return}}catch(u){t={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}r.complete()})}function Dn(e){return new I(function(r){Qn(e,r).catch(function(t){return r.error(t)})})}function Qn(e,r){var t,n,o,i;return ut(this,void 0,void 0,function(){var s,u;return ct(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),t=lt(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 u=a.sent(),o={error:u},[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 le(e,r){return r?Se(e,r):Ar(e)}function rr(e){return e&&T(e.schedule)}function Mr(e){return e[e.length-1]}function _e(e){return T(Mr(e))?e.pop():void 0}function re(e){return rr(Mr(e))?e.pop():void 0}function Ct(e,r){return typeof Mr(e)=="number"?e.pop():r}function Oe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e);return t?Se(e,t):le(e)}function Pt(e){return e instanceof Date&&!isNaN(e)}function U(e,r){return L(function(t,n){var o=0;t.subscribe(new C(n,function(i){n.next(e.call(r,i,o++))}))})}var Kn=Array.isArray;function Jn(e,r){return Kn(r)?e.apply(void 0,k([],j(r))):e(r)}function tr(e){return U(function(r){return Jn(e,r)})}function Ir(e,r){return r===void 0&&(r=0),L(function(t,n){t.subscribe(new C(n,function(o){return n.add(e.schedule(function(){return n.next(o)},r))},function(o){return n.add(e.schedule(function(){return n.error(o)},r))},function(){return n.add(e.schedule(function(){return n.complete()},r))}))})}var Yn=Array.isArray,Gn=Object.getPrototypeOf,Xn=Object.prototype,Bn=Object.keys;function Ht(e){if(e.length===1){var r=e[0];if(Yn(r))return{args:r,keys:null};if(Zn(r)){var t=Bn(r);return{args:t.map(function(n){return r[n]}),keys:t}}}return{args:e,keys:null}}function Zn(e){return e&&typeof e=="object"&&Gn(e)===Xn}function Ft(e,r){return e.reduce(function(t,n,o){return t[n]=r[o],t},{})}function nr(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e),n=_e(e),o=Ht(e),i=o.args,s=o.keys;if(i.length===0)return de([],t);var u=new I(eo(i,t,s?function(a){return Ft(s,a)}:D));return n?u.pipe(tr(n)):u}function eo(e,r,t){return t===void 0&&(t=D),function(n){Rt(r,function(){for(var o=e.length,i=new Array(o),s=o,u=o,a=function(c){Rt(r,function(){var p=de(e[c],r),f=!1;p.subscribe(new C(n,function(d){i[c]=d,f||(f=!0,u--),u||n.next(t(i.slice()))},void 0,function(){--s||n.complete()}))},n)},l=0;l<o;l++)a(l)},n)}}function Rt(e,r,t){e?t.add(e.schedule(r)):r()}function jt(e,r,t,n,o,i,s,u){var a=[],l=0,c=0,p=!1,f=function(){p&&!a.length&&!l&&r.complete()},d=function(m){return l<n?h(m):a.push(m)},h=function(m){i&&r.next(m),l++;var b=!1;$(t(m,c++)).subscribe(new C(r,function(g){o==null||o(g),i?d(g):r.next(g)},void 0,function(){b=!0},function(){if(b)try{l--;for(var g=function(){var S=a.shift();s?r.add(s.schedule(function(){return h(S)})):h(S)};a.length&&l<n;)g();f()}catch(S){r.error(S)}}))};return e.subscribe(new C(r,d,void 0,function(){p=!0,f()})),function(){u==null||u()}}function he(e,r,t){return t===void 0&&(t=Infinity),T(r)?he(function(n,o){return U(function(i,s){return r(n,i,o,s)})($(e(n,o)))},t):(typeof r=="number"&&(t=r),L(function(n,o){return jt(n,o,e,t)}))}function or(e){return e===void 0&&(e=Infinity),he(D,e)}function kt(){return or(1)}function Pe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return kt()(le(e,re(e)))}function zt(e){return new I(function(r){$(e()).subscribe(r)})}var ro=["addListener","removeListener"],to=["addEventListener","removeEventListener"],no=["on","off"];function Q(e,r,t,n){if(T(t)&&(n=t,t=void 0),n)return Q(e,r,t).pipe(tr(n));var o=j(ao(e)?to.map(function(u){return function(a){return e[u](r,a,t)}}):oo(e)?ro.map(Ut(e,r)):io(e)?no.map(Ut(e,r)):[],2),i=o[0],s=o[1];if(!i&&Ee(e))return he(function(u){return Q(u,r,t)})(le(e));if(!i)throw new TypeError("Invalid event target");return new I(function(u){var a=function(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return u.next(1<l.length?l:l[0])};return i(a),function(){return s(a)}})}function Ut(e,r){return function(t){return function(n){return e[t](r,n)}}}function oo(e){return T(e.addListener)&&T(e.removeListener)}function io(e){return T(e.on)&&T(e.off)}function ao(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Wt(e,r,t){e===void 0&&(e=0),t===void 0&&(t=St);var n=-1;return r!=null&&(rr(r)?t=r:n=r),new I(function(o){var i=Pt(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)})}var so=Array.isArray;function ir(e){return e.length===1&&so(e[0])?e[0]:e}function J(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e),n=Ct(e,Infinity),o=ir(e);return o.length?o.length===1?$(o[0]):or(n)(le(o,t)):we}var Vt=new I(B);function ve(e,r){return L(function(t,n){var o=0;t.subscribe(new C(n,function(i){return e.call(r,i,o++)&&n.next(i)}))})}function qt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=_e(e),n=ir(e);return n.length?new I(function(o){var i=n.map(function(){return[]}),s=n.map(function(){return!1});o.add(function(){i=s=null});for(var u=function(l){$(n[l]).subscribe(new C(o,function(c){if(i[l].push(c),i.every(function(f){return f.length})){var p=i.map(function(f){return f.shift()});o.next(t?t.apply(void 0,k([],j(p))):p),i.some(function(f,d){return!f.length&&s[d]})&&o.complete()}},void 0,function(){s[l]=!0,!i[l].length&&o.complete()}))},a=0;!o.closed&&a<n.length;a++)u(a);return function(){i=s=null}}):we}function $t(e,r){return r===void 0&&(r=null),r=r!=null?r:e,L(function(t,n){var o=[],i=0;t.subscribe(new C(n,function(s){var u,a,l,c,p=null;i++%r==0&&o.push([]);try{for(var f=G(o),d=f.next();!d.done;d=f.next()){var h=d.value;h.push(s),e<=h.length&&(p=p!=null?p:[],p.push(h))}}catch(g){u={error:g}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(u)throw u.error}}if(p)try{for(var m=G(p),b=m.next();!b.done;b=m.next()){var h=b.value;ae(o,h),n.next(h)}}catch(g){l={error:g}}finally{try{b&&!b.done&&(c=m.return)&&c.call(m)}finally{if(l)throw l.error}}},void 0,function(){var s,u;try{for(var a=G(o),l=a.next();!l.done;l=a.next()){var c=l.value;n.next(c)}}catch(p){s={error:p}}finally{try{l&&!l.done&&(u=a.return)&&u.call(a)}finally{if(s)throw s.error}}n.complete()},function(){o=null}))})}function Lr(e){return e<=0?function(){return we}:L(function(r,t){var n=0;r.subscribe(new C(t,function(o){++n<=e&&(t.next(o),e<=n&&t.complete())}))})}function Nt(){return L(function(e,r){e.subscribe(new C(r,B))})}function Dt(e){return L(function(r,t){r.subscribe(new C(t,function(){return t.next(e)}))})}function Cr(e,r){return r?function(t){return Pe(r.pipe(Lr(1),Nt()),t.pipe(Cr(e)))}:he(function(t,n){return e(t,n).pipe(Lr(1),Dt(t))})}function Qt(e,r){r===void 0&&(r=Or);var t=Wt(e,r);return Cr(function(){return t})}function Te(e,r){return r===void 0&&(r=D),e=e!=null?e:uo,L(function(t,n){var o,i=!0;t.subscribe(new C(n,function(s){var u=r(s);(i||!e(o,u))&&(i=!1,o=u,n.next(s))}))})}function uo(e,r){return e===r}function Kt(e,r){return Te(function(t,n){return r?r(t[e],n[e]):t[e]===n[e]})}function ar(e){return L(function(r,t){r.subscribe(t),t.add(e)})}function Jt(e){e=e||{};var r=e.connector,t=r===void 0?function(){return new se}:r,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,s=i===void 0?!0:i,u=e.resetOnRefCountZero,a=u===void 0?!0:u,l=null,c=null,p=0,f=!1,d=!1,h=function(){l=c=null,f=d=!1};return L(function(m,b){return p++,c=c!=null?c:t(),c.subscribe(b),l||(l=de(m).subscribe({next:function(g){return c.next(g)},error:function(g){d=!0;var S=c;s&&h(),S.error(g)},complete:function(){f=!0;var g=c;o&&h(),g.complete()}})),function(){if(p--,a&&!p&&!d&&!f){var g=l;h(),g==null||g.unsubscribe()}}})}function sr(e,r,t){var n,o,i,s=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,r=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,s=!!e.refCount,t=e.scheduler):i=e!=null?e:Infinity,Jt({connector:function(){return new xt(i,r,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Ae(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=re(e);return L(function(n,o){(t?Pe(e,n,t):Pe(e,n)).subscribe(o)})}function te(e,r){return L(function(t,n){var o=null,i=0,s=!1,u=function(){return s&&!o&&n.complete()};t.subscribe(new C(n,function(a){o==null||o.unsubscribe();var l=0,c=i++;$(e(a,c)).subscribe(o=new C(n,function(p){return n.next(r?r(a,p,c,l++):p)},void 0,function(){o=null,u()}))},void 0,function(){s=!0,u()}))})}function ur(e,r,t){var n=T(e)||r||t?{next:e,error:r,complete:t}:e;return n?L(function(o,i){o.subscribe(new C(i,function(s){var u;(u=n.next)===null||u===void 0||u.call(n,s),i.next(s)},function(s){var u;(u=n.error)===null||u===void 0||u.call(n,s),i.error(s)},function(){var s;(s=n.complete)===null||s===void 0||s.call(n),i.complete()}))}):D}function He(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=_e(e);return L(function(n,o){for(var i=e.length,s=new Array(i),u=e.map(function(){return!1}),a=!1,l=function(p){$(e[p]).subscribe(new C(o,function(f){s[p]=f,!a&&!u[p]&&(u[p]=!0,(a=u.every(D))&&(u=null))},void 0,B))},c=0;c<i;c++)l(c);n.subscribe(new C(o,function(p){if(a){var f=k([p],j(s));o.next(t?t.apply(void 0,k([],j(f))):f)}}))})}function Yt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return L(function(t,n){qt.apply(void 0,k([t],j(e))).subscribe(n)})}function Gt(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return Yt.apply(void 0,k([],j(e)))}function Xt(e,r=document){return r.querySelector(e)||void 0}function Y(e,r=document){let t=Xt(e,r);if(typeof t=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return t}function Pr(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function Bt(e,r=document){return Array.from(r.querySelectorAll(e))}function Zt(e){return J(Q(e,"focus"),Q(e,"blur")).pipe(U(({type:r})=>r==="focus"),Ae(e===Pr()))}var co=new se,Al=zt(()=>Oe(new ResizeObserver(e=>{for(let r of e)co.next(r)}))).pipe(te(e=>Vt.pipe(Ae(e)).pipe(ar(()=>e.disconnect()))),sr(1));function en(e){return{width:e.offsetWidth,height:e.offsetHeight}}function rn(e){return{width:e.scrollWidth,height:e.scrollHeight}}function tn(e){return{x:e.scrollLeft,y:e.scrollTop}}function lo(e){return J(Q(e,"scroll"),Q(window,"resize")).pipe(U(()=>tn(e)),Ae(tn(e)))}function nn(e,r=16){return lo(e).pipe(U(({y:t})=>{let n=en(e),o=rn(e);return t>=o.height-n.height-r}),Te())}var ql={drawer:Y("[data-md-toggle=drawer]"),search:Y("[data-md-toggle=search]")};function on(){return new URL(location.href)}function fo(e,r={credentials:"same-origin"}){return de(fetch(e.toString(),r)).pipe(ve(t=>t.status===200))}function cr(e,r){return fo(e,r).pipe(te(t=>t.json()),sr(1))}function Me(e,r=document){return Y(`[data-mdx-component=${e}]`,r)}function Hr(e,r=document){return Bt(`[data-mdx-component=${e}]`,r)}var po=Y("#__config"),Fe=JSON.parse(po.textContent);Fe.base=new URL(Fe.base,on()).toString().replace(/\/$/,"");function Fr(){return Fe}function fe(e,r){return typeof r!="undefined"?Fe.translations[e].replace("#",r.toString()):Fe.translations[e]}function an(e){let r=Zt(e),t=J(Q(e,"keyup"),Q(e,"focus").pipe(Qt(1))).pipe(U(()=>e.value),Te());return r.pipe(ve(n=>!n),He(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),nr([t,r]).pipe(U(([n,o])=>({ref:e,value:n,focus:o})))}var On=br(jr());function hn(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)hn(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)hn(n,o);return n}function vn(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function bn(e,r){switch(r){case 0:e.textContent=fe("search.result.none");break;case 1:e.textContent=fe("search.result.one");break;default:e.textContent=fe("search.result.other",vn(r))}}function yn(e){e.textContent=fe("search.result.placeholder")}function gn(e,r){e.appendChild(r)}function xn(e){e.innerHTML=""}var wn=br(jr());function mo(e,r){return(0,wn.wrap)(e.shortcode,r,{wrap:{tagOpen:"<b>",tagClose:"</b>"}})}function Sn(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:fe("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},ne("code",null,`:${mo(e,r)}:`)))}function En(e){let r=`@${e.name}`;return ne("a",{href:e.url,title:r,class:"mdx-sponsorship__item"},ne("img",{src:e.image}))}function _n(e){return ne("a",{href:"https://github.com/sponsors/squidfunk",class:"mdx-sponsorship__item mdx-sponsorship__item--private"},"+",e)}function ho(e,{index$:r,query$:t}){return nr([t.pipe(Kt("value")),r.pipe(U(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(U(([{value:n},o])=>(0,On.filter)(o,n)),te(n=>r.pipe(U(({icons:o,emojis:i})=>({data:n.map(s=>{let u=s in o.data?o:i;return{shortcode:s,url:[u.base,u.data[s]].join("")}})})))))}function Tn(e,{index$:r,query$:t}){let n=new se,o=nn(e).pipe(ve(Boolean)),i=Y(":scope > :first-child",e);n.pipe(Ir(Tr),He(t)).subscribe(([{data:u},{value:a}])=>{a?bn(i,u.length):yn(i)});let s=Y(":scope > :last-child",e);return n.pipe(Ir(Tr),ur(()=>xn(s)),te(({data:u})=>J(Oe(...u.slice(0,10)),Oe(...u.slice(10)).pipe($t(10),Gt(o),te(([a])=>Oe(...a))))),He(t)).subscribe(([u,{value:a}])=>{gn(s,Sn(u,a))}),ho(e,{query$:t,index$:r}).pipe(ur(n),ar(()=>n.complete()),U(u=>Ue({ref:e},u)))}function An(e){let r=Fr(),t=cr(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),n=Me("iconsearch-query",e),o=Me("iconsearch-result",e),i=an(n);return J(i,Tn(o,{index$:t,query$:i}))}var pr;(function(e){e.PUBLIC="PUBLIC",e.PRIVATE="PRIVATE"})(pr||(pr={}));function Mn(e){let r=cr("https://gpiqp43wvb.execute-api.us-east-1.amazonaws.com/_/"),t=Me("sponsorship-count"),n=Me("sponsorship-total");return r.subscribe(o=>{e.removeAttribute("hidden");let i=Y(":scope > :first-child",e);for(let s of o.sponsors)s.type===pr.PUBLIC&&i.appendChild(En(s));i.appendChild(_n(o.sponsors.filter(({type:s})=>s===pr.PRIVATE).length)),t.innerText=`${o.sponsors.length}`,n.innerText=`$ ${o.total.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}`}),r.pipe(U(o=>Ue({ref:e},o)))}function In(){Q(document.body,"click").subscribe(e=>{if(e.target instanceof HTMLElement){let r=e.target.closest("a[href^=http]");r instanceof HTMLLinkElement&&ga("send","event","outbound","click",r.href)}})}In();var vo=document$.pipe(te(()=>J(...Hr("iconsearch").map(e=>An(e)),...Hr("sponsorship").map(e=>Mn(e)))));vo.subscribe();})();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
//# sourceMappingURL=bundle.afdf7228.min.js.map