1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-16 17:35:59 +01:00
mkdocs-material/material/assets/javascripts/extra/bundle.cfb3feee.min.js

19 lines
29 KiB
JavaScript
Raw Normal View History

2022-12-12 10:42:43 +01:00
"use strict";(()=>{/*! *****************************************************************************
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 _r=function(r,t){return _r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])},_r(r,t)};function y(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_r(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function Yr(r,t,e,o){function n(i){return i instanceof e?i:new e(function(f){f(i)})}return new(e||(e=Promise))(function(i,f){function u(p){try{c(o.next(p))}catch(h){f(h)}}function a(p){try{c(o.throw(p))}catch(h){f(h)}}function c(p){p.done?i(p.value):n(p.value).then(u,a)}c((o=o.apply(r,t||[])).next())})}function X(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(c){return function(p){return a([c,p])}}function a(c){if(o)throw new TypeError("Generator is already executing.");for(;e;)try{if(o=1,n&&(i=c[0]&2?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,n=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){e.label=c[1];break}if(c[0]===6&&e.label<i[1]){e.label=i[1],i=c;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(c);break}i[2]&&e.ops.pop(),e.trys.pop();continue}c=t.call(r,e)}catch(p){c=[6,p],n=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function P(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],o=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var o=e.call(r),n,i=[],f;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(u){f={error:u}}finally{try{n&&!n.done&&(e=o.return)&&e.call(o)}finally{if(f)throw f.error}}return i}function S(r,t,e){if(e||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return r.concat(i||Array.prototype.slice.call(t))}function j(r){return this instanceof j?(this.v=r,this):new j(r)}function zr(r,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=e.apply(r,t||[]),n,i=[];return n={},f("next"),f("throw"),f("return"),n[Symbol.asyncIterator]=function(){return this},n;function f(m){o[m]&&(n[m]=function(w){return new Promise(function(T,b){i.push([m,w,T,b])>1||u(m,w)})})}function u(m,w){try{a(o[m](w))}catch(T){h(i[0][3],T)}}function a(m){m.value instanceof j?Promise.resolve(m.value.v).then(c,p):h(i[0][2],m)}function c(m){u("next",m)}function p(m){u("throw",m)}function h(m,w){m(w),i.shift(),i.length&&u(i[0][0],i[0][1])}}function qr(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r[Symbol.asyncIterator],e;return t?t.call(r):(r=typeof P=="function"?P(r):r[Symbol.iterator](),e={},o("next"),o("throw"),o("return"),e[Symbol.asyncIterator]=function(){return this},e);function o(i){e[i]=r[i]&&function(f){return new Promise(function(u,a){f=r[i](f),n(u,a,f.done,f.value)})}}function n(i,f,u,a){Promise.resolve(a).then(function(c){i({value:c,done:u})},f)}}function s(r){return typeof r=="function"}function Z(r){var t=function(o){Error.call(o),o.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var rr=Z(function(r){return function(e){r(this),this.message=e?e.length+` errors occurre
`+e.map(function(o,n){return n+1+") "+o.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=e}});function C(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var F=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,o,n,i;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var u=P(f),a=u.next();!a.done;a=u.next()){var c=a.value;c.remove(this)}}catch(b){t={error:b}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else f.remove(this);var p=this.initialTeardown;if(s(p))try{p()}catch(b){i=b instanceof rr?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=P(h),w=m.next();!w.done;w=m.next()){var T=w.value;try{Br(T)}catch(b){i=i!=null?i:[],b instanceof rr?i=S(S([],_(i)),_(b.errors)):i.push(b)}}}catch(b){o={error:b}}finally{try{w&&!w.done&&(n=m.return)&&n.call(m)}finally{if(o)throw o.error}}}if(i)throw new rr(i)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Br(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&C(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&C(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}();var wr=F.EMPTY;function er(r){return r instanceof F||r&&"closed"in r&&s(r.remove)&&s(r.add)&&s(r.unsubscribe)}function Br(r){s(r)?r():r.unsubscribe()}var E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var M={setTimeout:function(r,t){for(var e=[],o=2;o<arguments.length;o++)e[o-2]=arguments[o];var n=M.delegate;return n!=null&&n.setTimeout?n.setTimeout.apply(n,S([r,t],_(e))):setTimeout.apply(void 0,S([r,t],_(e)))},clearTimeout:function(r){var t=M.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(r)},delegate:void 0};function tr(r){M.setTimeout(function(){var t=E.onUnhandledError;if(t)t(r);else throw r})}function O(){}var Gr=function(){return Sr("C",void 0,void 0)}();function Hr(r){return Sr("E",void 0,r)}function Kr(r){return Sr("N",r,void 0)}function Sr(r,t,e){return{kind:r,value:t,error:e}}var L=null;function R(r){if(E.useDeprecatedSynchronousErrorHandling){var t=!L;if(t&&(L={errorThrown:!1,error:null}),r(),t){var e=L,o=e.errorThrown,n=e.error;if(L=null,o)throw n}}else r()}function Jr(r){E.useDeprecatedSynchronousErrorHandling&&L&&(L.errorThrown=!0,L.error=r)}var G=function(r){y(t,r);function t(e){var o=r.call(this)||this;return o.isStopped=!1,e?(o.destination=e,er(e)&&e.add(o)):o.destination=Oe,o}return t.create=function(e,o,n){return new nr(e,o,n)},t.prototype.next=function(e){this.isStopped?Er(Kr(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?Er(Hr(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?Er(Gr,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(F);var Se=Function.prototype.bind;function gr(r,t){return Se.call(r,t)}var ge=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(o){or(o)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(o){or(o)}else or(t)},r.prototype.complete=function(){
//# sourceMappingURL=bundle.cfb3feee.min.js.map