123456789 |
- /*!
- * docsify-themeable
- * v0.3.0
- * https://jhildenbiddle.github.io/docsify-themeable/
- * (c) 2018 John Hildenbiddle
- * MIT license
- */
- !function(){"use strict";function p(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s={mimeType:n.mimeType||null,onBeforeSend:n.onBeforeSend||Function.prototype,onSuccess:n.onSuccess||Function.prototype,onError:n.onError||Function.prototype,onComplete:n.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],o=Array.apply(null,Array(r.length)).map(function(e){return null});function c(e,n){s.onError(e,r[n],n)}function u(e,n){var t=s.onSuccess(e,r[n],n);e=!1===t?"":t||e,o[n]=e,-1===o.indexOf(null)&&s.onComplete(o)}r.forEach(function(e,n){var t=document.createElement("a");t.setAttribute("href",e),t.href=t.href;var r=t.host!==location.host,o=t.protocol===location.protocol;if(r&&"undefined"!=typeof XDomainRequest)if(o){var a=new XDomainRequest;a.open("GET",e),a.timeout=0,a.onprogress=Function.prototype,a.ontimeout=Function.prototype,a.onload=function(){u(a.responseText,n)},a.onerror=function(e){c(a,n)},setTimeout(function(){a.send()},0)}else console.log("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol"),c(null,n);else{var i=new XMLHttpRequest;i.open("GET",e),s.mimeType&&i.overrideMimeType&&i.overrideMimeType(s.mimeType),s.onBeforeSend(i,e,n),i.onreadystatechange=function(){4===i.readyState&&(200===i.status?u(i.responseText,n):c(i,n))},i.send()}})}function e(e){var t={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},d={include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},n=Array.apply(null,document.querySelectorAll(d.include)).filter(function(e){return n=e,t=d.exclude,!(n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector).call(n,t);var n,t}),s=Array.apply(null,Array(n.length)).map(function(e){return null});function c(){if(-1===s.indexOf(null)){var e=s.join("");d.onComplete(e,s,n)}}function u(e,t,r,n){var o=d.onSuccess(e,r,n);(function r(o,a,i,s){var c=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[];var u=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[];var l=f(o,i,u);l.rules.length?p(l.absoluteUrls,{onBeforeSend:function(e,n,t){d.onBeforeSend(e,a,n)},onSuccess:function(t,e,n){var r=d.onSuccess(t,a,e),o=f(t=!1===r?"":r||t,e,u);return o.rules.forEach(function(e,n){t=t.replace(e,o.absoluteRules[n])}),t},onError:function(e,n,t){c.push({xhr:e,url:n}),u.push(l.rules[t]),r(o,a,i,s,c,u)},onComplete:function(e){e.forEach(function(e,n){o=o.replace(l.rules[n],e)}),r(o,a,i,s,c,u)}}):s(o,c)})(e=!1===o?"":o||e,r,n,function(e,n){null===s[t]&&(n.forEach(function(e){return d.onError(e.xhr,r,e.url)}),!d.filter||d.filter.test(e)?s[t]=e:s[t]="",c())})}function f(e,o){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],a={};return a.rules=(e.replace(t.cssComments,"").match(t.cssImports)||[]).filter(function(e){return-1===n.indexOf(e)}),a.urls=a.rules.map(function(e){return e.replace(t.cssImports,"$1")}),a.absoluteUrls=a.urls.map(function(e){return l(e,o)}),a.absoluteRules=a.rules.map(function(e,n){var t=a.urls[n],r=l(a.absoluteUrls[n],o);return e.replace(t,r)}),a}n.length?n.forEach(function(o,a){var i=o.getAttribute("href"),e=o.getAttribute("rel"),n="LINK"===o.nodeName&&i&&e&&"stylesheet"===e.toLowerCase(),t="STYLE"===o.nodeName;n?p(i,{mimeType:"text/css",onBeforeSend:function(e,n,t){d.onBeforeSend(e,o,n)},onSuccess:function(e,n,t){var r=l(i,location.href);u(e,a,o,r)},onError:function(e,n,t){s[a]="",d.onError(e,o,n),c()}}):t?u(o.textContent,a,o,location.href):(s[a]="",c())}):d.onComplete("",[])}function l(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:location.href,t=document.implementation.createHTMLDocument(""),r=t.createElement("base"),o=t.createElement("a");return t.head.appendChild(r),t.body.appendChild(o),r.href=n,o.href=e,o.href}function d(){for(var a=function(e){return e instanceof Object&&e.constructor===Object},e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.reduce(function(r,o){return Object.keys(o).forEach(function(e){var n=r[e],t=o[e];a(n)&&a(t)?r[e]=d(n,t):r[e]=t}),r},{})}var f=n;function n(e,n,t){e instanceof RegExp&&(e=o(e,t)),n instanceof RegExp&&(n=o(n,t));var r=a(e,n,t);return r&&{start:r[0],end:r[1],pre:t.slice(0,r[0]),body:t.slice(r[0]+e.length,r[1]),post:t.slice(r[1]+n.length)}}function o(e,n){var t=n.match(e);return t?t[0]:null}function a(e,n,t){var r,o,a,i,s,c=t.indexOf(e),u=t.indexOf(n,c+1),l=c;if(0<=c&&0<u){for(r=[],a=t.length;0<=l&&!s;)l==c?(r.push(l),c=t.indexOf(e,l+1)):1==r.length?s=[r.pop(),u]:((o=r.pop())<a&&(a=o,i=u),u=t.indexOf(n,l+1)),l=c<u&&0<=c?c:u;r.length&&(s=[a,i])}return s}function u(o){function a(e){throw new Error("CSS parse error: "+e)}function i(e){var n=e.exec(o);if(n)return o=o.slice(n[0].length),n}function t(){i(/^\s*/)}function s(){return i(/^{\s*/)}function c(){return i(/^}/)}function r(){if(t(),"/"===o[0]&&"*"===o[1]){for(var e=2;o[e]&&("*"!==o[e]||"/"!==o[e+1]);)e++;if(!o[e])return a("end of comment is missing");var n=o.slice(2,e);return o=o.slice(e+2),{type:"comment",comment:n}}}function u(){for(var e=[],n=void 0;n=r();)e.push(n);return e}function l(){for(t();"}"===o[0];)a("extra closing bracket");var e=i(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"")}).split(/\s*(?![^(]*\)),\s*/).map(function(e){return e.replace(/\u200C/g,",")})}function d(){i(/^([;\s]*)+/);var e=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,n=i(/^(\*?[-#\/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(n){if(n=n[0].trim(),!i(/^:\s*/))return a("property missing ':'");var t=i(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),r={type:"declaration",property:n.replace(e,""),value:t?t[0].replace(e,"").trim():""};return i(/^[;\s]*/),r}}function f(){if(!s())return a("missing '{'");for(var e=void 0,n=u();e=d();)n.push(e),n=n.concat(u());return c()?n:a("missing '}'")}function p(){t();for(var e=[],n=void 0;n=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(n[1]),i(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:f()}}function m(){if(t(),"@"===o[0])return function(){var e=i(/^@([-\w]+)?keyframes\s*/);if(e){var n=e[1];if(!(e=i(/^([-\w]+)\s*/)))return a("@keyframes missing name");var t=e[1];if(!s())return a("@keyframes missing '{'");for(var r=void 0,o=u();r=p();)o.push(r),o=o.concat(u());return c()?{type:"keyframes",name:t,vendor:n,keyframes:o}:a("@keyframes missing '}'")}}()||function(){var e=i(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:n()}}()||function(){if(i(/^@host\s*/))return{type:"host",rules:n()}}()||function(){var e=i(/^@media *([^{]+)/);if(e)return{type:"media",media:e[1].trim(),rules:n()}}()||function(){var e=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}()||function(){if(i(/^@page */))return{type:"page",selectors:l()||[],declarations:f()}}()||function(){var e=i(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:n()}}()||function(){if(i(/^@font-face\s*/))return{type:"font-face",declarations:f()}}()||function(){var e=i(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}()}function n(e){if(!e&&!s())return a("missing '{'");for(var n,t=void 0,r=u();o.length&&(e||"}"!==o[0])&&(t=m()||(void 0,(n=l()||[]).length||a("selector missing"),{type:"rule",selectors:n,declarations:f()}));)r.push(t),r=r.concat(u());return e||c()?r:a("missing '}'")}return{type:"stylesheet",stylesheet:{rules:n(!0),errors:[]}}}n.range=a;var m={},v="--",y="var";function h(e){var n,a,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i={},s=d({fixNestedCalc:!0,onlyVars:!0,persist:!1,preserve:!1,variables:{},onWarning:function(){}},t),r=s.persist?m:s.variables,o=u(e);if(s.onlyVars&&(o.stylesheet.rules=function t(e){return e.filter(function(e){if(e.declarations){var n=e.declarations.filter(function(e){var n=e.property&&0===e.property.indexOf(v),t=e.value&&-1<e.value.indexOf(y+"(");return n||t});return"font-face"!==e.type&&(e.declarations=n),Boolean(n.length)}return e.keyframes?Boolean(e.keyframes.filter(function(e){return Boolean(e.declarations.filter(function(e){var n=e.property&&0===e.property.indexOf(v),t=e.value&&-1<e.value.indexOf(y+"(");return n||t}).length)}).length):!e.rules||(e.rules=t(e.rules).filter(function(e){return e.declarations&&e.declarations.length}),Boolean(e.rules.length))})}(o.stylesheet.rules)),o.stylesheet.rules.forEach(function(e){var o=[];if("rule"===e.type&&1===e.selectors.length&&":root"===e.selectors[0]&&(e.declarations.forEach(function(e,n){var t=e.property,r=e.value;t&&0===t.indexOf(v)&&(i[t]=r,o.push(n))}),!s.preserve))for(var n=o.length-1;0<=n;n--)e.declarations.splice(o[n],1)}),Object.keys(s.variables).forEach(function(e){var n="--"+e.replace(/^-+/,""),t=s.variables[e];e!==n&&(s.variables[n]=t,delete s.variables[e]),s.persist&&(m[n]=t)}),Object.keys(r).length){var c={declarations:[],selectors:[":root"],type:"rule"};Object.keys(r).forEach(function(e){i[e]=r[e],c.declarations.push({type:"declaration",property:e,value:r[e]}),s.persist&&(m[e]=r[e])}),s.preserve&&o.stylesheet.rules.push(c)}return function e(t,r){t.rules.forEach(function(n){n.rules?e(n,r):n.keyframes?n.keyframes.forEach(function(e){"keyframe"===e.type&&r(e.declarations,n)}):n.declarations&&r(n.declarations,t)})}(o.stylesheet,function(e,n){for(var t=void 0,r=void 0,o=void 0,a=0;a<e.length;a++)o=(t=e[a]).value,"declaration"===t.type&&o&&-1!==o.indexOf(y+"(")&&(r=g(o,i,s))!==t.value&&(s.preserve?(e.splice(a,0,{type:t.type,property:t.property,value:r}),a++):t.value=r)}),s.fixNestedCalc&&(n=o.stylesheet.rules,a=/(-[a-z]+-)?calc\(/,n.forEach(function(e){e.declarations&&e.declarations.forEach(function(e){for(var n=e.value,t="";a.test(n);){var r=f("calc(",")",n||"");for(n=n.slice(r.end);a.test(r.body);){var o=f(a,")",r.body);r.body=o.pre+"("+o.body+")"+o.post}t+=r.pre+"calc("+r.body,t+=a.test(n)?"":")"+r.post}e.value=t||e.value})})),function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=arguments[2],s={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+t(e.rules)+"}"},"font-face":function(e){return"@font-face{"+t(e.declarations)+"}"},host:function(e){return"@host{"+t(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+t(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+t(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+t(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+t(e.declarations)+"}"},rule:function(e){var n=e.declarations;if(n.length)return e.selectors.join(",")+"{"+t(n)+"}"},supports:function(e){return"@supports "+e.supports+"{"+t(e.rules)+"}"}};function t(e){for(var n="",t=0;t<e.length;t++){var r=e[t];i&&i(r);var o=s[r.type](r);o&&(n+=o,o.length&&r.selectors&&(n+=a))}return n}return t(e.stylesheet.rules)}(o)}function g(e,n){var t,r,o,a,i,s,c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},u=arguments[3],l=f("var(",")",e),d="CSS transform warning:";return l?0===l.body.trim().length?(c.onWarning(d+" var() must contain a non-whitespace string"),e):l.pre+(t=l.body,r=t.split(",")[0],o=(t.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],a=n.hasOwnProperty(r)?String(n[r]):void 0,i=a||(o?String(o):void 0),s=u||t,a||c.onWarning(d+' variable "'+r+'" is undefined'),i&&"undefined"!==i&&0<i.length?g(i,n,c,s):"var("+s+")")+g(l.post,n,c):(-1!==e.indexOf("var(")&&c.onWarning(d+' missing closing ")" in the value "'+e+'"'),e)}var r="css-vars-ponyfill",i={include:"style,link[rel=stylesheet]",exclude:"",fixNestedCalc:!0,onlyLegacy:!0,onlyVars:!1,preserve:!1,silent:!1,updateDOM:!0,updateURLs:!0,variables:{},watch:!1,onBeforeSend:function(){},onSuccess:function(){},onWarning:function(){},onError:function(){},onComplete:function(){}},b="undefined"!=typeof window,S=b&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),E={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVars:/(?:(?::root\s*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},w=null;function x(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},s=d(i,t);function c(e,n,t,r){s.silent||console.error(e+"\n",n),s.onError(e,n,t,r)}function u(e){s.silent||console.warn(e),s.onWarning(e)}if(b)if("loading"!==document.readyState)if(S&&s.onlyLegacy)S&&s.updateDOM&&Object.keys(s.variables).forEach(function(e){var n="--"+e.replace(/^-+/,""),t=s.variables[e];document.documentElement.style.setProperty(n,t)});else{var l=r;s.watch&&function(o,n){if(window.MutationObserver&&!w){var a=function(e){return"LINK"===e.tagName&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")},i=function(e){return"STYLE"===e.tagName&&(!n||e.id!==n)},s=null;(w=new MutationObserver(function(e){var r=!1;e.forEach(function(e){if("attributes"===e.type)r=a(e.target)||i(e.target);else if("childList"===e.type){var n=Array.apply(null,e.addedNodes),t=Array.apply(null,e.removedNodes);r=[].concat(n,t).some(function(e){var n=a(e)&&!e.disabled,t=i(e)&&!e.disabled&&E.cssVars.test(e.textContent);return n||t})}r&&(clearTimeout(s),s=setTimeout(function(){x(o)},1))})})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})}}(s,l),e({include:s.include,exclude:"#"+l+(s.exclude?","+s.exclude:""),filter:s.onlyVars?E.cssVars:null,onBeforeSend:s.onBeforeSend,onSuccess:function(r,e,o){var n=s.onSuccess(r,e,o);(r=!1===n?"":n||r,s.updateURLs)&&(r.replace(E.cssComments,"").match(E.cssUrls)||[]).forEach(function(e){var n=e.replace(E.cssUrls,"$1"),t=L(n,o);r=r.replace(e,e.replace(n,t))});return r},onError:function(e,n,t){var r=e.responseURL||L(t,location.href),o=e.statusText?"("+e.statusText+")":"Unspecified Error"+(0===e.status?" (possibly CORS related)":"");c("CSS XHR Error: "+r+" "+e.status+" "+o,n,e,r)},onComplete:function(e,t,r){var n=null;e=t.map(function(e,n){return E.cssVars.test(e)?e:"/*__CSSVARSPONYFILL-"+n+"__*/"}).join("");try{e=h(e,{fixNestedCalc:s.fixNestedCalc,onlyVars:s.onlyVars,persist:s.updateDOM,preserve:s.preserve,variables:s.variables,onWarning:u});var o=E.cssKeyframes.test(e);if(e=e.replace(/\/\*__CSSVARSPONYFILL-(\d+)__\*\//g,function(e,n){return t[n]}),s.updateDOM&&r&&r.length){var a=r[r.length-1];(n=document.querySelector("#"+l)||document.createElement("style")).setAttribute("id",l),n.textContent!==e&&(n.textContent=e),a.nextSibling!==n&&a.parentNode&&a.parentNode.insertBefore(n,a.nextSibling),o&&function(){var e=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(e){for(var n=document.body.getElementsByTagName("*"),t=[],r="__CSSVARSPONYFILL-KEYFRAMES__",o=0,a=n.length;o<a;o++){var i=n[o],s=getComputedStyle(i)[e];"none"!==s&&(i.style[e]+=r,t.push(i))}document.body.offsetHeight;for(var c=0,u=t.length;c<u;c++){var l=t[c].style;l[e]=l[e].replace(r,"")}}}()}}catch(e){var i=!1;t.forEach(function(e,n){try{e=h(e,s)}catch(e){var t=r[n-0];i=!0,c(e.message,t)}}),i||c(e.message||e)}s.onComplete(e,n)}})}else document.addEventListener("DOMContentLoaded",function e(n){x(t),document.removeEventListener("DOMContentLoaded",e)})}function L(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:location.href,t=document.implementation.createHTMLDocument(""),r=t.createElement("base"),o=t.createElement("a");return t.head.appendChild(r),t.body.appendChild(o),r.href=n,o.href=e,o.href}function s(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=3===e.childNodes[0].nodeType,o=e.querySelector("ul");if(r&&o&&!Array.apply(null,e.children).some(function(e){return-1<e.tabIndex}).length){var a=document.createElement("span");for(null!==t&&a.setAttribute("tabindex",t),e.insertBefore(a,o);e.childNodes[0]!==a;)a.appendChild(e.childNodes[0])}}if(window){var t={onlyLegacy:!/Edge\/15|Edge\/16./i.test(navigator.userAgent),silent:!0};x(t),window.$docsify=window.$docsify||{},window.$docsify.plugins=[].concat([function(e,n){e.init(function(){!1!==((window.$docsify||{}).themeable||{}).readyTransition&&(document.body.classList.add("ready-transition"),setTimeout(function(){document.body.classList.add("ready-spinner")},1),e.ready(function(){var t=document.querySelector("main");t.addEventListener("transitionend",function e(n){document.body.classList.remove("ready-transition"),document.body.classList.remove("ready-spinner"),t.removeEventListener("transitionend",e)})}))})},function(e,n){e.doneEach(function(){var e=document.querySelector(".cover h1 > a");e&&(e.parentNode.innerHTML=e.innerHTML)})},function(e,n){e.doneEach(function(){var e=Array.apply(null,document.querySelectorAll("body > nav.app-nav > ul > li")),n=Array.apply(null,document.querySelectorAll(".sidebar > nav > ul > li"));e.forEach(function(n){var t="focus-within";s(n,"span",0),n.addEventListener("focusin",function(e){n.contains(document.activeElement)&&n.classList.add(t)}),n.addEventListener("focusout",function(e){n.contains(document.activeElement)||n.classList.remove(t)})}),n.forEach(function(e){s(e,"span")})})},function(e,n){e.doneEach(function(){Array.apply(null,document.querySelectorAll("pre[data-lang]")).forEach(function(e){var n=e.querySelector("code"),t="language-"+e.getAttribute("data-lang");e.classList.add(t),n.classList.add(t)})})},function(e,n){e.mounted(function(){var e=document.querySelector(".content"),n=setInterval(function(){e.textContent.length&&(document.body.classList.add("ready-fix"),clearInterval(n))},250)}),e.ready(function(){document.body.classList.add("ready-fix")})},function(e,n){e.init(function(){if(!1!==((window.$docsify||{}).themeable||{}).responsiveTables){var e=window.$docsify.markdown=window.$docsify.markdown||{},n=e.renderer=e.renderer||{};e.smartypants=e.smartypants||!0,n.table=n.table||function(e,n){var t='\n <div class="table-wrapper">\n <table>\n <thead>'+e+"</thead>\n <tbody>"+n+"</tbody>\n </table>\n </div>";try{var r=document.createElement("div"),o=document.head.appendChild(document.createElement("style")).sheet,a="_"+Math.random().toString(36).substr(2,9);r.innerHTML=t;var i=r.querySelector("table");Array.apply(null,i.getElementsByTagName("th")).map(function(e){return e.innerHTML.replace(" "," ")}).forEach(function(e,n){var t="#"+a+" td:nth-child("+(n+1)+')::before{content:"'+e+'";}';o.insertRule(t,o.cssRules.length)}),i.id=a,t=r.innerHTML}catch(e){console.log("Failed to render responsive table: "+e)}return t}}})}],window.$docsify.plugins||[],[function(e,n){e.ready(function(){var e=document.querySelector(".sidebar .search .clear-button");if(e){var n=document.createElement("button");n.className="clear-button",n.setAttribute("aria-label","Clear search"),n.innerHTML='\n <svg width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n <circle cx="8" cy="8" r="8" fill="black"></circle>\n <path stroke="white" stroke-width="1.5" d="M4.5,4.5,11.5,11.5" vector-effect="non-scaling-stroke"></path>\n <path stroke="white" stroke-width="1.5" d="M4.5,11.5,11.5,4.5" vector-effect="non-scaling-stroke"></path>\n </svg>\n ',e.parentNode.replaceChild(n,e)}})},function(e,n){e.ready(function(){var n=document.querySelector(".sidebar .search"),t=document.querySelector(".sidebar .search input[type=search]"),r=document.querySelector(".sidebar .search .clear-button");n&&n.addEventListener("click",function(e){(e.target===r||r.contains(e.target))&&(n.classList.remove("show"),t.focus())}),t&&t.addEventListener("input",function(e){t.value.length?n.classList.add("show"):n.classList.remove("show")})})},function(e,n){var a=Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.msMatchesSelector;e.doneEach(function(){var o="medium-zoom-image";Array.apply(null,document.querySelectorAll("."+o)).forEach(function(e){var n=a.call(e,"a img"),t=a.call(e,".content img");if(n||!t){var r=e.cloneNode(!0);e.parentNode.replaceChild(r,e),r.classList.remove(o)}})})}]),window.$docsify.themeable=window.$docsify.themeable||{},window.$docsify.themeable.version="0.3.0",window.$docsify.themeable.util={cssVars:function(){x(0<arguments.length&&void 0!==arguments[0]?arguments[0]:t)}}}}();
- //# sourceMappingURL=docsify-themeable.min.js.map
|