diff --git a/239.69b7fd4c9a2ecc3706ea.js.download b/239.69b7fd4c9a2ecc3706ea.js.download new file mode 100644 index 00000000000..5bb362058ac --- /dev/null +++ b/239.69b7fd4c9a2ecc3706ea.js.download @@ -0,0 +1 @@ +(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[239],{"4JlD":function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?c(a(e),(function(a){var i=encodeURIComponent(r(a))+n;return o(e[a])?c(e[a],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[a]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function c(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()})).join("")}catch(e){return t}}))}(f.pathname):f.pathname),"about:"===O.protocol&&"blank"===O.pathname&&(O.protocol="",O.pathname=""),j&&"/"!==e[0]&&(O.pathname=O.pathname.substr(1)),u&&!d.test(u)&&"/"!==e.slice(-1)&&"/"===O.pathname&&(O.pathname=""),O.path=O.pathname+O.search,O.auth=[f.username,f.password].map(decodeURIComponent).filter(Boolean).join(":"),O.port=f.port,g&&!O.host.endsWith(g)&&(O.host+=g,O.port=g.slice(1)),O.href=k?""+O.pathname+O.search+O.hash:a(O);var w=/^(file)/.test(O.href)?["host","hostname"]:[];return Object.keys(O).forEach((function(e){~w.indexOf(e)||(O[e]=O[e]||null)})),O}t.parse=g,t.format=a,t.resolve=p,t.resolveObject=function(e,t){return g(p(e,t))},t.Url=h},YFqc:function(e,t,n){e.exports=n("cTJO")},cTJO:function(e,t,n){"use strict";var r=n("J4zp"),o=n("284h");t.__esModule=!0,t.default=void 0;var c=o(n("FdF9")),a=n("elyg"),i=n("nOHt"),s=n("vNVm"),l={};function u(e,t,n,r){if(e&&(0,a.isLocalURL)(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;l[t+"%"+n+(o?"%"+o:"")]=!0}}var f=function(e){var t=!1!==e.prefetch,n=(0,i.useRouter)(),o=n&&n.asPath||"/",f=c.default.useMemo((function(){var t=(0,a.resolveHref)(o,e.href,!0),n=r(t,2),c=n[0],i=n[1];return{href:c,as:e.as?(0,a.resolveHref)(o,e.as):i||c}}),[o,e.href,e.as]),p=f.href,h=f.as,d=e.children,b=e.replace,v=e.shallow,m=e.scroll,y=e.locale;"string"===typeof d&&(d=c.default.createElement("a",null,d));var g=c.Children.only(d),O=g&&"object"===typeof g&&g.ref,j=(0,s.useIntersection)({rootMargin:"200px"}),k=r(j,2),x=k[0],w=k[1],L=c.default.useCallback((function(e){x(e),O&&("function"===typeof O?O(e):"object"===typeof O&&(O.current=e))}),[O,x]);(0,c.useEffect)((function(){var e=w&&t&&(0,a.isLocalURL)(p),r="undefined"!==typeof y?y:n&&n.locale,o=l[p+"%"+h+(r?"%"+r:"")];e&&!o&&u(n,p,h,{locale:r})}),[h,p,w,y,t,n]);var C={ref:L,onClick:function(e){g.props&&"function"===typeof g.props.onClick&&g.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,c,i,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,a.isLocalURL)(n))&&(e.preventDefault(),null==i&&(i=r.indexOf("#")<0),t[o?"replace":"push"](n,r,{shallow:c,locale:s,scroll:i}))}(e,n,p,h,b,v,m,y)},onMouseEnter:function(e){(0,a.isLocalURL)(p)&&(g.props&&"function"===typeof g.props.onMouseEnter&&g.props.onMouseEnter(e),u(n,p,h,{priority:!0}))}};if(e.passHref||"a"===g.type&&!("href"in g.props)){var R="undefined"!==typeof y?y:n&&n.locale,U=n&&n.isLocaleDomain&&(0,a.getDomainLocale)(h,R,n&&n.locales,n&&n.domainLocales);C.href=U||(0,a.addBasePath)((0,a.addLocale)(h,R,n&&n.defaultLocale))}return c.default.cloneElement(g,C)};t.default=f},kd2E:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,c){t=t||"&",n=n||"=";var a={};if("string"!==typeof e||0===e.length)return a;var i=/\+/g;e=e.split(t);var s=1e3;c&&"number"===typeof c.maxKeys&&(s=c.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u=0?(f=b.substr(0,v),p=b.substr(v+1)):(f=b,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},pwnY:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return i}));"@media (max-width: ".concat(1450,"px)");var r="@media (max-width: ".concat(1250,"px)"),o=800,c="@media (max-width: ".concat(o,"px)"),a=496,i="@media (max-width: ".concat(a,"px)")},s4NR:function(e,t,n){"use strict";t.decode=t.parse=n("kd2E"),t.encode=t.stringify=n("4JlD")},uPIh:function(e,t,n){"use strict";n.r(t),n.d(t,"DocsNavMenu",(function(){return j})),n.d(t,"DocsLinks",(function(){return A})),n.d(t,"DocsLink",(function(){return F}));var r=n("wx14"),o=n("AeFk"),c=n("KQm4"),a=n("DSFK"),i=n("25BE"),s=n("BsWD"),l=n("PYwp");var u=n("rePB"),f=n("20a2"),p=n("FdF9"),h=n("pwnY"),d=n("GRtX");function b(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,c=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw c}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"";return t.map((function(t,r){return t.subLinks&&t.subLinks.length>0&&(t.subLinks=e(t.subLinks,"".concat(n?n+",":n).concat(r))),y(y({},t),{},{index:"".concat(n?n+",":n).concat(r)})}))},x=function e(t,n){if(n){var r=n.split(","),o=(h=r,Object(a.a)(h)||Object(i.a)(h)||Object(s.a)(h)||Object(l.a)()),u=o[0],f=o.slice(1),p=t[Number.parseInt(u)];return U(p)?0===f.length?[p]:[p].concat(Object(c.a)(e(p.subLinks,f.join(",")))).flat():[]}var h;return[]},w=function e(t,n){var r,o=b(t);try{for(o.s();!(r=o.n()).done;){var c=r.value;if(c.link&&L(c.link)===n)return c;if(U(c)){var a=e(c.subLinks,n);if(a)return a}}}catch(i){o.e(i)}finally{o.f()}};function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if((e=e.trim()).startsWith("/")&&!e.startsWith("//"))return e.split(/[\?#]/)[0];try{return new URL(e).pathname}catch(t){if(t instanceof TypeError)return""}}function C(){return Object(f.useRouter)().asPath.split(/[\?#]/)[0]}function R(e,t){if(e.link&&L(e.link)===t)return!0;if(U(e)){var n,r=b(e.subLinks);try{for(r.s();!(n=r.n()).done;){if(R(n.value,t))return!0}}catch(o){r.e(o)}finally{r.f()}}return!1}var U=function(e){return"undefined"!==typeof e.subLinks&&e.subLinks.length>0},A=function(e){var t=e.links,n=Object(p.useMemo)((function(){return k(t)}),[t]),r=C(),a=Object(p.useState)(w(n,r)),i=a[0],s=a[1],l=Object(p.useContext)(g),u=Object(p.useState)(l?[]:x(n,null===i||void 0===i?void 0:i.index)),f=u[0],h=u[1];return Object(o.c)(E,{links:n,unfoldedLinks:f,onClick:function(e){return function(){U(e)?f.find((function(t){return t.index===e.index}))?h(f.filter((function(t){return t.index!==e.index}))):h([].concat(Object(c.a)(f),[e])):(null===i||void 0===i?void 0:i.index)!==e.index&&(h(x(n,e.index)),s(e))}}})},E=function(e){var t=e.links,n=e.unfoldedLinks,r=e.onClick;return Object(o.c)(p.default.Fragment,null,t.map((function(e,t){return Object(o.c)(F,{link:e,key:t,unfoldedLinks:n,onClick:r})})))},P={name:"pozfux",styles:"display:flex;align-items:center;margin-left:3px;user-select:none"},S={name:"1udlf1s",styles:"height:4px;width:4px;background-color:#c0c0c0;border-radius:50%;margin-right:16px;display:block;flex-shrink:0"},I={name:"1ad2wme",styles:"padding:7px 3px;display:block;user-select:none"},D={name:"1ir8wm6",styles:"padding-left:12px;border-left:1px solid #ccc;margin:3px 0 3px 5px"},F=function(e){var t,n,c=e.link,a=e.unfoldedLinks,i=e.onClick,s=C(),l=R(c,s),u=a.find((function(e){return c.index===e.index})),f=Object(p.useRef)(null),b=c.link&&c.link.length>0?d.a:"div",v=c.link&&!c.link.includes("/c/docs");return Object(p.useEffect)((function(){if(l&&f.current&&!u&&window.innerWidth>h.b){var e=f.current.getBoundingClientRect();if(e.top>window.innerHeight-100||e.bottom<100){var t=document.querySelector(".docs-nav-scroll-container"),n=null===t||void 0===t?void 0:t.getBoundingClientRect();null===t||void 0===t||t.scrollTo({behavior:"smooth",top:(null===t||void 0===t?void 0:t.scrollTop)+e.top-((null===n||void 0===n?void 0:n.top)||0)-200})}}}),[l,u]),Object(o.c)(p.default.Fragment,null,Object(o.c)("div",{css:P},U(c)?Object(o.c)("svg",{onClick:i(c),width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",css:Object(o.b)({transform:u?"rotate(90deg)":"",marginRight:"14px",flexShrink:0,cursor:"pointer"},"","")},Object(o.c)("path",{d:"M1.4 8.56L4.67 5M1.4 1.23L4.66 4.7",stroke:"#999",strokeLinecap:"square"})):Object(o.c)("div",{css:S}),Object(o.c)(b,Object(r.a)({role:"button",css:I,style:{fontWeight:!l||null!==(t=c.subLinks)&&void 0!==t&&t.length?"normal":"bold",color:u?"black":!l||null!==(n=c.subLinks)&&void 0!==n&&n.length?"#626262":"#1A73E8"},onClick:i(c)},c.link&&{href:c.link},v&&{target:"_blank"}),Object(o.c)("div",{ref:f},c.text))),U(c)&&u&&Object(o.c)("div",{css:D},Object(o.c)(E,{links:c.subLinks,unfoldedLinks:a,onClick:i})))}}}]); \ No newline at end of file