mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
33 lines
70 KiB
JavaScript
33 lines
70 KiB
JavaScript
|
(()=>{var Po=Object.create,_t=Object.defineProperty,Vo=Object.getPrototypeOf,Do=Object.prototype.hasOwnProperty,Uo=Object.getOwnPropertyNames,Wo=Object.getOwnPropertyDescriptor;var No=e=>_t(e,"__esModule",{value:!0});var Ht=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var zo=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Uo(t))!Do.call(e,n)&&n!=="default"&&_t(e,n,{get:()=>t[n],enumerable:!(r=Wo(t,n))||r.enumerable});return e},nt=e=>e&&e.__esModule?e:zo(No(_t(e!=null?Po(Vo(e)):{},"default",{value:e,enumerable:!0})),e);var ur=Ht((Ct,cr)=>{(function(e,t){typeof Ct=="object"&&typeof cr!="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 Ke=y.type,At=y.tagName;return!!(At==="INPUT"&&a[Ke]&&!y.readOnly||At==="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 m(y){n=!1}function A(y){!c(y.target)||(n||u(y.target))&&s(y.target)}function I(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),W())}function W(){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 ne(){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,ne())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",T,!0),W(),r.addEventListener("focus",A,!0),r.addEventListener("blur",I,!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 Xt=Ht((rt,Jt)=>{(function(t,r){typeof rt=="object"&&typeof Jt=="object"?Jt.exports=r():typeof define=="function"&&define.amd?define([],r):typeof rt=="object"?rt.ClipboardJS=r():t.ClipboardJS=r()})(rt,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 de(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var G=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=re(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 it?T.errors:[T]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var m=re(p),A=m.next();!A.done;A=m.next()){var I=A.value;try{mr(I)}catch(T){i=i??[],T instanceof it?i=F(i,T.errors):i.push(T)}}}catch(T){n={error:T}}finally{try{A&&!A.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new it(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)mr(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)&&de(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&de(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Ft=G.EMPTY;function at(e){return e instanceof G||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function mr(e){g(e)?e():e.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ie={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ie.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,F(e))},clearTimeout:function(e){var t=Ie.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function st(e){Ie.setTimeout(function(){var t=le.onUnhandledError;if(t)t(e);else throw e})}function N(){}var dr=function(){return It("C",void 0,void 0)}();function hr(e){return It("E",void 0,e)}function br(e){return It("N",e,void 0)}function It(e,t,r){return{kind:e,value:t,error:r}}var Ae=function(e){D(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,at(r)&&r.add(n)):n.destination=Pt,n}return t.create=function(r,n,o){return new Rt(r,n,o)},t.prototype.next=function(r){this.isStopped?$t(br(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?$t(hr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?$t(dr,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}(G);var Rt=function(e){D(t,e);function t(r,n,o){var i=e.call(this)||this;if(i.destination=Pt,(r||n||o)&&r!==Pt){var a=void 0;if(g(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var c;i&&le.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||N,error:n||vr,complete:o||N}}return i}return t}(Ae);function vr(e){if(le.useDeprecatedSynchronousErrorHandling)throw e;st(e)}function $t(e,t){var r=le.onStoppedNotification;r&&Ie.setTimeout(function(){return r(e,t)})}var Pt={closed:!0,next:N,error:vr,complete:N};var ge=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function oe(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.3981fc68.min.js.map
|
||
|
|