diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-28 01:49:48 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-28 01:49:48 -0300 |
commit | a8b243f8b3723955d160d1838c22017166dd0e18 (patch) | |
tree | 8ca4246e11b5c78896ffa560083e6a1f291162bf /docs/3.189ac30f.js | |
parent | 98d4292f1c492c217f3dde9c44052a15b62137b9 (diff) | |
download | PSP.git-a8b243f8b3723955d160d1838c22017166dd0e18.tar.gz PSP.git-a8b243f8b3723955d160d1838c22017166dd0e18.tar.xz PSP.git-a8b243f8b3723955d160d1838c22017166dd0e18.zip |
Documentation update
Diffstat (limited to 'docs/3.189ac30f.js')
-rw-r--r-- | docs/3.189ac30f.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/3.189ac30f.js b/docs/3.189ac30f.js new file mode 100644 index 0000000..81f28cd --- /dev/null +++ b/docs/3.189ac30f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{166:function(e,t,a){"use strict";a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return g}));var r=a(0),n=a.n(r);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function s(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)a=o[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)a=o[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var i=n.a.createContext({}),p=function(e){var t=n.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},u=function(e){var t=p(e.components);return n.a.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},y=n.a.forwardRef((function(e,t){var a=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),u=p(a),y=r,g=u["".concat(l,".").concat(y)]||u[y]||m[y]||o;return a?n.a.createElement(g,c(c({ref:t},i),{},{components:a})):n.a.createElement(g,c({ref:t},i))}));function g(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=a.length,l=new Array(o);l[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:r,l[1]=c;for(var i=2;i<o;i++)l[i]=a[i];return n.a.createElement.apply(null,l)}return n.a.createElement.apply(null,a)}y.displayName="MDXCreateElement"},192:function(e,t,a){"use strict";const r=(e,{target:t=document.body}={})=>{const a=document.createElement("textarea"),r=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";const n=document.getSelection();let o=!1;n.rangeCount>0&&(o=n.getRangeAt(0)),t.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch(c){}return a.remove(),o&&(n.removeAllRanges(),n.addRange(o)),r&&r.focus(),l};e.exports=r,e.exports.default=r},193:function(e,t){e.exports.parse=function(e){var t=e.split(",").map((function(e){return function(e){if(/^-?\d+$/.test(e))return parseInt(e,10);var t;if(t=e.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){var a=t[1],r=t[2],n=t[3];if(a&&n){var o=[],l=(a=parseInt(a))<(n=parseInt(n))?1:-1;"-"!=r&&".."!=r&&"\u2025"!=r||(n+=l);for(var c=a;c!=n;c+=l)o.push(c);return o}}return[]}(e)}));return 0===t.length?[]:1===t.length?Array.isArray(t[0])?t[0]:t:t.reduce((function(e,t){return Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),e.concat(t)}))}},194:function(e,t,a){"use strict";var r=a(0),n=a.n(r),o=a(169),l=a(166),c=a(187),s=a(174),i=a(197),p=a(167),u=a(129),m=a.n(u);const y=["January","February","March","April","May","June","July","August","September","October","November","December"];t.a=function(e){const{children:t,frontMatter:a,metadata:r,truncated:u,isBlogPostPage:g=!1}=e,{date:h,permalink:d,tags:f,readingTime:b}=r,{author:v,title:k,image:E}=a,j=a.author_url||a.authorURL,O=a.author_title||a.authorTitle,N=a.author_image_url||a.authorImageURL,x=Object(p.a)(E,{absolute:!0});return n.a.createElement(n.a.Fragment,null,n.a.createElement(c.a,null,E&&n.a.createElement("meta",{property:"og:image",content:x}),E&&n.a.createElement("meta",{property:"twitter:image",content:x}),E&&n.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+k})),n.a.createElement("article",{className:g?void 0:"margin-bottom--xl"},(()=>{const e=g?"h1":"h2",t=h.substring(0,10).split("-"),a=t[0],r=y[parseInt(t[1],10)-1],l=parseInt(t[2],10);return n.a.createElement("header",null,n.a.createElement(e,{className:Object(o.a)("margin-bottom--sm",m.a.blogPostTitle)},g?k:n.a.createElement(s.a,{to:d},k)),n.a.createElement("div",{className:"margin-vert--md"},n.a.createElement("time",{dateTime:h,className:m.a.blogPostDate},r," ",l,", ",a," ",b&&n.a.createElement(n.a.Fragment,null," \xb7 ",Math.ceil(b)," min read"))),n.a.createElement("div",{className:"avatar margin-vert--md"},N&&n.a.createElement("a",{className:"avatar__photo-link avatar__photo",href:j,target:"_blank",rel:"noreferrer noopener"},n.a.createElement("img",{src:N,alt:v})),n.a.createElement("div",{className:"avatar__intro"},v&&n.a.createElement(n.a.Fragment,null,n.a.createElement("h4",{className:"avatar__name"},n.a.createElement("a",{href:j,target:"_blank",rel:"noreferrer noopener"},v)),n.a.createElement("small",{className:"avatar__subtitle"},O)))))})(),n.a.createElement("section",{className:"markdown"},n.a.createElement(l.a,{components:i.a},t)),(f.length>0||u)&&n.a.createElement("footer",{className:"row margin-vert--lg"},f.length>0&&n.a.createElement("div",{className:"col"},n.a.createElement("strong",null,"Tags:"),f.map(({label:e,permalink:t})=>n.a.createElement(s.a,{key:t,className:"margin-horiz--sm",to:t},e))),u&&n.a.createElement("div",{className:"col text--right"},n.a.createElement(s.a,{to:r.permalink,"aria-label":"Read more about "+k},n.a.createElement("strong",null,"Read More"))))))}},197:function(e,t,a){"use strict";var r=a(2),n=a(0),o=a.n(n),l=a(174),c=a(169),s={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},i={Prism:a(36).a,theme:s};function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var m=/\r\n|\r|\n/,y=function(e){0===e.length?e.push({types:["plain"],content:"",empty:!0}):1===e.length&&""===e[0].content&&(e[0].empty=!0)},g=function(e,t){var a=e.length;return a>0&&e[a-1]===t?e:e.concat(t)},h=function(e,t){var a=e.plain,r=Object.create(null),n=e.styles.reduce((function(e,a){var r=a.languages,n=a.style;return r&&!r.includes(t)||a.types.forEach((function(t){var a=u({},e[t],n);e[t]=a})),e}),r);return n.root=a,n.plain=u({},a,{backgroundColor:null}),n};function d(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(a[r]=e[r]);return a}var f=function(e){function t(){for(var t=this,a=[],r=arguments.length;r--;)a[r]=arguments[r];e.apply(this,a),p(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var a=e.theme?h(e.theme,e.language):void 0;return t.themeDict=a})),p(this,"getLineProps",(function(e){var a=e.key,r=e.className,n=e.style,o=u({},d(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==n&&(o.style=void 0!==o.style?u({},o.style,n):n),void 0!==a&&(o.key=a),r&&(o.className+=" "+r),o})),p(this,"getStyleForToken",(function(e){var a=e.types,r=e.empty,n=a.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===n&&"plain"===a[0])return r?{display:"inline-block"}:void 0;if(1===n&&!r)return o[a[0]];var l=r?{display:"inline-block"}:{},c=a.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(c))}})),p(this,"getTokenProps",(function(e){var a=e.key,r=e.className,n=e.style,o=e.token,l=u({},d(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==n&&(l.style=void 0!==l.style?u({},l.style,n):n),void 0!==a&&(l.key=a),r&&(l.className+=" "+r),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,a=e.language,r=e.code,n=e.children,o=this.getThemeDict(this.props),l=t.languages[a];return n({tokens:function(e){for(var t=[[]],a=[e],r=[0],n=[e.length],o=0,l=0,c=[],s=[c];l>-1;){for(;(o=r[l]++)<n[l];){var i=void 0,p=t[l],u=a[l][o];if("string"==typeof u?(p=l>0?p:["plain"],i=u):(p=g(p,u.type),u.alias&&(p=g(p,u.alias)),i=u.content),"string"==typeof i){var h=i.split(m),d=h.length;c.push({types:p,content:h[0]});for(var f=1;f<d;f++)y(c),s.push(c=[]),c.push({types:p,content:h[f]})}else l++,t.push(p),a.push(i),r.push(0),n.push(i.length)}l--,t.pop(),a.pop(),r.pop(),n.pop()}return y(c),s}(void 0!==l?t.tokenize(r,l,a):[r]),className:"prism-code language-"+a,style:void 0!==o?o.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(n.Component),b=a(192),v=a.n(b),k=a(193),E=a.n(k),j=a(165),O={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},N=a(181);var x=()=>{const{siteConfig:{themeConfig:{prism:e={}}}}=Object(j.a)(),{isDarkTheme:t}=Object(N.a)(),a=e.theme||O,r=e.darkTheme||a;return t?r:a},w=a(93),P=a.n(w);const T=/{([\d,-]+)}/,C=(e=["js","jsBlock","jsx","python","html"])=>{const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},a=["highlight-next-line","highlight-start","highlight-end"].join("|"),r=e.map(e=>`(?:${t[e].start}\\s*(${a})\\s*${t[e].end})`).join("|");return new RegExp(`^\\s*(?:${r})\\s*$`)},_=/title=".*"/;var D=({children:e,className:t,metastring:a})=>{const{siteConfig:{themeConfig:{prism:l={}}}}=Object(j.a)(),[s,p]=Object(n.useState)(!1),[u,m]=Object(n.useState)(!1);Object(n.useEffect)(()=>{m(!0)},[]);const y=Object(n.useRef)(null);let g=[],h="";const d=x();if(a&&T.test(a)){const e=a.match(T)[1];g=E.a.parse(e).filter(e=>e>0)}a&&_.test(a)&&(h=a.match(_)[0].split("title=")[1].replace(/"+/g,""));let b=t&&t.replace(/language-/,"");!b&&l.defaultLanguage&&(b=l.defaultLanguage);let k=e.replace(/\n$/,"");if(0===g.length&&void 0!==b){let t="";const a=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return C(["js","jsBlock"]);case"jsx":case"tsx":return C(["js","jsBlock","jsx"]);case"html":return C(["js","jsBlock","html"]);case"python":case"py":return C(["python"]);default:return C()}})(b),r=e.replace(/\n$/,"").split("\n");let n;for(let e=0;e<r.length;){const o=e+1,l=r[e].match(a);if(null!==l){switch(l.slice(1).reduce((e,t)=>e||t,void 0)){case"highlight-next-line":t+=o+",";break;case"highlight-start":n=o;break;case"highlight-end":t+=`${n}-${o-1},`}r.splice(e,1)}else e+=1}g=E.a.parse(t),k=r.join("\n")}const O=()=>{v()(k),p(!0),setTimeout(()=>p(!1),2e3)};return o.a.createElement(f,Object(r.a)({},i,{key:u,theme:d,code:k,language:b}),({className:e,style:t,tokens:a,getLineProps:n,getTokenProps:l})=>o.a.createElement(o.a.Fragment,null,h&&o.a.createElement("div",{style:t,className:P.a.codeBlockTitle},h),o.a.createElement("div",{className:P.a.codeBlockContent},o.a.createElement("button",{ref:y,type:"button","aria-label":"Copy code to clipboard",className:Object(c.a)(P.a.copyButton,{[P.a.copyButtonWithTitle]:h}),onClick:O},s?"Copied":"Copy"),o.a.createElement("div",{tabIndex:"0",className:Object(c.a)(e,P.a.codeBlock,{[P.a.codeBlockWithTitle]:h})},o.a.createElement("div",{className:P.a.codeBlockLines,style:t},a.map((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const a=n({line:e,key:t});return g.includes(t+1)&&(a.className=a.className+" docusaurus-highlight-code-line"),o.a.createElement("div",Object(r.a)({key:t},a),e.map((e,t)=>o.a.createElement("span",Object(r.a)({key:t},l({token:e,key:t})))))}))))))},S=(a(94),a(95)),B=a.n(S);var A=e=>function({id:t,...a}){const{siteConfig:{themeConfig:{navbar:{hideOnScroll:r=!1}={}}={}}={}}=Object(j.a)();return t?o.a.createElement(e,a,o.a.createElement("a",{"aria-hidden":"true",tabIndex:"-1",className:Object(c.a)("anchor",{[B.a.enhancedAnchor]:!r}),id:t}),a.children,o.a.createElement("a",{"aria-hidden":"true",tabIndex:"-1",className:"hash-link",href:"#"+t,title:"Direct link to heading"},"#")):o.a.createElement(e,a)},L=a(96),$=a.n(L);t.a={code:e=>{const{children:t}=e;return"string"==typeof t?t.includes("\n")?o.a.createElement(D,e):o.a.createElement("code",e):t},a:e=>/\.[^./]+$/.test(e.href)?o.a.createElement("a",e):o.a.createElement(l.a,e),pre:e=>o.a.createElement("div",Object(r.a)({className:$.a.mdxCodeBlock},e)),h1:A("h1"),h2:A("h2"),h3:A("h3"),h4:A("h4"),h5:A("h5"),h6:A("h6")}}}]);
\ No newline at end of file |