mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
33 lines
76 KiB
JavaScript
33 lines
76 KiB
JavaScript
|
(()=>{var Li=Object.create,Vt=Object.defineProperty,Hi=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,Ci=Object.getOwnPropertyNames,ki=Object.getOwnPropertyDescriptor,vr=Object.getOwnPropertySymbols,ji=Object.prototype.propertyIsEnumerable;var z=Object.assign,Fi=e=>Vt(e,"__esModule",{value:!0});var gr=(e,t)=>{var r={};for(var n in e)br.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&vr)for(var n of vr(e))t.indexOf(n)<0&&ji.call(e,n)&&(r[n]=e[n]);return r},ut=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Ii=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ci(t))!br.call(e,n)&&n!=="default"&&Vt(e,n,{get:()=>t[n],enumerable:!(r=ki(t,n))||r.enumerable});return e},Ge=e=>Ii(Fi(Vt(e!=null?Li(Hi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var xr=ut((Ut,yr)=>{(function(e,t){typeof Ut=="object"&&typeof yr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Ut,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 s(O){return!!(O&&O!==document&&O.nodeName!=="HTML"&&O.nodeName!=="BODY"&&"classList"in O&&"contains"in O.classList)}function c(O){var at=O.type,st=O.tagName;return!!(st==="INPUT"&&a[at]&&!O.readOnly||st==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function u(O){O.classList.contains("focus-visible")||(O.classList.add("focus-visible"),O.setAttribute("data-focus-visible-added",""))}function l(O){!O.hasAttribute("data-focus-visible-added")||(O.classList.remove("focus-visible"),O.removeAttribute("data-focus-visible-added"))}function m(O){O.metaKey||O.altKey||O.ctrlKey||(s(r.activeElement)&&u(r.activeElement),n=!0)}function f(O){n=!1}function h(O){!s(O.target)||(n||c(O.target))&&u(O.target)}function y(O){!s(O.target)||(O.target.classList.contains("focus-visible")||O.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(O.target))}function b(O){document.visibilityState==="hidden"&&(o&&(n=!0),N())}function N(){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 R(){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(O){O.target.nodeName&&O.target.nodeName.toLowerCase()==="html"||(n=!1,R())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",b,!0),N(),r.addEventListener("focus",h,!0),r.addEventListener("blur",y,!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 Ur=ut((Da,lt)=>{var Sr,wr,Er,Or,Tr,_r,Mr,Ar,Lr,ft,Nt,Hr,Cr,kr,Pe,jr,Fr,Ir,Rr,Pr,$r,Dr,Vr,pt;(function(e){var t=typeof global=="object"?global:typeof se
|
||
|
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
||
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function ge(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var re=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 s=se(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.remove(this)}}catch(b){t={error:b}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a==null||a.remove(this);var l=this.initialTeardown;if(S(l))try{l()}catch(b){i=b instanceof dt?b.errors:[b]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var f=se(m),h=f.next();!h.done;h=f.next()){var y=h.value;try{qr(y)}catch(b){i=i!=null?i:[],b instanceof dt?i=P(P([],j(i)),j(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new dt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)qr(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)&&ge(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&ge(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Wt=re.EMPTY;function ht(e){return e instanceof re||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function qr(e){S(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var $e={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=$e.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,P([],j(e)))},clearTimeout:function(e){var t=$e.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function bt(e){$e.setTimeout(function(){var t=me.onUnhandledError;if(t)t(e);else throw e})}function G(){}var Kr=function(){return zt("C",void 0,void 0)}();function Yr(e){return zt("E",void 0,e)}function Jr(e){return zt("N",e,void 0)}function zt(e,t,r){return{kind:e,value:t,error:r}}var Xe=function(e){Q(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ht(r)&&r.add(n)):n.destination=Ri,n}return t.create=function(r,n,o){return new Qt(r,n,o)},t.prototype.next=function(r){this.isStopped?qt(Jr(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?qt(Yr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?qt(Kr,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){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(re);var Qt=function(e){Q(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(S(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var s;i&&me.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()}):s=r,a=a==null?void 0:a.bind(s),n=n==null?void 0:n.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?Kt(a,i):G,error:Kt(n||Gr,i),complete:o?Kt(o,i):G},i}return t}(Xe);function Kt(e,t){return me.useDeprecatedSynchronousErrorHandling?function(r){try{e(r)}catch(n){t.__syncError=n}}:e}function Gr(e){if(me.useDeprecatedSynchronousErrorHandling)throw e;bt(e)}function qt(e,t){var r=me.onStoppedNotification;r&&$e.setTimeout(function(){return r(e,t)})}var Ri={closed
|
||
|
/*!
|
||
|
* clipboard.js v2.0.8
|
||
|
* 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.7865d441.min.js.map
|
||
|
|