mkdocs-material/material/overrides/assets/javascripts/bundle.js

19 lines
43 KiB
JavaScript
Raw Normal View History

2021-02-21 13:59:38 +03:00
(()=>{var Kt=Object.create,sr=Object.defineProperty,Yt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty,Xt=Object.getOwnPropertyNames,Gt=Object.getOwnPropertyDescriptor;var Zt=e=>sr(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var Bt=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Xt(r))!Jt.call(e,n)&&n!=="default"&&sr(e,n,{get:()=>r[n],enumerable:!(t=Gt(r,n))||t.enumerable});return e},_r=e=>e&&e.__esModule?e:Bt(Zt(sr(e!=null?Kt(Yt(e)):{},"default",{value:e,enumerable:!0})),e);var He=be(D=>{(function(){var e,r,t,n,o,i,a,l,c,s,u,f,h,v,m,p,b,S,w,H;H=150,s=20,w=150,c=.75,D.score=function(d,g,E){var O,y,x,A;return y=E.preparedQuery,O=E.allowErrors,O||o(d,y.core_lw,y.core_up)?(A=d.toLowerCase(),x=r(d,A,y),Math.ceil(x)):0},D.isMatch=o=function(d,g,E){var O,y,x,A,P,R,M;if(x=d.length,A=g.length,!x||A>x)return!1;for(O=-1,y=-1;++y<A;){for(P=g.charCodeAt(y),R=E.charCodeAt(y);++O<x&&(M=d.charCodeAt(O),!(M===P||M===R)););if(O===x)return!1}return!0},D.computeScore=r=function(d,g,E){var O,y,x,A,P,R,M,F,_,z,j,X,q,te,ae,G,fe,ne,nr,ve,Re,or,ir,ar;if(ae=E.query,G=E.query_lw,z=d.length,q=ae.length,O=u(d,g,ae,G),y=O.score,O.count===q)return v(q,z,y,O.pos);if(te=g.indexOf(G),te>-1)return m(d,g,ae,G,te,q,z);for(ve=new Array(q),P=new Array(q),ar=S(q,z),j=Math.ceil(c*q)+5,X=j,M=!0,_=-1;++_<q;)ve[_]=0,P[_]=0;for(F=-1;++F<z;){if(or=g[F],!or.charCodeAt(0)in E.charCodes){if(M){for(_=-1;++_<q;)P[_]=0;M=!1}continue}for(ne=0,nr=0,A=0,fe=!0,M=!0,_=-1;++_<q;){if(Re=ve[_],Re>ne&&(ne=Re),R=0,G[_]===or)if(ir=l(F,d,g),R=A>0?A:h(d,g,ae,G,F,_,ir),x=nr+f(F,_,ir,y,R),x>ne)ne=x,X=j;else{if(fe&&--X<=0)return Math.max(ne,ve[q-1])*ar;fe=!1}nr=Re,A=P[_],P[_]=R,ve[_]=ne}}return ne=ve[q-1],ne*ar},D.isWordStart=l=function(d,g,E){var O,y;return d===0?!0:(O=g[d],y=g[d-1],i(y)||O!==E[d]&&y===E[d-1])},D.isWordEnd=a=function(d,g,E,O){var y,x;return d===O-1?!0:(y=g[d],x=g[d+1],i(x)||y===E[d]&&x!==E[d+1])},i=function(d){return d===" "||d==="."||d==="-"||d==="_"||d==="/"||d==="\\"},b=function(d){var g;return d<s?(g=s-d,100+g*g):Math.max(100+s-d,0)},D.scoreSize=S=function(d,g){return w/(w+Math.abs(g-d))},v=function(d,g,E,O){return 2*d*(H*E+b(O))*S(d,g)},D.scorePattern=p=function(d,g,E,O,y){var x,A;return A=d,x=6,E===d&&(x+=2),O&&(x+=3),y&&(x+=1),d===g&&(O&&(E===g?A+=2:A+=1),y&&(x+=1)),E+A*(A+x)},D.scoreCharacter=f=function(d,g,E,O,y){var x;return x=b(d),E?x+H*((O>y?O:y)+10):x+H*y},D.scoreConsecutives=h=function(d,g,E,O,y,x,A){var P,R,M,F,_,z,j;for(R=d.length,F=E.length,M=R-y,_=F-x,P=M<_?M:_,z=0,j=0,E[x]===d[y]&&z++;++j<P&&O[++x]===g[++y];)E[x]===d[y]&&z++;return j<P&&y--,j===1?1+2*z:p(j,F,z,A,a(y,d,g,R))},D.scoreExactMatch=m=function(d,g,E,O,y,x,A){var P,R,M,F,_;for(_=l(y,d,g),_||(M=g.indexOf(O,y+1),M>-1&&(_=l(M,d,g),_&&(y=M))),R=-1,F=0;++R<x;)E[y+R]===d[R]&&F++;return P=a(y+x-1,d,g,A),v(x,A,p(x,x,F,_,P),y)},e=function(){function d(g,E,O){this.score=g,this.pos=E,this.count=O}return d}(),t=new e(0,.1,0),D.scoreAcronyms=u=function(d,g,E,O){var y,x,A,P,R,M,F,_,z,j,X;if(R=d.length,M=E.length,!(R>1&&M>1))return t;for(y=0,j=0,X=0,_=0,A=-1,P=-1;++P<M;){if(F=O[P],i(F))if(A=g.indexOf(F,A+1),A>-1){j++;continue}else break;for(;++A<R;)if(F===g[A]&&l(A,d,g)){E[P]===d[A]&&_++,X+=A,y++;break}if(A===R)break}return y<2?t:(x=y===M?n(d,g,E,y):!1,z=p(y,M,_,!0,x),new e(z,X/y,y+j))},n=function(d,g,E,O){var y,x,A,P;if(A=d.length,P=E.length,y=0,A>12*P)return!1;for(x=-1;++x<A;)if(l(x,d,g)&&++y>O)return!1;return!0}}).call(D)});var rr=be(Fe=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=He(),i=s.isMatch,e=s.computeScore,l=s.scoreSize,c=20,t=2.5,Fe.score=function(u,f,h){var v,m,p,b;return m=h.preparedQuery,v=h.allowErrors,v||i(u,m.core_lw,m.core_up)?(b=u.toLowerCase(),p=e(u,b,m),p=a(u,b,p,h),Math.ceil(p)):0},a=function(u,f,h,v){var m,p,b,S,w,H,d,g,E,O;if(h===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,g=v.pathSeparator,w=u.length-1;u[w]===g;)w--;if(b=u.lastIndexOf(g,w),d=w-b,H=1,O&&(H+=o(f,E.ext,b,w,2),h*=H),b===-1)return h;for(S=E.depth;b>-1&&S-- >0;)b=u.lastIndexOf(g,b-1);return p=b===-1?h:H*e(u.slice(b+1,w+1),f.slice(b+1,w
`+t.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=t}});function oe(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=Y(a),c=l.next();!c.done;c=l.next()){var s=c.value;s.remove(this)}}catch(p){r={error:p}}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(p){i=p instanceof je?p.errors:[p]}var f=this._teardowns;if(f){this._teardowns=null;try{for(var h=Y(f),v=h.next();!v.done;v=h.next()){var m=v.value;try{Cr(m)}catch(p){i=i??[],p instanceof je?i=W(i,p.errors):i.push(p)}}}catch(p){n={error:p}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}}if(i)throw new je(i)}},e.prototype.add=function(r){var t;if(r&&r!==this)if(this.closed)Cr(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)&&oe(t,r)},e.prototype.remove=function(r){var t=this._teardowns;t&&oe(t,r),r instanceof e&&r._removeParent(this)},e.EMPTY=function(){var r=new e;return r.closed=!0,r}(),e}();var lr=N.EMPTY;function ze(e){return e instanceof N||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Cr(e){T(e)?e():e.unsubscribe()}var Z={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(e))},clearTimeout:function(e){var r=ye.delegate;return((r==null?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function We(e){ye.setTimeout(function(){var r=Z.onUnhandledError;if(r)r(e);else throw e})}function J(){}var Pr=function(){return fr("C",void 0,void 0)}();function Hr(e){return fr("E",void 0,e)}function Fr(e){return fr("N",e,void 0)}function fr(e,r,t){return{kind:e,value:r,error:t}}var pe=function(e){k(r,e);function r(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ze(t)&&t.add(n)):n.destination=dr,n}return r.create=function(t,n,o){return new pr(t,n,o)},r.prototype.next=function(t){this.isStopped?mr(Fr(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?mr(Hr(t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?mr(Pr,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 pr=function(e){k(r,e);function r(t,n,o){var i=e.call(this)||this;if(i.destination=dr,(t||n||o)&&t!==dr){var a=void 0;if(T(t))a=t;else if(t){a=t.next,n=t.error,o=t.complete;var l;i&&Z.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)}i.destination={next:a||J,error:n||Rr,complete:o||J}}return i}return r}(pe);function Rr(e){if(Z.useDeprecatedSynchronousErrorHandling)throw e;We(e)}function mr(e,r){var t=Z.onStoppedNotification;t&&ye.setTimeout(function(){return t(e,r)})}var dr={closed:!0,next:J,error:Rr,complete:J};var se=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Q(e){return e}fun
/*! *****************************************************************************
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.js.map