@datacamp/rdocs-light
Advanced tools
@@ -1,2 +0,2 @@ | ||
// [AIV] Build version: 1.0.8 - Thursday, August 17th, 2017, 2:09:18 PM | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("rdl",[],n):"object"==typeof exports?exports.rdl=n():t.rdl=n()}(this,function(){return function(t){function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=28)}([function(t,n,e){var o=e(23)("wks"),r=e(12),i=e(1).Symbol,a="function"==typeof i;(t.exports=function(t){return o[t]||(o[t]=a&&i[t]||(a?i:r)("Symbol."+t))}).store=o},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var o=e(5),r=e(11);t.exports=e(7)?function(t,n,e){return o.f(t,n,r(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var o=e(6),r=e(34),i=e(35),a=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(o(t),n=i(n,!0),o(e),r)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var o=e(10);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+o).toString(36))}},function(t,n){t.exports={}},function(t,n,e){var o=e(23)("keys"),r=e(12);t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,n,e){var o=e(1),r=e(3),i=e(4),a=e(18),c=e(19),s=function(t,n,e){var u,l,d,f,p=t&s.F,h=t&s.G,v=t&s.S,g=t&s.P,m=t&s.B,y=h?o:v?o[n]||(o[n]={}):(o[n]||{}).prototype,b=h?r:r[n]||(r[n]={}),x=b.prototype||(b.prototype={});h&&(e=n);for(u in e)l=!p&&y&&void 0!==y[u],d=(l?y:e)[u],f=m&&l?c(d,o):g&&"function"==typeof d?c(Function.call,d):d,y&&a(y,u,d,t&s.U),b[u]!=d&&i(b,u,f),g&&x[u]!=d&&(x[u]=d)};o.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var o=e(10),r=e(1).document,i=o(r)&&o(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,n,e){var o=e(1),r=e(4),i=e(2),a=e(12)("src"),c=Function.toString,s=(""+c).split("toString");e(3).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var u="function"==typeof e;u&&(i(e,"name")||r(e,"name",n)),t[n]!==e&&(u&&(i(e,a)||r(e,a,t[n]?""+t[n]:s.join(String(n)))),t===o?t[n]=e:c?t[n]?t[n]=e:r(t,n,e):(delete t[n],r(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(t,n,e){var o=e(36);t.exports=function(t,n,e){if(o(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,o){return t.call(n,e,o)};case 3:return function(e,o,r){return t.call(n,e,o,r)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var o=e(42),r=e(9);t.exports=function(t){return o(r(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var o=e(8),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},function(t,n,e){var o=e(1),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var o=e(5).f,r=e(2),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!r(t=e?t:t.prototype,i)&&o(t,i,{configurable:!0,value:n})}},function(t,n,e){var o=e(9);t.exports=function(t){return Object(o(t))}},function(t,n){function e(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"==typeof btoa){var i=o(r);return[e].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[e].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var o=e(n,t);return n[2]?"@media "+n[2]+"{"+o+"}":o}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(e&&!a[2]?a[2]=e:e&&(a[2]="("+a[2]+") and ("+e+")"),n.push(a))}},n}},function(t,n,e){"use strict";e(29),e(54);var o=e(58).toString(),r=e(59),i=e(60),a=e(61),c=e(62);!function(){function n(t){var n=Z.querySelector(it.anchors);null!==n&&(n.style.display=t)}function e(){var t=Z.querySelector(it.anchors);if(null!==t)return t.style.display}function s(){ot||(tt.style.visibility="hidden","none"!==e()?(n("none"),rt=!0):rt=!1)}function u(){tt.style.visibility="visible",rt&&n("block")}function l(t){var n=t.fromElement||t.relatedTarget;if(null!==n)do{if(n===this)return;n=n.parentNode}while(null!==n.parentNode);(nt=!0)&&"hidden"===tt.style.visibility&&u()}function d(t){var n=t.toElement||t.relatedTarget;if(null!==n){do{if(n===this)return;n=n.parentNode}while(null!==n.parentNode);nt=!1,nt||et||s()}}function f(){st&&(ot=!0)}function p(t){Q=void 0!==t?t:document.getElementsByTagName("body")[0];var n=document.createElement("div");n.setAttribute("id",it.tt),Q.appendChild(n),tt=document.querySelector("#"+it.tt),Z=tt,document.head.attachShadow&&(Z=tt.attachShadow({mode:"open"})),tt.addEventListener("mouseover",function(t){return l(t)}),tt.addEventListener("mouseout",function(t){return d(t)}),tt.addEventListener("click",function(){return f()})}function h(){var t=window,n=document,e=n.documentElement,o=n.getElementsByTagName("body")[0];return{x:t.innerWidth||e.clientWidth||o.clientWidth,y:t.innerHeight||e.clientHeight||o.clientHeight}}function v(){return void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop?document.body.scrollTop:0}function g(t){var n=v(),e=document.body.scrollLeft,o=h();o.x-=25;var r=t.top+at+n-V,i=t.left-e;return i+X>o.x&&(i=o.x-X+e)<0?(s(),!1):r<n&&(r=t.bottom+n)+V>o.y+n?(s(),!1):(tt.style.top=r+"px",tt.style.left=i+"px",!0)}function m(){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=o,Z.appendChild(t)}function y(t){var n=document.createElement("div");n.setAttribute("id",it.ttc),n.innerHTML=t,Z.innerHTML="",Z.appendChild(n),m()}function b(){y(a),u()}function x(t){y(c),Z.querySelector(it.title).innerText=t,u()}function w(t,e){var o=Array.from(Z.querySelectorAll(it.arrow)),r=Z.querySelector(it.nav);r.innerHTML="";var i=0;e.forEach(function(n){if(!("usage"===n.title&<||"arguments"===n.title&&dt)){var e=document.createElement("li"),o=document.createElement("a");o.href=t+"#"+n.anchor,o.target="_blank",o.innerText=n.title,e.appendChild(o),r.appendChild(e),i++}}),0===i?n("none"):i<=4?(n("block"),o.forEach(function(t){t.style.visibility="hidden"})):(n("block"),o[0].addEventListener("click",function(){r.scrollLeft-=75}),o[1].addEventListener("click",function(){r.scrollLeft+=75}))}function k(t,n,e,o){void 0!==n&&null!==n&&("[object Array]"===!Object.prototype.toString.call(n)||n.length>0)&&t.push({title:e,anchor:o})}function S(t){var n=[];return k(n,t.version.readmemd,"readme","readme"),k(n,t.version.topics,"topics","functions"),k(n,t.vignettes,"vignettes","vignettes"),k(n,[!0],"downloads","downloads"),k(n,[!0],"details","details"),n}function E(t){return"https://www.rdocumentation.org"+t}function A(t){y(r),Z.querySelector(it.title).innerHTML=t.title,Z.querySelector(it.desc).innerHTML=t.description||"";var n=Z.querySelector(it.h_package);n.innerText=t.package_name,n.href=t.uri;var e=Z.querySelector(it.h_version);e.innerText="v"+t.version,e.href=t.version_url,w(E(t.uri),S(t))}function _(t){var n="<dl>";return t.forEach(function(t){n+="<dt>"+t.name+"</dt><dd>"+t.description+"</dd>"}),n+="</dl>"}function O(t){var n=[];return k(n,t.keywords,"keywords","l_keywords"),k(n,t.usage,"usage","l_usage"),k(n,t.arguments,"arguments","l_arguments"),k(n,t.details,"details","l_details"),k(n,t.value,"value","l_value"),k(n,t.note,"note","l_note"),k(n,t.sections,"sections","l_sections"),k(n,t.references,"references","l_references"),k(n,t.seealso,"see also","l_seealso"),k(n,t.examples,"examples","l_examples"),n}function L(t){y(i),Z.querySelector(it.title).innerHTML=t.title,Z.querySelector(it.desc).innerHTML=t.description||"";var n=Z.querySelector(it.h_topic);n.innerText=t.name,n.href=E(t.uri);var e=Z.querySelector(it.h_package);e.innerText=t.package_version.package_name+" v"+t.package_version.version,e.href=E(t.package_version.uri);var o=Z.querySelector(it.usage);if(lt&&t.usage){Z.querySelector(it.usagec).innerHTML="<code>"+t.usage+"</code>",o.style.display="block"}else o.style.display="none";var r=Z.querySelector(it.args);if(dt&&0!==t.arguments.length){Z.querySelector(it.argsc).innerHTML=_(t.arguments),r.style.display="block"}else r.style.display="none";w(E(t.uri),O(t))}function j(t){var n=new RegExp("(.*)/versions/(.*)","g"),e=n.exec(t);return null===e?{package:decodeURIComponent(t)}:{package:decodeURIComponent(e[1]),version:decodeURIComponent(e[2])}}function T(t){var n=K+"/api/packages/(.*)/topics/(.*)",e=new RegExp(n,"g"),o=e.exec(t);if(null!==o){var r=j(o[1]);return r.topic=decodeURIComponent(o[2]),r}}function R(t){var n=K+"/api/packages/(.*)",e=new RegExp(n,"g"),o=e.exec(t);if(null!==o)return j(o[1])}function C(t){var n=T(t);return void 0!==n?n:R(t)}function M(t,n){var e=JSON.parse(t.responseText),o=C(n);if(delete e.fromCache,Object.keys(e).length>0&&("package"!==e.type||!o.topic))"package"===e.type?(e=e.versions[e.versions.length-1],A(e)):"package_version"===e.type?A(e):"topic"===e.type&&L(e),u();else{var r="No documentation found for the package '"+o.package+"'";o.version&&(r+=" v"+o.version),o.topic&&(r="No documentation found for '"+o.package+"::"+o.topic+"'",o.version&&(r="No documentation found for '"+o.topic+"' in "+o.package+" v"+o.version)),x(r)}}function U(){console.error("Something went wrong when retrieving the data, hiding rdocs light widget.")}function N(t){var n=t.split("::");return 1===n.length?{package:n[0]}:2===n.length?{package:n[0],topic:n[1]}:void 0}function q(t){var n=document.createElement("a");return n.href=t,n}function I(t){var n=q(t);if("rdocumentation.org"!==n.hostname&&"www.rdocumentation.org"!==n.hostname)return!1;var e=void 0;return ft.some(function(t){var o=new RegExp(t.url,"g"),r=o.exec(n.pathname);if(null!==r){e={};for(var i=0;i<t.fields.length;i++)e[t.fields[i]]=r[i+1];return!0}return!1}),e}function P(t){ct&&(ot=!0),b();var n=new XMLHttpRequest,e=K+"/api/packages/"+t.package;void 0!==t.version&&(e+="/versions/"+t.version),void 0!==t.topic&&(e+="/topics/"+t.topic),n.addEventListener("load",function(t){return M(t.target,e)}),n.addEventListener("error",U,!1),n.open("get",e,!0),n.send()}function B(t){et=!0;var n=t;n.classList.add(it.hover);var e=void 0;if(n.hasAttribute(it.tag)?(e=N(n.getAttribute(it.tag)),n.hasAttribute(it.tagv)&&(e.version=n.getAttribute(it.tagv))):e=I(n.href),void 0!==e){g(n.getBoundingClientRect())?P(e):console.info("Not enough space, rdocs light widget not shown.")}else console.warn("Invalid attribute value.")}function H(t){t.classList.remove(it.hover),et=!1,nt||s()}function z(){var t=document.querySelectorAll("["+it.tag+"]");0===t.length&&console.info("No "+it.tag+" attributes found."),Array.from(t).forEach(function(t){return t.addEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.addEventListener("mouseout",function(){return H(t)})})}function F(){if(ut){var t=Array.from(document.querySelectorAll("a"));0===t.length&&console.info("No RDocumentation links found."),t=Array.from(t).filter(function(t){return void 0!==I(t.href)}),t=Array.from(t).filter(function(t){return!t.hasAttribute(it.tag)}),Array.from(t).forEach(function(t){return t.addEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.addEventListener("mouseout",function(){return H(t)})})}}function D(){if(ut){var t=document.querySelectorAll("a");t=Array.from(t).filter(function(t){return!t.hasAttribute(it.tag)}),Array.from(t).forEach(function(t){return t.removeEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.remvoeEventListener("mouseout",function(){return H(t)})})}}function W(t){if(ot){var n=t.target||t.toElement||t.relatedTarget;if(null!==n)do{if(n===tt)return;n=n.parentNode}while(null!==n.parentNode);ot=!1,s()}}function G(){document.body.addEventListener("click",W,!0)}function J(t,n){var e=N(t);if(n&&(e.version=n),void 0!==e){var o="https://rdocumentation.org/packages/"+e.package;return void 0!==e.version&&(o+="/versions/"+e.version),void 0!==e.topic&&(o+="/topics/"+e.topic),o}}function $(t,n){return n=n||document.createElement("div"),t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n),n.appendChild(t)}function Y(t){t!==ut&&(ut=t,ut?F():D())}var V=252,X=402,K="https://www.rdocumentation.org",Q=void 0,Z=void 0,tt=void 0,nt=!1,et=!1,ot=!1,rt=!1,it={anchors:"#rdocs-light-tooltip-anchors",title:"#rdocs-light-tooltip-title",desc:"#rdocs-light-tooltip-description",h_topic:"#rdocs-light-tooltip-header-topic",h_package:"#rdocs-light-tooltip-header-package",h_version:"#rdocs-light-tooltip-header-version",tag:"data-mini-rdoc",tagv:"data-mini-rdoc-version",hover:"rdocs-light-link-hovered",usage:"#rdocs-light-tooltip-usage",usagec:"#rdocs-light-tooltip-usage-content",args:"#rdocs-light-tooltip-arguments",argsc:"#rdocs-light-tooltip-arguments-content",tt:"rdocs-light-tooltip",ttc:"rdocs-light-tooltip-container",arrow:".rdocs-light-arrow",nav:"#rdocs-light-nav"},at=0,ct=!1,st=!0,ut=!1,lt=!1,dt=!1,ft=[{url:"/packages/(.*)/versions/(.*)/topics/(.*)",fields:["package","version","topic"]},{url:"/packages/(.*)/versions/(.*)",fields:["package","version"]},{url:"/packages/(.*)/topics/(.*)",fields:["package","topic"]},{url:"/packages/(.*)",fields:["package"]}];t.exports={initRDocsLight:function(t){t&&(void 0!==t.topOffset&&(at=t.topOffset),void 0!==t.autoPin&&(ct=t.autoPin),void 0!==t.pinOnClick&&(st=t.pinOnClick),void 0!==t.widgetForRDocsLinks&&Y(t.widgetForRDocsLinks),void 0!==t.showTopicUsageSection&&(lt=t.showTopicUsageSection),void 0!==t.showTopicArgumentsSection&&(dt=t.showTopicArgumentsSection)),p(t?t.container:t),G(),z()},autoLink:function(){var t=Array.from(document.querySelectorAll("["+it.tag+"]"));Array.from(t).forEach(function(t){var n=t.getAttribute(it.tag),e=t.getAttribute(it.tagv),o=J(n,e);if(void 0!==o)if("A"===t.nodeName)t.href=o;else{var r=document.createElement("a");r.href=o,$(t,r)}})}}}()},function(t,n,e){e(30),e(47),t.exports=e(3).Array.from},function(t,n,e){"use strict";var o=e(31)(!0);e(32)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=o(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var o=e(8),r=e(9);t.exports=function(t){return function(n,e){var i,a,c=String(r(n)),s=o(e),u=c.length;return s<0||s>=u?t?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):i:t?c.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,n,e){"use strict";var o=e(33),r=e(15),i=e(18),a=e(4),c=e(2),s=e(13),u=e(37),l=e(25),d=e(46),f=e(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,v,g,m,y){u(e,n,v);var b,x,w,k=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",E="values"==g,A=!1,_=t.prototype,O=_[f]||_["@@iterator"]||g&&_[g],L=O||k(g),j=g?E?k("entries"):L:void 0,T="Array"==n?_.entries||O:O;if(T&&(w=d(T.call(new t)))!==Object.prototype&&(l(w,S,!0),o||c(w,f)||a(w,f,h)),E&&O&&"values"!==O.name&&(A=!0,L=function(){return O.call(this)}),o&&!y||!p&&!A&&_[f]||a(_,f,L),s[n]=L,s[S]=h,g)if(b={values:E?L:k("values"),keys:m?L:k("keys"),entries:j},y)for(x in b)x in _||i(_,x,b[x]);else r(r.P+r.F*(p||A),n,b);return b}},function(t,n){t.exports=!1},function(t,n,e){t.exports=!e(7)&&!e(16)(function(){return 7!=Object.defineProperty(e(17)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(10);t.exports=function(t,n){if(!o(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!o(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";var o=e(38),r=e(11),i=e(25),a={};e(4)(a,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=o(a,{next:r(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var o=e(6),r=e(39),i=e(24),a=e(14)("IE_PROTO"),c=function(){},s=function(){var t,n=e(17)("iframe"),o=i.length;for(n.style.display="none",e(45).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;o--;)delete s.prototype[i[o]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=o(t),e=new c,c.prototype=null,e[a]=t):e=s(),void 0===n?e:r(e,n)}},function(t,n,e){var o=e(5),r=e(6),i=e(40);t.exports=e(7)?Object.defineProperties:function(t,n){r(t);for(var e,a=i(n),c=a.length,s=0;c>s;)o.f(t,e=a[s++],n[e]);return t}},function(t,n,e){var o=e(41),r=e(24);t.exports=Object.keys||function(t){return o(t,r)}},function(t,n,e){var o=e(2),r=e(20),i=e(43)(!1),a=e(14)("IE_PROTO");t.exports=function(t,n){var e,c=r(t),s=0,u=[];for(e in c)e!=a&&o(c,e)&&u.push(e);for(;n.length>s;)o(c,e=n[s++])&&(~i(u,e)||u.push(e));return u}},function(t,n,e){var o=e(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,n,e){var o=e(20),r=e(22),i=e(44);t.exports=function(t){return function(n,e,a){var c,s=o(n),u=r(s.length),l=i(a,u);if(t&&e!=e){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===e)return t||l||0;return!t&&-1}}},function(t,n,e){var o=e(8),r=Math.max,i=Math.min;t.exports=function(t,n){return t=o(t),t<0?r(t+n,0):i(t,n)}},function(t,n,e){t.exports=e(1).document&&document.documentElement},function(t,n,e){var o=e(2),r=e(26),i=e(14)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),o(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){"use strict";var o=e(19),r=e(15),i=e(26),a=e(48),c=e(49),s=e(22),u=e(50),l=e(51);r(r.S+r.F*!e(53)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,r,d,f=i(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(f);if(g&&(v=o(v,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&c(y))for(n=s(f.length),e=new p(n);n>m;m++)u(e,m,g?v(f[m],m):f[m]);else for(d=y.call(f),e=new p;!(r=d.next()).done;m++)u(e,m,g?a(d,v,[r.value,m],!0):r.value);return e.length=m,e}})},function(t,n,e){var o=e(6);t.exports=function(t,n,e,r){try{return r?n(o(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&o(i.call(t)),n}}},function(t,n,e){var o=e(13),r=e(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||i[r]===t)}},function(t,n,e){"use strict";var o=e(5),r=e(11);t.exports=function(t,n,e){n in t?o.f(t,n,r(0,e)):t[n]=e}},function(t,n,e){var o=e(52),r=e(0)("iterator"),i=e(13);t.exports=e(3).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||i[o(t)]}},function(t,n,e){var o=e(21),r=e(0)("toStringTag"),i="Arguments"==o(function(){return arguments}()),a=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(n=Object(t),r))?e:i?o(n):"Object"==(c=o(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,e){var o=e(0)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!r)return!1;var e=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:e=!0}},i[o]=function(){return a},t(i)}catch(t){}return e}},function(t,n,e){var o=e(55);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;e(56)(o,r);o.locals&&(t.exports=o.locals)},function(t,n,e){n=t.exports=e(27)(void 0),n.push([t.i,'#rdocs-light-tooltip {\n top: 0;\n visibility: hidden;\n position: absolute;\n border: 1px solid #d5eaef;\n background-color: #ebf4f7;\n z-index: 10;\n height: 220px;\n width: 370px;\n padding: 15px;\n border-radius: 10px;\n font-size: 1rem !important;\n font-family: "Open Sans", sans-serif !important;\n line-height: 1.5 !important;\n box-sizing: content-box !important;\n overflow-y: hidden !important;\n overflow-x: hidden !important;\n display: flex;\n flex-flow: column;\n color: #3a3a3a; }\n',""])},function(t,n,e){function o(t,n){for(var e=0;e<t.length;e++){var o=t[e],r=h[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(l(o.parts[i],n))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(l(o.parts[i],n));h[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,n){for(var e=[],o={},r=0;r<t.length;r++){var i=t[r],a=n.base?i[0]+n.base:i[0],c=i[1],s=i[2],u=i[3],l={css:c,media:s,sourceMap:u};o[a]?o[a].parts.push(l):e.push(o[a]={id:a,parts:[l]})}return e}function i(t,n){var e=g(t.insertInto);if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=b[b.length-1];if("top"===t.insertAt)o?o.nextSibling?e.insertBefore(n,o.nextSibling):e.appendChild(n):e.insertBefore(n,e.firstChild),b.push(n);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");e.appendChild(n)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var n=b.indexOf(t);n>=0&&b.splice(n,1)}function c(t){var n=document.createElement("style");return t.attrs.type="text/css",u(n,t.attrs),i(t,n),n}function s(t){var n=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(n,t.attrs),i(t,n),n}function u(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}function l(t,n){var e,o,r,i;if(n.transform&&t.css){if(!(i=n.transform(t.css)))return function(){};t.css=i}if(n.singleton){var u=y++;e=m||(m=c(n)),o=d.bind(null,e,u,!1),r=d.bind(null,e,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(e=s(n),o=p.bind(null,e,n),r=function(){a(e),e.href&&URL.revokeObjectURL(e.href)}):(e=c(n),o=f.bind(null,e),r=function(){a(e)});return o(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;o(t=n)}else r()}}function d(t,n,e,o){var r=e?"":o.css;if(t.styleSheet)t.styleSheet.cssText=w(n,r);else{var i=document.createTextNode(r),a=t.childNodes;a[n]&&t.removeChild(a[n]),a.length?t.insertBefore(i,a[n]):t.appendChild(i)}}function f(t,n){var e=n.css,o=n.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}function p(t,n,e){var o=e.css,r=e.sourceMap,i=void 0===n.convertToAbsoluteUrls&&r;(n.convertToAbsoluteUrls||i)&&(o=x(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}var h={},v=function(t){var n;return function(){return void 0===n&&(n=t.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),g=function(t){var n={};return function(e){return void 0===n[e]&&(n[e]=t.call(this,e)),n[e]}}(function(t){return document.querySelector(t)}),m=null,y=0,b=[],x=e(57);t.exports=function(t,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");n=n||{},n.attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||(n.singleton=v()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var e=r(t,n);return o(e,n),function(t){for(var i=[],a=0;a<e.length;a++){var c=e[a],s=h[c.id];s.refs--,i.push(s)}if(t){o(r(t,n),n)}for(var a=0;a<i.length;a++){var s=i[a];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete h[s.id]}}}};var w=function(){var t=[];return function(n,e){return t[n]=e,t.filter(Boolean).join("\n")}}()},function(t,n){t.exports=function(t){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var e=n.protocol+"//"+n.host,o=e+n.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,n){var r=n.trim().replace(/^"(.*)"$/,function(t,n){return n}).replace(/^'(.*)'$/,function(t,n){return n});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?e+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,n,e){n=t.exports=e(27)(void 0),n.push([t.i,'.rdocs-light-arrow {\n margin: 0;\n padding: 0;\n display: block;\n width: 40px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n background-color: #d5eaef;\n font-weight: bold;\n cursor: pointer;\n position: absolute;\n top: 0;\n z-index: 101; }\n\n#rdocs-light-tooltip-anchors {\n width: calc(100% - 80px);\n height: 40px;\n background-color: #d5eaef;\n padding: 0 40px;\n margin-top: 15px;\n margin-bottom: -15px;\n margin-left: -15px;\n margin-right: -15px;\n font-family: helvetica;\n overflow: hidden;\n position: relative;\n z-index: 99; }\n\n#rdocs-light-nav {\n width: auto;\n height: 40px;\n overflow: hidden;\n list-style-type: none;\n white-space: nowrap;\n transition: 2.0s;\n margin: 0;\n padding: 0; }\n #rdocs-light-nav li {\n display: inline-block;\n height: 40px;\n width: 35px;\n line-height: 40px;\n font-size: 13px;\n padding: 0 20px; }\n #rdocs-light-nav a {\n text-decoration: none;\n color: inherit;\n border: none; }\n\n.rdocs-light-arrow:first-of-type {\n left: 0; }\n\n.rdocs-light-arrow:nth-of-type(2) {\n right: 0; }\n\n.rdocs-light-tooltip-outer {\n display: table;\n height: 100%;\n width: 100%; }\n\n.rdocs-light-tooltip-middle {\n display: table-cell;\n vertical-align: middle; }\n\n.rdocs-light-tooltip-loader {\n margin-left: auto;\n margin-right: auto;\n border: 16px solid #f3f3f3;\n /* Light grey */\n border-top: 16px solid #3498db;\n /* Blue */\n border-radius: 50%;\n width: 120px;\n height: 120px;\n animation: spin 2s linear infinite; }\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n#rdocs-light-tooltip-container {\n background-color: #ebf4f7;\n font-size: 1rem !important;\n font-family: "Open Sans", sans-serif !important;\n line-height: 1.5 !important;\n box-sizing: content-box !important;\n overflow-y: hidden !important;\n overflow-x: hidden !important;\n color: #3a3a3a;\n height: 100%; }\n #rdocs-light-tooltip-container code {\n display: inline-block;\n line-height: 1;\n margin: 0 0.25em;\n padding: 0.2em 0.4em 0.35em 0.4em;\n color: #3a3a3a;\n font-family: monospace;\n font-size: 0.8rem;\n background-color: #eaeef3;\n border-radius: 3px; }\n #rdocs-light-tooltip-container dl dd {\n margin-left: 40px;\n margin-bottom: 1rem; }\n #rdocs-light-tooltip-container dd p {\n font-weight: 300; }\n #rdocs-light-tooltip-container dl:after {\n content: "";\n display: table;\n clear: both; }\n #rdocs-light-tooltip-container dl dt {\n font-weight: bold;\n float: left;\n margin-right: 15px; }\n\n#rdocs-light-tooltip-content {\n flex: 1;\n overflow-x: hidden;\n overflow-y: auto;\n padding-right: 4px;\n max-height: calc(220px - 50px); }\n #rdocs-light-tooltip-content p {\n -webkit-margin-before: 0px; }\n #rdocs-light-tooltip-content h3 {\n font-size: 1.5rem;\n margin-top: 0.3rem;\n -webkit-margin-after: 0px;\n line-height: 1.5 !important; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar {\n width: 5px;\n margin-top: -5px; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar-track {\n background: #ebf4f7; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar-thumb {\n background: #d5eaef; }\n\n#rdocs-light-tooltip-header {\n display: flex;\n justify-content: space-between; }\n #rdocs-light-tooltip-header a {\n color: #a3a3a3;\n font-size: 1em;\n text-decoration: none;\n border: none; }\n\n#rdocs-light-tooltip-link {\n margin-top: 0.5rem;\n zoom: 0.8; }\n\n.rdocs-light-tooltip-bottom {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 50px; }\n\n.rdocs-light-link-hovered {\n color: blue; }\n',""])},function(t,n){t.exports='<div id="rdocs-light-tooltip-header">\n <a href="" target="_blank" id="rdocs-light-tooltip-header-package"></a>\n <a href="" target="_blank" id="rdocs-light-tooltip-header-version"></a>\n</div>\n<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description"></div>\n</div>\n<div class="rdocs-light-tooltip-bottom">\n <div id="rdocs-light-tooltip-anchors">\n <span class="rdocs-light-arrow"><</span>\n <span class="rdocs-light-arrow">></span>\n <ul id="rdocs-light-nav">\n </ul>\n </div>\n </div>\n'},function(t,n){t.exports='<div id="rdocs-light-tooltip-header">\n <a href="" target="_blank" id="rdocs-light-tooltip-header-topic"></a>\n <a href="" target="_blank" id="rdocs-light-tooltip-header-package"></a>\n</div>\n<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description"></div>\n <div id="rdocs-light-tooltip-usage">\n <div>\n <h3>Usage</h3>\n </div>\n <div id="rdocs-light-tooltip-usage-content"></div>\n </div>\n <div id="rdocs-light-tooltip-arguments">\n <div>\n <h3>Arguments</h3>\n </div>\n <div id="rdocs-light-tooltip-arguments-content"></div>\n </div>\n</div>\n<div class="rdocs-light-tooltip-bottom">\n <div id="rdocs-light-tooltip-anchors">\n <span class="rdocs-light-arrow"><</span>\n <span class="rdocs-light-arrow">></span>\n <ul id="rdocs-light-nav">\n </ul>\n </div>\n </div>\n'},function(t,n){t.exports='<div class="rdocs-light-tooltip-outer">\n <div class="rdocs-light-tooltip-middle">\n <div class="rdocs-light-tooltip-loader">\n\n </div>\n </div>\n</div>\n'},function(t,n){t.exports='<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description">Visit the rdocumentation\n <a href=\'https://rdocumenation.org\'>site</a> to search yourself.</div>\n</div>\n'}])}); | ||
// [AIV] Build version: 1.0.9 - Thursday, August 17th, 2017, 3:53:50 PM | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("rdl",[],n):"object"==typeof exports?exports.rdl=n():t.rdl=n()}(this,function(){return function(t){function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=28)}([function(t,n,e){var o=e(23)("wks"),r=e(12),i=e(1).Symbol,a="function"==typeof i;(t.exports=function(t){return o[t]||(o[t]=a&&i[t]||(a?i:r)("Symbol."+t))}).store=o},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var o=e(5),r=e(11);t.exports=e(7)?function(t,n,e){return o.f(t,n,r(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var o=e(6),r=e(34),i=e(35),a=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(o(t),n=i(n,!0),o(e),r)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var o=e(10);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+o).toString(36))}},function(t,n){t.exports={}},function(t,n,e){var o=e(23)("keys"),r=e(12);t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,n,e){var o=e(1),r=e(3),i=e(4),a=e(18),c=e(19),s=function(t,n,e){var u,l,d,f,p=t&s.F,h=t&s.G,v=t&s.S,g=t&s.P,m=t&s.B,y=h?o:v?o[n]||(o[n]={}):(o[n]||{}).prototype,b=h?r:r[n]||(r[n]={}),x=b.prototype||(b.prototype={});h&&(e=n);for(u in e)l=!p&&y&&void 0!==y[u],d=(l?y:e)[u],f=m&&l?c(d,o):g&&"function"==typeof d?c(Function.call,d):d,y&&a(y,u,d,t&s.U),b[u]!=d&&i(b,u,f),g&&x[u]!=d&&(x[u]=d)};o.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var o=e(10),r=e(1).document,i=o(r)&&o(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,n,e){var o=e(1),r=e(4),i=e(2),a=e(12)("src"),c=Function.toString,s=(""+c).split("toString");e(3).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var u="function"==typeof e;u&&(i(e,"name")||r(e,"name",n)),t[n]!==e&&(u&&(i(e,a)||r(e,a,t[n]?""+t[n]:s.join(String(n)))),t===o?t[n]=e:c?t[n]?t[n]=e:r(t,n,e):(delete t[n],r(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(t,n,e){var o=e(36);t.exports=function(t,n,e){if(o(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,o){return t.call(n,e,o)};case 3:return function(e,o,r){return t.call(n,e,o,r)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var o=e(42),r=e(9);t.exports=function(t){return o(r(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var o=e(8),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},function(t,n,e){var o=e(1),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var o=e(5).f,r=e(2),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!r(t=e?t:t.prototype,i)&&o(t,i,{configurable:!0,value:n})}},function(t,n,e){var o=e(9);t.exports=function(t){return Object(o(t))}},function(t,n){function e(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"==typeof btoa){var i=o(r);return[e].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[e].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var o=e(n,t);return n[2]?"@media "+n[2]+"{"+o+"}":o}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(e&&!a[2]?a[2]=e:e&&(a[2]="("+a[2]+") and ("+e+")"),n.push(a))}},n}},function(t,n,e){"use strict";e(29),e(54);var o=e(58).toString(),r=e(59),i=e(60),a=e(61),c=e(62);!function(){function n(t){var n=Z.querySelector(it.anchors);null!==n&&(n.style.display=t)}function e(){var t=Z.querySelector(it.anchors);if(null!==t)return t.style.display}function s(){ot||(tt.style.visibility="hidden","none"!==e()?(n("none"),rt=!0):rt=!1)}function u(){tt.style.visibility="visible",rt&&n("block")}function l(t){var n=t.fromElement||t.relatedTarget;if(null!==n)do{if(n===this)return;n=n.parentNode}while(null!==n.parentNode);(nt=!0)&&"hidden"===tt.style.visibility&&u()}function d(t){var n=t.toElement||t.relatedTarget;if(null!==n){do{if(n===this)return;n=n.parentNode}while(null!==n.parentNode);nt=!1,nt||et||s()}}function f(){st&&(ot=!0)}function p(t){Q=void 0!==t?t:document.getElementsByTagName("body")[0];var n=document.createElement("div");n.setAttribute("id",it.tt),Q.appendChild(n),tt=document.querySelector("#"+it.tt),Z=tt,document.head.attachShadow&&(Z=tt.attachShadow({mode:"open"})),tt.addEventListener("mouseover",function(t){return l(t)}),tt.addEventListener("mouseout",function(t){return d(t)}),tt.addEventListener("click",function(){return f()})}function h(){var t=window,n=document,e=n.documentElement,o=n.getElementsByTagName("body")[0];return{x:t.innerWidth||e.clientWidth||o.clientWidth,y:t.innerHeight||e.clientHeight||o.clientHeight}}function v(){return void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop?document.body.scrollTop:0}function g(t){var n=v(),e=document.body.scrollLeft,o=h();o.x-=25;var r=t.top+at+n-V,i=t.left-e;return i+X>o.x&&(i=o.x-X+e)<0?(s(),!1):r<n&&(r=t.bottom+n)+V>o.y+n?(s(),!1):(tt.style.top=r+"px",tt.style.left=i+"px",!0)}function m(){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=o,Z.appendChild(t)}function y(t){var n=document.createElement("div");n.setAttribute("id",it.ttc),n.innerHTML=t,Z.innerHTML="",Z.appendChild(n),m()}function b(){y(a),u()}function x(t){y(c),Z.querySelector(it.title).innerText=t,u()}function w(t,e){var o=Array.from(Z.querySelectorAll(it.arrow)),r=Z.querySelector(it.nav);r.innerHTML="";var i=0;e.forEach(function(n){if(!("usage"===n.title&<||"arguments"===n.title&&dt)){var e=document.createElement("li"),o=document.createElement("a");o.href=t+"#"+n.anchor,o.target="_blank",o.innerText=n.title,e.appendChild(o),r.appendChild(e),i++}}),0===i?n("none"):i<=4?(n("block"),o.forEach(function(t){t.style.visibility="hidden"})):(n("block"),o[0].addEventListener("click",function(){r.scrollLeft-=75}),o[1].addEventListener("click",function(){r.scrollLeft+=75}))}function k(t,n,e,o){void 0!==n&&null!==n&&("[object Array]"===!Object.prototype.toString.call(n)||n.length>0)&&t.push({title:e,anchor:o})}function S(t){var n=[];return k(n,t.version.readmemd,"readme","readme"),k(n,t.version.topics,"topics","functions"),k(n,t.vignettes,"vignettes","vignettes"),k(n,[!0],"downloads","downloads"),k(n,[!0],"details","details"),n}function E(t){return"https://www.rdocumentation.org"+t}function A(t){y(r),Z.querySelector(it.title).innerHTML=t.title,Z.querySelector(it.desc).innerHTML=t.description||"";var n=Z.querySelector(it.h_package);n.innerText=t.package_name,n.href=t.uri;var e=Z.querySelector(it.h_version);e.innerText="v"+t.version,e.href=t.version_url,w(E(t.uri),S(t))}function _(t){var n="<dl>";return t.forEach(function(t){n+="<dt>"+t.name+"</dt><dd>"+t.description+"</dd>"}),n+="</dl>"}function O(t){var n=[];return k(n,t.keywords,"keywords","l_keywords"),k(n,t.usage,"usage","l_usage"),k(n,t.arguments,"arguments","l_arguments"),k(n,t.details,"details","l_details"),k(n,t.value,"value","l_value"),k(n,t.note,"note","l_note"),k(n,t.sections,"sections","l_sections"),k(n,t.references,"references","l_references"),k(n,t.seealso,"see also","l_seealso"),k(n,t.examples,"examples","l_examples"),n}function L(t){y(i),Z.querySelector(it.title).innerHTML=t.title,Z.querySelector(it.desc).innerHTML=t.description||"";var n=Z.querySelector(it.h_topic);n.innerText=t.name,n.href=E(t.uri);var e=Z.querySelector(it.h_package);e.innerText=t.package_version.package_name+" v"+t.package_version.version,e.href=E(t.package_version.uri);var o=Z.querySelector(it.usage);if(lt&&t.usage){Z.querySelector(it.usagec).innerHTML="<code>"+t.usage+"</code>",o.style.display="block"}else o.style.display="none";var r=Z.querySelector(it.args);if(dt&&0!==t.arguments.length){Z.querySelector(it.argsc).innerHTML=_(t.arguments),r.style.display="block"}else r.style.display="none";w(E(t.uri),O(t))}function j(t){var n=new RegExp("(.*)/versions/(.*)","g"),e=n.exec(t);return null===e?{package:decodeURIComponent(t)}:{package:decodeURIComponent(e[1]),version:decodeURIComponent(e[2])}}function T(t){var n=K+"/api/packages/(.*)/topics/(.*)",e=new RegExp(n,"g"),o=e.exec(t);if(null!==o){var r=j(o[1]);return r.topic=decodeURIComponent(o[2]),r}}function R(t){var n=K+"/api/packages/(.*)",e=new RegExp(n,"g"),o=e.exec(t);if(null!==o)return j(o[1])}function C(t){var n=T(t);return void 0!==n?n:R(t)}function M(t,n){var e=JSON.parse(t.responseText),o=C(n);if(delete e.fromCache,Object.keys(e).length>0&&("package"!==e.type||!o.topic))"package"===e.type?(e=e.versions[e.versions.length-1],A(e)):"package_version"===e.type?A(e):"topic"===e.type&&L(e),u();else{var r="No documentation found for the package '"+o.package+"'";o.version&&(r+=" v"+o.version),o.topic&&(r="No documentation found for '"+o.package+"::"+o.topic+"'",o.version&&(r="No documentation found for '"+o.topic+"' in "+o.package+" v"+o.version)),x(r)}}function U(){console.error("Something went wrong when retrieving the data, hiding rdocs light widget.")}function N(t){var n=t.split("::");return 1===n.length?{package:n[0]}:2===n.length?{package:n[0],topic:n[1]}:void 0}function q(t){var n=document.createElement("a");return n.href=t,n}function I(t){var n=q(t);if("rdocumentation.org"!==n.hostname&&"www.rdocumentation.org"!==n.hostname)return!1;var e=void 0;return ft.some(function(t){var o=new RegExp(t.url,"g"),r=o.exec(n.pathname);if(null!==r){e={};for(var i=0;i<t.fields.length;i++)e[t.fields[i]]=r[i+1];return!0}return!1}),e}function P(t){ct&&(ot=!0),b();var n=new XMLHttpRequest,e=K+"/api/packages/"+t.package;void 0!==t.version&&(e+="/versions/"+t.version),void 0!==t.topic&&(e+="/topics/"+t.topic),n.addEventListener("load",function(t){return M(t.target,e)}),n.addEventListener("error",U,!1),n.open("get",e,!0),n.send()}function B(t){et=!0;var n=t;n.classList.add(it.hover);var e=void 0;if(n.hasAttribute(it.tag)?(e=N(n.getAttribute(it.tag)),n.hasAttribute(it.tagv)&&(e.version=n.getAttribute(it.tagv))):e=I(n.href),void 0!==e){g(n.getBoundingClientRect())?P(e):console.info("Not enough space, rdocs light widget not shown.")}else console.warn("Invalid attribute value.")}function H(t){t.classList.remove(it.hover),et=!1,nt||s()}function z(){var t=document.querySelectorAll("["+it.tag+"]");0===t.length&&console.info("No "+it.tag+" attributes found."),Array.from(t).forEach(function(t){return t.addEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.addEventListener("mouseout",function(){return H(t)})})}function F(){if(ut){var t=Array.from(document.querySelectorAll("a"));0===t.length&&console.info("No RDocumentation links found."),t=Array.from(t).filter(function(t){return void 0!==I(t.href)}),t=Array.from(t).filter(function(t){return!t.hasAttribute(it.tag)}),Array.from(t).forEach(function(t){return t.addEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.addEventListener("mouseout",function(){return H(t)})})}}function D(){if(ut){var t=document.querySelectorAll("a");t=Array.from(t).filter(function(t){return!t.hasAttribute(it.tag)}),Array.from(t).forEach(function(t){return t.removeEventListener("mouseover",function(){return B(t)})}),Array.from(t).forEach(function(t){return t.remvoeEventListener("mouseout",function(){return H(t)})})}}function W(t){if(ot){var n=t.target||t.toElement||t.relatedTarget;if(null!==n)do{if(n===tt)return;n=n.parentNode}while(null!==n.parentNode);ot=!1,s()}}function G(){document.body.addEventListener("click",W,!0)}function J(t,n){var e=N(t);if(n&&(e.version=n),void 0!==e){var o="https://rdocumentation.org/packages/"+e.package;return void 0!==e.version&&(o+="/versions/"+e.version),void 0!==e.topic&&(o+="/topics/"+e.topic),o}}function $(t,n){return n=n||document.createElement("div"),t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n),n.appendChild(t)}function Y(t){t!==ut&&(ut=t,ut?F():D())}var V=252,X=402,K="https://www.rdocumentation.org",Q=void 0,Z=void 0,tt=void 0,nt=!1,et=!1,ot=!1,rt=!1,it={anchors:"#rdocs-light-tooltip-anchors",title:"#rdocs-light-tooltip-title",desc:"#rdocs-light-tooltip-description",h_topic:"#rdocs-light-tooltip-header-topic",h_package:"#rdocs-light-tooltip-header-package",h_version:"#rdocs-light-tooltip-header-version",tag:"data-mini-rdoc",tagv:"data-mini-rdoc-version",hover:"rdocs-light-link-hovered",usage:"#rdocs-light-tooltip-usage",usagec:"#rdocs-light-tooltip-usage-content",args:"#rdocs-light-tooltip-arguments",argsc:"#rdocs-light-tooltip-arguments-content",tt:"rdocs-light-tooltip",ttc:"rdocs-light-tooltip-container",arrow:".rdocs-light-arrow",nav:"#rdocs-light-nav"},at=0,ct=!1,st=!0,ut=!1,lt=!1,dt=!1,ft=[{url:"/packages/(.*)/versions/(.*)/topics/(.*)",fields:["package","version","topic"]},{url:"/packages/(.*)/versions/(.*)",fields:["package","version"]},{url:"/packages/(.*)/topics/(.*)",fields:["package","topic"]},{url:"/packages/(.*)",fields:["package"]}];t.exports={initRDocsLight:function(t){t&&(void 0!==t.topOffset&&(at=t.topOffset),void 0!==t.autoPin&&(ct=t.autoPin),void 0!==t.pinOnClick&&(st=t.pinOnClick),void 0!==t.widgetForRDocsLinks&&Y(t.widgetForRDocsLinks),void 0!==t.showTopicUsageSection&&(lt=t.showTopicUsageSection),void 0!==t.showTopicArgumentsSection&&(dt=t.showTopicArgumentsSection)),p(t?t.container:t),G(),z()},autoLink:function(){var t=Array.from(document.querySelectorAll("["+it.tag+"]"));Array.from(t).forEach(function(t){var n=t.getAttribute(it.tag),e=t.getAttribute(it.tagv),o=J(n,e);if(void 0!==o)if("A"===t.nodeName)t.href=o;else{var r=document.createElement("a");r.href=o,$(t,r)}})}}}()},function(t,n,e){e(30),e(47),t.exports=e(3).Array.from},function(t,n,e){"use strict";var o=e(31)(!0);e(32)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=o(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var o=e(8),r=e(9);t.exports=function(t){return function(n,e){var i,a,c=String(r(n)),s=o(e),u=c.length;return s<0||s>=u?t?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):i:t?c.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,n,e){"use strict";var o=e(33),r=e(15),i=e(18),a=e(4),c=e(2),s=e(13),u=e(37),l=e(25),d=e(46),f=e(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,v,g,m,y){u(e,n,v);var b,x,w,k=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",E="values"==g,A=!1,_=t.prototype,O=_[f]||_["@@iterator"]||g&&_[g],L=O||k(g),j=g?E?k("entries"):L:void 0,T="Array"==n?_.entries||O:O;if(T&&(w=d(T.call(new t)))!==Object.prototype&&(l(w,S,!0),o||c(w,f)||a(w,f,h)),E&&O&&"values"!==O.name&&(A=!0,L=function(){return O.call(this)}),o&&!y||!p&&!A&&_[f]||a(_,f,L),s[n]=L,s[S]=h,g)if(b={values:E?L:k("values"),keys:m?L:k("keys"),entries:j},y)for(x in b)x in _||i(_,x,b[x]);else r(r.P+r.F*(p||A),n,b);return b}},function(t,n){t.exports=!1},function(t,n,e){t.exports=!e(7)&&!e(16)(function(){return 7!=Object.defineProperty(e(17)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(10);t.exports=function(t,n){if(!o(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!o(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!o(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";var o=e(38),r=e(11),i=e(25),a={};e(4)(a,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=o(a,{next:r(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var o=e(6),r=e(39),i=e(24),a=e(14)("IE_PROTO"),c=function(){},s=function(){var t,n=e(17)("iframe"),o=i.length;for(n.style.display="none",e(45).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;o--;)delete s.prototype[i[o]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=o(t),e=new c,c.prototype=null,e[a]=t):e=s(),void 0===n?e:r(e,n)}},function(t,n,e){var o=e(5),r=e(6),i=e(40);t.exports=e(7)?Object.defineProperties:function(t,n){r(t);for(var e,a=i(n),c=a.length,s=0;c>s;)o.f(t,e=a[s++],n[e]);return t}},function(t,n,e){var o=e(41),r=e(24);t.exports=Object.keys||function(t){return o(t,r)}},function(t,n,e){var o=e(2),r=e(20),i=e(43)(!1),a=e(14)("IE_PROTO");t.exports=function(t,n){var e,c=r(t),s=0,u=[];for(e in c)e!=a&&o(c,e)&&u.push(e);for(;n.length>s;)o(c,e=n[s++])&&(~i(u,e)||u.push(e));return u}},function(t,n,e){var o=e(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,n,e){var o=e(20),r=e(22),i=e(44);t.exports=function(t){return function(n,e,a){var c,s=o(n),u=r(s.length),l=i(a,u);if(t&&e!=e){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===e)return t||l||0;return!t&&-1}}},function(t,n,e){var o=e(8),r=Math.max,i=Math.min;t.exports=function(t,n){return t=o(t),t<0?r(t+n,0):i(t,n)}},function(t,n,e){t.exports=e(1).document&&document.documentElement},function(t,n,e){var o=e(2),r=e(26),i=e(14)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),o(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){"use strict";var o=e(19),r=e(15),i=e(26),a=e(48),c=e(49),s=e(22),u=e(50),l=e(51);r(r.S+r.F*!e(53)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,r,d,f=i(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(f);if(g&&(v=o(v,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&c(y))for(n=s(f.length),e=new p(n);n>m;m++)u(e,m,g?v(f[m],m):f[m]);else for(d=y.call(f),e=new p;!(r=d.next()).done;m++)u(e,m,g?a(d,v,[r.value,m],!0):r.value);return e.length=m,e}})},function(t,n,e){var o=e(6);t.exports=function(t,n,e,r){try{return r?n(o(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&o(i.call(t)),n}}},function(t,n,e){var o=e(13),r=e(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||i[r]===t)}},function(t,n,e){"use strict";var o=e(5),r=e(11);t.exports=function(t,n,e){n in t?o.f(t,n,r(0,e)):t[n]=e}},function(t,n,e){var o=e(52),r=e(0)("iterator"),i=e(13);t.exports=e(3).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||i[o(t)]}},function(t,n,e){var o=e(21),r=e(0)("toStringTag"),i="Arguments"==o(function(){return arguments}()),a=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(n=Object(t),r))?e:i?o(n):"Object"==(c=o(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,e){var o=e(0)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!r)return!1;var e=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:e=!0}},i[o]=function(){return a},t(i)}catch(t){}return e}},function(t,n,e){var o=e(55);"string"==typeof o&&(o=[[t.i,o,""]]);var r={};r.transform=void 0;e(56)(o,r);o.locals&&(t.exports=o.locals)},function(t,n,e){n=t.exports=e(27)(void 0),n.push([t.i,'#rdocs-light-tooltip {\n top: 0;\n visibility: hidden;\n position: absolute;\n border: 1px solid #d5eaef;\n background-color: #ebf4f7;\n z-index: 10;\n height: 220px;\n width: 370px;\n padding: 15px;\n border-radius: 10px;\n font-size: 1rem !important;\n font-family: "Open Sans", sans-serif !important;\n line-height: 1.5 !important;\n box-sizing: content-box !important;\n overflow-y: hidden !important;\n overflow-x: hidden !important;\n display: flex;\n flex-flow: column;\n color: #3a3a3a; }\n',""])},function(t,n,e){function o(t,n){for(var e=0;e<t.length;e++){var o=t[e],r=h[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(l(o.parts[i],n))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(l(o.parts[i],n));h[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,n){for(var e=[],o={},r=0;r<t.length;r++){var i=t[r],a=n.base?i[0]+n.base:i[0],c=i[1],s=i[2],u=i[3],l={css:c,media:s,sourceMap:u};o[a]?o[a].parts.push(l):e.push(o[a]={id:a,parts:[l]})}return e}function i(t,n){var e=g(t.insertInto);if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=b[b.length-1];if("top"===t.insertAt)o?o.nextSibling?e.insertBefore(n,o.nextSibling):e.appendChild(n):e.insertBefore(n,e.firstChild),b.push(n);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");e.appendChild(n)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var n=b.indexOf(t);n>=0&&b.splice(n,1)}function c(t){var n=document.createElement("style");return t.attrs.type="text/css",u(n,t.attrs),i(t,n),n}function s(t){var n=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(n,t.attrs),i(t,n),n}function u(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}function l(t,n){var e,o,r,i;if(n.transform&&t.css){if(!(i=n.transform(t.css)))return function(){};t.css=i}if(n.singleton){var u=y++;e=m||(m=c(n)),o=d.bind(null,e,u,!1),r=d.bind(null,e,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(e=s(n),o=p.bind(null,e,n),r=function(){a(e),e.href&&URL.revokeObjectURL(e.href)}):(e=c(n),o=f.bind(null,e),r=function(){a(e)});return o(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;o(t=n)}else r()}}function d(t,n,e,o){var r=e?"":o.css;if(t.styleSheet)t.styleSheet.cssText=w(n,r);else{var i=document.createTextNode(r),a=t.childNodes;a[n]&&t.removeChild(a[n]),a.length?t.insertBefore(i,a[n]):t.appendChild(i)}}function f(t,n){var e=n.css,o=n.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}function p(t,n,e){var o=e.css,r=e.sourceMap,i=void 0===n.convertToAbsoluteUrls&&r;(n.convertToAbsoluteUrls||i)&&(o=x(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}var h={},v=function(t){var n;return function(){return void 0===n&&(n=t.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),g=function(t){var n={};return function(e){return void 0===n[e]&&(n[e]=t.call(this,e)),n[e]}}(function(t){return document.querySelector(t)}),m=null,y=0,b=[],x=e(57);t.exports=function(t,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");n=n||{},n.attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||(n.singleton=v()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var e=r(t,n);return o(e,n),function(t){for(var i=[],a=0;a<e.length;a++){var c=e[a],s=h[c.id];s.refs--,i.push(s)}if(t){o(r(t,n),n)}for(var a=0;a<i.length;a++){var s=i[a];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete h[s.id]}}}};var w=function(){var t=[];return function(n,e){return t[n]=e,t.filter(Boolean).join("\n")}}()},function(t,n){t.exports=function(t){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var e=n.protocol+"//"+n.host,o=e+n.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,n){var r=n.trim().replace(/^"(.*)"$/,function(t,n){return n}).replace(/^'(.*)'$/,function(t,n){return n});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?e+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,n,e){n=t.exports=e(27)(void 0),n.push([t.i,'.rdocs-light-arrow {\n margin: 0;\n padding: 0;\n display: block;\n width: 40px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n background-color: #d5eaef;\n font-weight: bold;\n cursor: pointer;\n position: absolute;\n top: 0;\n z-index: 101; }\n\n#rdocs-light-tooltip-anchors {\n width: calc(100% - 80px);\n height: 40px;\n background-color: #d5eaef;\n padding: 0 40px;\n margin-top: 15px;\n margin-bottom: -15px;\n margin-left: -15px;\n margin-right: -15px;\n font-family: helvetica;\n overflow: hidden;\n position: relative;\n z-index: 99; }\n\n#rdocs-light-nav {\n width: auto;\n height: 40px;\n overflow: hidden;\n list-style-type: none;\n white-space: nowrap;\n transition: 2.0s;\n margin: 0;\n padding: 0; }\n #rdocs-light-nav li {\n display: inline-block;\n height: 40px;\n width: 35px;\n line-height: 40px;\n font-size: 13px;\n padding: 0 20px; }\n #rdocs-light-nav a {\n text-decoration: none;\n color: inherit;\n border: none; }\n\n.rdocs-light-arrow:first-of-type {\n left: 0; }\n\n.rdocs-light-arrow:nth-of-type(2) {\n right: 0; }\n\n.rdocs-light-tooltip-outer {\n display: table;\n height: 100%;\n width: 100%; }\n\n.rdocs-light-tooltip-middle {\n display: table-cell;\n vertical-align: middle; }\n\n.rdocs-light-tooltip-loader {\n margin-left: auto;\n margin-right: auto;\n border: 16px solid #f3f3f3;\n /* Light grey */\n border-top: 16px solid #3498db;\n /* Blue */\n border-radius: 50%;\n width: 120px;\n height: 120px;\n animation: spin 2s linear infinite; }\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n#rdocs-light-tooltip-container {\n background-color: #ebf4f7;\n font-size: 1rem !important;\n font-family: "Open Sans", sans-serif !important;\n line-height: 1.5 !important;\n box-sizing: content-box !important;\n overflow-y: hidden !important;\n overflow-x: hidden !important;\n color: #3a3a3a;\n height: 100%; }\n #rdocs-light-tooltip-container code {\n display: inline-block;\n line-height: 1;\n margin: 0 0.25em;\n padding: 0.2em 0.4em 0.35em 0.4em;\n color: #3a3a3a;\n font-family: monospace;\n font-size: 0.8rem;\n background-color: #eaeef3;\n border-radius: 3px; }\n #rdocs-light-tooltip-container dl dd {\n margin-left: 40px;\n margin-bottom: 1rem; }\n #rdocs-light-tooltip-container dd p {\n font-weight: 300; }\n #rdocs-light-tooltip-container dl:after {\n content: "";\n display: table;\n clear: both; }\n #rdocs-light-tooltip-container dl dt {\n font-weight: bold;\n float: left;\n margin-right: 15px; }\n\n#rdocs-light-tooltip-content {\n flex: 1;\n overflow-x: hidden;\n overflow-y: auto;\n padding-right: 4px;\n max-height: calc(220px - 50px); }\n #rdocs-light-tooltip-content p {\n -webkit-margin-before: 0px; }\n #rdocs-light-tooltip-content h3 {\n font-size: 1.5rem;\n margin-top: 0.3rem;\n -webkit-margin-after: 0px;\n line-height: 1.5 !important; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar {\n width: 5px;\n margin-top: -5px; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar-track {\n background: #ebf4f7; }\n\n#rdocs-light-tooltip-content::-webkit-scrollbar-thumb {\n background: #d5eaef; }\n\n#rdocs-light-tooltip-header {\n display: flex;\n justify-content: space-between; }\n #rdocs-light-tooltip-header a {\n color: #a3a3a3;\n font-size: 1em;\n text-decoration: none;\n border: none; }\n\n#rdocs-light-tooltip-link {\n margin-top: 0.5rem;\n zoom: 0.8; }\n\n.rdocs-light-tooltip-bottom {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 50px; }\n\n.rdocs-light-link-hovered {\n color: blue; }\n',""])},function(t,n){t.exports='<div id="rdocs-light-tooltip-header">\n <a href="" target="_blank" id="rdocs-light-tooltip-header-package"></a>\n <a href="" target="_blank" id="rdocs-light-tooltip-header-version"></a>\n</div>\n<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description"></div>\n</div>\n<div class="rdocs-light-tooltip-bottom">\n <div id="rdocs-light-tooltip-anchors">\n <span class="rdocs-light-arrow"><</span>\n <span class="rdocs-light-arrow">></span>\n <ul id="rdocs-light-nav">\n </ul>\n </div>\n </div>\n'},function(t,n){t.exports='<div id="rdocs-light-tooltip-header">\n <a href="" target="_blank" id="rdocs-light-tooltip-header-topic"></a>\n <a href="" target="_blank" id="rdocs-light-tooltip-header-package"></a>\n</div>\n<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description"></div>\n <div id="rdocs-light-tooltip-usage">\n <div>\n <h3>Usage</h3>\n </div>\n <div id="rdocs-light-tooltip-usage-content"></div>\n </div>\n <div id="rdocs-light-tooltip-arguments">\n <div>\n <h3>Arguments</h3>\n </div>\n <div id="rdocs-light-tooltip-arguments-content"></div>\n </div>\n</div>\n<div class="rdocs-light-tooltip-bottom">\n <div id="rdocs-light-tooltip-anchors">\n <span class="rdocs-light-arrow"><</span>\n <span class="rdocs-light-arrow">></span>\n <ul id="rdocs-light-nav">\n </ul>\n </div>\n </div>\n'},function(t,n){t.exports='<div class="rdocs-light-tooltip-outer">\n <div class="rdocs-light-tooltip-middle">\n <div class="rdocs-light-tooltip-loader">\n\n </div>\n </div>\n</div>\n'},function(t,n){t.exports='<div id="rdocs-light-tooltip-content">\n <h3 id="rdocs-light-tooltip-title"></h3>\n <div id="rdocs-light-tooltip-description">Visit the rdocumentation\n <a href=\'https://www.rdocumentation.org\'>site</a> to search yourself.</div>\n</div>\n'}])}); |
{ | ||
"name": "@datacamp/rdocs-light", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Embeddable RDocumentation widget", | ||
@@ -5,0 +5,0 @@ "main": "lib//rdocs-light.min.js", |
Sorry, the diff of this file is not supported yet
449156
0