mkdocs-material/material/overrides/assets/javascripts/bundle.55e80bbe.min.js

20 lines
44 KiB
JavaScript
Raw Normal View History

(()=>{var Zt=Object.create,pr=Object.defineProperty,en=Object.getPrototypeOf,rn=Object.prototype.hasOwnProperty,tn=Object.getOwnPropertyNames,nn=Object.getOwnPropertyDescriptor;var ze=Object.assign,on=e=>pr(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var an=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of tn(r))!rn.call(e,n)&&n!=="default"&&pr(e,n,{get:()=>r[n],enumerable:!(t=nn(r,n))||t.enumerable});return e},Pr=e=>e&&e.__esModule?e:an(on(pr(e!=null?Zt(en(e)):{},"default",{value:e,enumerable:!0})),e);var Re=be(K=>{(function(){var e,r,t,n,o,i,a,l,c,s,u,f,d,v,h,m,b,w,S,R;R=150,s=20,S=150,c=.75,K.score=function(p,g,E){var O,y,x,A;return y=E.preparedQuery,O=E.allowErrors,O||o(p,y.core_lw,y.core_up)?(A=p.toLowerCase(),x=r(p,A,y),Math.ceil(x)):0},K.isMatch=o=function(p,g,E){var O,y,x,A,P,F,M;if(x=p.length,A=g.length,!x||A>x)return!1;for(O=-1,y=-1;++y<A;){for(P=g.charCodeAt(y),F=E.charCodeAt(y);++O<x&&(M=p.charCodeAt(O),!(M===P||M===F)););if(O===x)return!1}return!0},K.computeScore=r=function(p,g,E){var O,y,x,A,P,F,M,H,_,q,k,Z,V,oe,ue,ee,pe,ie,ur,ve,ke,cr,lr,fr;if(ue=E.query,ee=E.query_lw,q=p.length,V=ue.length,O=u(p,g,ue,ee),y=O.score,O.count===V)return v(V,q,y,O.pos);if(oe=g.indexOf(ee),oe>-1)return h(p,g,ue,ee,oe,V,q);for(ve=new Array(V),P=new Array(V),fr=w(V,q),k=Math.ceil(c*V)+5,Z=k,M=!0,_=-1;++_<V;)ve[_]=0,P[_]=0;for(H=-1;++H<q;){if(cr=g[H],!cr.charCodeAt(0)in E.charCodes){if(M){for(_=-1;++_<V;)P[_]=0;M=!1}continue}for(ie=0,ur=0,A=0,pe=!0,M=!0,_=-1;++_<V;){if(ke=ve[_],ke>ie&&(ie=ke),F=0,ee[_]===cr)if(lr=l(H,p,g),F=A>0?A:d(p,g,ue,ee,H,_,lr),x=ur+f(H,_,lr,y,F),x>ie)ie=x,Z=k;else{if(pe&&--Z<=0)return Math.max(ie,ve[V-1])*fr;pe=!1}ur=ke,A=P[_],P[_]=F,ve[_]=ie}}return ie=ve[V-1],ie*fr},K.isWordStart=l=function(p,g,E){var O,y;return p===0?!0:(O=g[p],y=g[p-1],i(y)||O!==E[p]&&y===E[p-1])},K.isWordEnd=a=function(p,g,E,O){var y,x;return p===O-1?!0:(y=g[p],x=g[p+1],i(x)||y===E[p]&&x!==E[p+1])},i=function(p){return p===" "||p==="."||p==="-"||p==="_"||p==="/"||p==="\\"},b=function(p){var g;return p<s?(g=s-p,100+g*g):Math.max(100+s-p,0)},K.scoreSize=w=function(p,g){return S/(S+Math.abs(g-p))},v=function(p,g,E,O){return 2*p*(R*E+b(O))*w(p,g)},K.scorePattern=m=function(p,g,E,O,y){var x,A;return A=p,x=6,E===p&&(x+=2),O&&(x+=3),y&&(x+=1),p===g&&(O&&(E===g?A+=2:A+=1),y&&(x+=1)),E+A*(A+x)},K.scoreCharacter=f=function(p,g,E,O,y){var x;return x=b(p),E?x+R*((O>y?O:y)+10):x+R*y},K.scoreConsecutives=d=function(p,g,E,O,y,x,A){var P,F,M,H,_,q,k;for(F=p.length,H=E.length,M=F-y,_=H-x,P=M<_?M:_,q=0,k=0,E[x]===p[y]&&q++;++k<P&&O[++x]===g[++y];)E[x]===p[y]&&q++;return k<P&&y--,k===1?1+2*q:m(k,H,q,A,a(y,p,g,F))},K.scoreExactMatch=h=function(p,g,E,O,y,x,A){var P,F,M,H,_;for(_=l(y,p,g),_||(M=g.indexOf(O,y+1),M>-1&&(_=l(M,p,g),_&&(y=M))),F=-1,H=0;++F<x;)E[y+F]===p[F]&&H++;return P=a(y+x-1,p,g,A),v(x,A,m(x,x,H,_,P),y)},e=function(){function p(g,E,O){this.score=g,this.pos=E,this.count=O}return p}(),t=new e(0,.1,0),K.scoreAcronyms=u=function(p,g,E,O){var y,x,A,P,F,M,H,_,q,k,Z;if(F=p.length,M=E.length,!(F>1&&M>1))return t;for(y=0,k=0,Z=0,_=0,A=-1,P=-1;++P<M;){if(H=O[P],i(H))if(A=g.indexOf(H,A+1),A>-1){k++;continue}else break;for(;++A<F;)if(H===g[A]&&l(A,p,g)){E[P]===p[A]&&_++,Z+=A,y++;break}if(A===F)break}return y<2?t:(x=y===M?n(p,g,E,y):!1,q=m(y,M,_,!0,x),new e(q,Z/y,y+k))},n=function(p,g,E,O){var y,x,A,P;if(A=p.length,P=E.length,y=0,A>12*P)return!1;for(x=-1;++x<A;)if(l(x,p,g)&&++y>O)return!1;return!0}}).call(K)});var ir=be(je=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=Re(),i=s.isMatch,e=s.computeScore,l=s.scoreSize,c=20,t=2.5,je.score=function(u,f,d){var v,h,m,b;return h=d.preparedQuery,v=d.allowErrors,v||i(u,h.core_lw,h.core_up)?(b=u.toLowerCase(),m=e(u,b,h),m=a(u,b,m,d),Math.ceil(m)):0},a=function(u,f,d,v){var h,m,b,w,S,R,p,g,E,O;if(d===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,g=v.pathSeparator,S=u.length-1;u[S]===g;)S--;if(b=u.lastIndexOf(g,S),p=S-b,R=1,O&&(R+=o(f,E.ext,b,S,2),d*=R),b===-1)return d;for(w=E.depth;b>-1&&w-- >0;)b=u.lastIndexOf(g,b-1);return m=b===-1?d:R*e(u.slic
`+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 a=this._parentage;if(Array.isArray(a))try{for(var l=X(a),c=l.next();!c.done;c=l.next()){var s=c.value;s.remove(this)}}catch(m){r={error:m}}finally{try{c&&!c.done&&(t=l.return)&&t.call(l)}finally{if(r)throw r.error}}else a==null||a.remove(this);var u=this.initialTeardown;if(T(u))try{u()}catch(m){i=m instanceof We?m.errors:[m]}var f=this._teardowns;if(f){this._teardowns=null;try{for(var d=X(f),v=d.next();!v.done;v=d.next()){var h=v.value;try{jr(h)}catch(m){i=i!=null?i:[],m instanceof We?i=W(W([],j(i)),j(m.errors)):i.push(m)}}}catch(m){n={error:m}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}}if(i)throw new We(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)jr(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 dr=N.EMPTY;function qe(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function jr(e){T(e)?e():e.unsubscribe()}var G={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ye={setTimeout:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var t=ye.delegate;return((t==null?void 0:t.setTimeout)||setTimeout).apply(void 0,W([],j(e)))},clearTimeout:function(e){var r=ye.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ve(e){ye.setTimeout(function(){var r=G.onUnhandledError;if(r)r(e);else throw e})}function B(){}var kr=function(){return hr("C",void 0,void 0)}();function zr(e){return hr("E",void 0,e)}function Ur(e){return hr("N",e,void 0)}function hr(e,r,t){return{kind:e,value:r,error:t}}var Ie=function(e){U(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,qe(t)&&t.add(n)):n.destination=sn,n}return r.create=function(t,n,o){return new vr(t,n,o)},r.prototype.next=function(t){this.isStopped?br(Ur(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?br(zr(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?br(kr,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},r.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},r}(N);var vr=function(e){U(r,e);function r(t,n,o){var i=e.call(this)||this,a;if(T(t))a=t;else if(t){a=t.next,n=t.error,o=t.complete;var l;i&&G.useDeprecatedNextContext?(l=Object.create(t),l.unsubscribe=function(){return i.unsubscribe()}):l=t,a=a==null?void 0:a.bind(l),n=n==null?void 0:n.bind(l),o=o==null?void 0:o.bind(l)}return i.destination={next:a?yr(a,i):B,error:yr(n||Wr,i),complete:o?yr(o,i):B},i}return r}(Ie);function yr(e,r){return G.useDeprecatedSynchronousErrorHandling?function(t){try{e(t)}catch(n){r.__syncError=n}}:e}function Wr(e){if(G.useDeprecatedSynchronousErrorHandling)throw e;Ve(e)}function br(e,r){var t=G.onStoppedNotification;t&&ye.setTimeout(function(){return t(e,r)})}var sn={closed:!0,next:B,error:Wr,complete:B};var ce
/*! *****************************************************************************
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.55e80bbe.min.js.map