puppeteer/assets/js/1be78505.b9d01bb4.js
release-please[bot] ece4755054 deploy: 61605a0ed9
2023-05-02 17:06:13 +00:00

1 line
14 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[29514,30889],{51272:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Te});var a=n(67294),r=n(86010),l=n(89712),o=n(65319),i=n(56391),c=n(53605),s=n(27391),d=n(25682),u=n(98461),m=n(92210),b=n(6379),p=n(58010);const f="backToTopButton_sjWU",h="backToTopButtonShow_xfvO";function v(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,n]=(0,a.useState)(!1),r=(0,a.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,b.Ct)();return(0,b.RF)((({scrollY:t},a)=>{const l=null==a?void 0:a.scrollY;l&&(r.current?r.current=!1:t>=l?(o(),n(!1)):t<e?n(!1):t+window.innerHeight<document.documentElement.scrollHeight&&n(!0))})),(0,p.S)((e=>{e.location.hash&&(r.current=!0,n(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,m.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",o.k.common.backToTopButton,f,e&&h),type:"button",onClick:t})}var g=n(76775),E=n(24683),y=n(86016),k=n(49572);function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_.apply(this,arguments)}function C(e){return a.createElement("svg",_({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const O="collapseSidebarButton_PEFL",S="collapseSidebarButtonIcon_kv0_";function I({onClick:e}){return a.createElement("button",{type:"button",title:(0,m.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,m.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",O),onClick:e},a.createElement(C,{className:S}))}var N=n(64738),w=n(37806);const x=Symbol("EmptyContext"),j=a.createContext(x);function P({children:e}){const[t,n]=(0,a.useState)(null),r=(0,a.useMemo)((()=>({expandedItem:t,setExpandedItem:n})),[t]);return a.createElement(j.Provider,{value:r},e)}var T=n(52647),Z=n(87275),L=n(31984),A=n(30358);function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},M.apply(this,arguments)}function B(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function F({categoryLabel:e,onClick:t}){return a.createElement("button",{"aria-label":(0,m.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:e}),type:"button",className:"clean-btn menu__caret",onClick:t})}function H(e){var{item:t,onItemClick:n,activePath:l,level:i,index:s}=e,d=B(e,["item","onItemClick","activePath","level","index"]);const{items:u,label:m,collapsible:b,className:p,href:f}=t,{docs:{sidebar:{autoCollapseCategories:h}}}=(0,y.L)(),v=function(e){const t=(0,A.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,c.Wl)(e):void 0),[e,t])}(t),g=(0,c._F)(t,l),E=(0,Z.Mg)(f,l),{collapsed:k,setCollapsed:_}=(0,T.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:C,setExpandedItem:O}=function(){const e=(0,a.useContext)(j);if(e===x)throw new w.i6("DocSidebarItemsExpandedStateProvider");return e}(),S=(e=!k)=>{O(e?null:s),_(e)};return function({isActive:e,collapsed:t,updateCollapsed:n}){const r=(0,w.D9)(e);(0,a.useEffect)((()=>{e&&!r&&t&&n(!1)}),[e,r,t,n])}({isActive:g,collapsed:k,updateCollapsed:S}),(0,a.useEffect)((()=>{b&&null!=C&&C!==s&&h&&_(!0)}),[b,C,s,_,h]),a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemCategory,o.k.docs.docSidebarItemCategoryLevel(i),"menu__list-item",{"menu__list-item--collapsed":k},p)},a.createElement("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":E})},a.createElement(L.Z,M({className:(0,r.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!f&&b,"menu__link--active":g}),onClick:b?e=>{null==n||n(t),f?S(!1):(e.preventDefault(),S())}:()=>{null==n||n(t)},"aria-current":E?"page":void 0,"aria-expanded":b?!k:void 0,href:b?null!=v?v:"#":v},d),m),f&&b&&a.createElement(F,{categoryLabel:m,onClick:e=>{e.preventDefault(),S()}})),a.createElement(T.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:k},a.createElement(ee,{items:u,tabIndex:k?-1:0,onItemClick:n,activePath:l,level:i+1})))}var W=n(47785),D=n(40379);const R="menuExternalLink_NmtK";function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},V.apply(this,arguments)}function z(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function U(e){var{item:t,onItemClick:n,activePath:l,level:i,index:s}=e,d=z(e,["item","onItemClick","activePath","level","index"]);const{href:u,label:m,className:b,autoAddBaseUrl:p}=t,f=(0,c._F)(t,l),h=(0,W.Z)(u);return a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",b),key:m},a.createElement(L.Z,V({className:(0,r.Z)("menu__link",!h&&R,{"menu__link--active":f}),autoAddBaseUrl:p,"aria-current":f?"page":void 0,to:u},h&&{onClick:n?()=>n(t):void 0},d),m,!h&&a.createElement(D.Z,null)))}const K="menuHtmlItem_M9Kj";function G({item:e,level:t,index:n}){const{value:l,defaultStyle:i,className:c}=e;return a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(t),i&&[K,"menu__list-item"],c),key:n,dangerouslySetInnerHTML:{__html:l}})}function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Y.apply(this,arguments)}function q(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function X(e){var{item:t}=e,n=q(e,["item"]);switch(t.type){case"category":return a.createElement(H,Y({item:t},n));case"html":return a.createElement(G,Y({item:t},n));default:return a.createElement(U,Y({item:t},n))}}function J(){return J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},J.apply(this,arguments)}function Q(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $(e){var{items:t}=e,n=Q(e,["items"]);return a.createElement(P,null,t.map(((e,t)=>a.createElement(X,J({key:t,item:e,index:t},n)))))}const ee=(0,a.memo)($),te="menu_SIkG",ne="menuWithAnnouncementBar_GW3s";function ae({path:e,sidebar:t,className:n}){const l=function(){const{isActive:e}=(0,N.nT)(),[t,n]=(0,a.useState)(e);return(0,b.RF)((({scrollY:t})=>{e&&n(0===t)}),[e]),e&&t}();return a.createElement("nav",{"aria-label":(0,m.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",te,l&&ne,n)},a.createElement("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list")},a.createElement(ee,{items:t,activePath:e,level:1})))}const re="sidebar_njMd",le="sidebarWithHideableNavbar_wUlq",oe="sidebarHidden_VK0M",ie="sidebarLogo_isFc";function ce({path:e,sidebar:t,onCollapse:n,isHidden:l}){const{navbar:{hideOnScroll:o},docs:{sidebar:{hideable:i}}}=(0,y.L)();return a.createElement("div",{className:(0,r.Z)(re,o&&le,l&&oe)},o&&a.createElement(k.Z,{tabIndex:-1,className:ie}),a.createElement(ae,{path:e,sidebar:t}),i&&a.createElement(I,{onClick:n}))}const se=a.memo(ce);var de=n(36847),ue=n(57796);const me=({sidebar:e,path:t})=>{const n=(0,ue.e)();return a.createElement("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list")},a.createElement(ee,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&n.toggle(),"link"===e.type&&n.toggle()},level:1}))};function be(e){return a.createElement(de.Zo,{component:me,props:e})}const pe=a.memo(be);function fe(){return fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},fe.apply(this,arguments)}function he(e){const t=(0,E.i)(),n="desktop"===t||"ssr"===t,r="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement(se,fe({},e)),r&&a.createElement(pe,fe({},e)))}const ve="expandButton_m80_",ge="expandButtonIcon_BlDH";function Ee({toggleSidebar:e}){return a.createElement("div",{className:ve,title:(0,m.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,m.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e},a.createElement(C,{className:ge}))}const ye={docSidebarContainer:"docSidebarContainer_b6E3",docSidebarContainerHidden:"docSidebarContainerHidden_b3ry",sidebarViewport:"sidebarViewport_Xe31"};function ke({children:e}){const t=(0,d.V)();var n;return a.createElement(a.Fragment,{key:null!==(n=null==t?void 0:t.name)&&void 0!==n?n:"noSidebar"},e)}function _e({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:n}){const{pathname:l}=(0,g.TH)(),[i,c]=(0,a.useState)(!1),s=(0,a.useCallback)((()=>{i&&c(!1),n((e=>!e))}),[n,i]);return a.createElement("aside",{className:(0,r.Z)(o.k.docs.docSidebarContainer,ye.docSidebarContainer,t&&ye.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ye.docSidebarContainer)&&t&&c(!0)}},a.createElement(ke,null,a.createElement("div",{className:(0,r.Z)(ye.sidebarViewport,i&&ye.sidebarViewportHidden)},a.createElement(he,{sidebar:e,path:l,onCollapse:s,isHidden:i}),i&&a.createElement(Ee,{toggleSidebar:s}))))}const Ce={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function Oe({hiddenSidebarContainer:e,children:t}){const n=(0,d.V)();return a.createElement("main",{className:(0,r.Z)(Ce.docMainContainer,(e||!n)&&Ce.docMainContainerEnhanced)},a.createElement("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",Ce.docItemWrapper,e&&Ce.docItemWrapperEnhanced)},t))}const Se="docPage__5DB",Ie="docsWrapper_BCFX";function Ne({children:e}){const t=(0,d.V)(),[n,r]=(0,a.useState)(!1);return a.createElement(u.Z,{wrapperClassName:Ie},a.createElement(v,null),a.createElement("div",{className:Se},t&&a.createElement(_e,{sidebar:t.items,hiddenSidebarContainer:n,setHiddenSidebarContainer:r}),a.createElement(Oe,{hiddenSidebarContainer:n},e)))}var we=n(30889),xe=n(68263);function je(){return je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},je.apply(this,arguments)}function Pe(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(xe.Z,{version:t.version,tag:(0,i.os)(t.pluginId,t.version)}),a.createElement(l.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function Te(e){const{versionMetadata:t}=e,n=(0,c.hI)(e);if(!n)return a.createElement(we.default,null);const{docElement:i,sidebarName:u,sidebarItems:m}=n;return a.createElement(a.Fragment,null,a.createElement(Pe,je({},e)),a.createElement(l.FG,{className:(0,r.Z)(o.k.wrapper.docsPages,o.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:u,items:m},a.createElement(Ne,null,i)))))}},30889:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(67294),r=n(92210),l=n(89712),o=n(98461);function i(){return a.createElement(a.Fragment,null,a.createElement(l.d,{title:(0,r.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(o.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]);