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

32 lines
69 KiB
JavaScript
Raw Normal View History

2021-02-21 13:59:38 +03:00
(()=>{var Fo=Object.create,_t=Object.defineProperty,Ro=Object.getPrototypeOf,Po=Object.prototype.hasOwnProperty,$o=Object.getOwnPropertyNames,Do=Object.getOwnPropertyDescriptor;var Vo=e=>_t(e,"__esModule",{value:!0});var Ht=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Uo=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $o(t))!Po.call(e,n)&&n!=="default"&&_t(e,n,{get:()=>t[n],enumerable:!(r=Do(t,n))||r.enumerable});return e},rt=e=>e&&e.__esModule?e:Uo(Vo(_t(e!=null?Fo(Ro(e)):{},"default",{value:e,enumerable:!0})),e);var ar=Ht((Ct,ir)=>{(function(e,t){typeof Ct=="object"&&typeof ir!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Ct,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(y){return!!(y&&y!==document&&y.nodeName!=="HTML"&&y.nodeName!=="BODY"&&"classList"in y&&"contains"in y.classList)}function u(y){var qe=y.type,Lt=y.tagName;return!!(Lt==="INPUT"&&a[qe]&&!y.readOnly||Lt==="TEXTAREA"&&!y.readOnly||y.isContentEditable)}function s(y){y.classList.contains("focus-visible")||(y.classList.add("focus-visible"),y.setAttribute("data-focus-visible-added",""))}function l(y){!y.hasAttribute("data-focus-visible-added")||(y.classList.remove("focus-visible"),y.removeAttribute("data-focus-visible-added"))}function p(y){y.metaKey||y.altKey||y.ctrlKey||(c(r.activeElement)&&s(r.activeElement),n=!0)}function h(y){n=!1}function _(y){!c(y.target)||(n||u(y.target))&&s(y.target)}function F(y){!c(y.target)||(y.target.classList.contains("focus-visible")||y.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(y.target))}function T(y){document.visibilityState==="hidden"&&(o&&(n=!0),U())}function U(){document.addEventListener("mousemove",H),document.addEventListener("mousedown",H),document.addEventListener("mouseup",H),document.addEventListener("pointermove",H),document.addEventListener("pointerdown",H),document.addEventListener("pointerup",H),document.addEventListener("touchmove",H),document.addEventListener("touchstart",H),document.addEventListener("touchend",H)}function re(){document.removeEventListener("mousemove",H),document.removeEventListener("mousedown",H),document.removeEventListener("mouseup",H),document.removeEventListener("pointermove",H),document.removeEventListener("pointerdown",H),document.removeEventListener("pointerup",H),document.removeEventListener("touchmove",H),document.removeEventListener("touchstart",H),document.removeEventListener("touchend",H)}function H(y){y.target.nodeName&&y.target.nodeName.toLowerCase()==="html"||(n=!1,re())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",h,!0),document.addEventListener("pointerdown",h,!0),document.addEventListener("touchstart",h,!0),document.addEventListener("visibilitychange",T,!0),U(),r.addEventListener("focus",_,!0),r.addEventListener("blur",F,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var Bt=Ht((tt,Jt)=>{(function(t,r){typeof tt=="object"&&typeof Jt=="object"?Jt.exports=r():typeof define=="function"&&define.amd?define([],r):typeof tt=="object"?tt.ClipboardJS=r():t.ClipboardJS=r()})(tt,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(n,o,i){r.o(n,o)||Object.defineProperty(n,o,
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function me(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var X=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var c=te(a),u=c.next();!u.done;u=c.next()){var s=u.value;s.remove(this)}}catch(T){t={error:T}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}else a==null||a.remove(this);var l=this.initialTeardown;if(g(l))try{l()}catch(T){i=T instanceof ot?T.errors:[T]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var h=te(p),_=h.next();!_.done;_=h.next()){var F=_.value;try{lr(F)}catch(T){i=i??[],T instanceof ot?i=k(i,T.errors):i.push(T)}}}catch(T){n={error:T}}finally{try{_&&!_.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}}if(i)throw new ot(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)lr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&me(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&me(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var It=X.EMPTY;function it(e){return e instanceof X||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function lr(e){g(e)?e():e.unsubscribe()}var ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ce={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ce.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,k(e))},clearTimeout:function(e){var t=Ce.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function at(e){Ce.setTimeout(function(){var t=ce.onUnhandledError;if(t)t(e);else throw e})}function W(){}var fr=function(){return Ft("C",void 0,void 0)}();function pr(e){return Ft("E",void 0,e)}function mr(e){return Ft("N",e,void 0)}function Ft(e,t,r){return{kind:e,value:t,error:r}}var Oe=function(e){$(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,it(r)&&r.add(n)):n.destination=$t,n}return t.create=function(r,n,o){return new Rt(r,n,o)},t.prototype.next=function(r){this.isStopped?Pt(mr(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Pt(pr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Pt(fr,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){this.destination.error(r),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t}(X);var Rt=function(e){$(t,e);function t(r,n,o){var i=e.call(this)||this;if(i.destination=$t,(r||n||o)&&r!==$t){var a=void 0;if(g(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var c;i&&ce.useDeprecatedNextContext?(c=Object.create(r),c.unsubscribe=function(){return i.unsubscribe()}):c=r,a=a==null?void 0:a.bind(c),n=n==null?void 0:n.bind(c),o=o==null?void 0:o.bind(c)}i.destination={next:a||W,error:n||dr,complete:o||W}}return i}return t}(Oe);function dr(e){if(ce.useDeprecatedSynchronousErrorHandling)throw e;at(e)}function Pt(e,t){var r=ce.onStoppedNotification;r&&Ce.setTimeout(function(){return r(e,t)})}var $t={closed:!0,next:W,error:dr,complete:W};var ve=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ne(e){retu
/*!
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/*! *****************************************************************************
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