mkdocs-material/material/.overrides/assets/javascripts/custom.83b17dfb.min.js

19 lines
60 KiB
JavaScript

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