mkdocs-material/docs/assets/javascripts/ginseng.js
2018-04-26 15:20:34 +02:00

2 lines
2.3 KiB
JavaScript

!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(2);var r=n(3),o=n(4);window.addEventListener("load",function(){o.capture(document.body,function(e){r.request("https://4s8ipes8zk.execute-api.us-east-1.amazonaws.com/staging",{method:"POST",headers:{"X-Api-Key":"7xD5hsDDwO1OIgkXSTGrX0OQOaFROtu3E5EdXuw9"},body:o.pack(e)},function(){})})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return window.setTimeout(function(){return e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||clearTimeout},function(e,t,n){"use strict";function r(e,t,n){var r=new window.XMLHttpRequest;return r.open("POST",e,!0),r.setRequestHeader("Content-Type","application/json"),Object.keys(t.headers||{}).forEach(function(e){r.setRequestHeader(e,t.headers[e])}),r.onload=function(){return n(r.responseText)},r.send(t.body),r}Object.defineProperty(t,"__esModule",{value:!0}),t.request=r},function(e,t,n){"use strict";function r(e){var t=e.getBoundingClientRect();return[t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height]}function o(e,t){var n=[[e,{}]],o=0,i=function(e){for(;e.timeRemaining()>1&&o<n.length;){var u=n[o++],a=u[0],c=u[1];if(c.data=r(a),a.children&&a.children.length){c.children=[];for(var d=0,l=a.children.length;d<l;d++){var s=[a.children[d],{data:void 0}];c.children.push(s[1]),n.push(s)}}}o<n.length?window.requestIdleCallback(i):t(n[0][1])};window.requestIdleCallback(i)}function i(e){var t=function(e){return e.data.concat(e.children?e.children.map(t):[])};return JSON.stringify(t(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=r,t.capture=o,t.pack=i}]));