1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(8527)}])},1686:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(5893);n(7294);var o=n(1664),a=n.n(o);function i(e){let t=e.target||(e.href.startsWith("http")?"_blank":void 0);return(0,r.jsx)(a(),{...e,target:t,className:e.className,children:e.children})}},8199:function(e,t){"use strict";var n,r,o,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return u},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return c},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let i="refresh",s="navigate",c="restore",l="server-patch",u="prefetch",f="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(a=r||(r={})).fresh="fresh",a.reusable="reusable",a.expired="expired",a.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(8337);function o(e,t,o,a){{let i=n(5183).normalizeLocalePath,s=n(4166).detectDomainLocale,c=t||i(e,o).detectedLocale,l=s(a,void 0,c);if(l){let t="http"+(l.http?"":"s")+"://",n=c===l.defaultLocale?"":"/"+c;return""+t+l.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(8754),o=n(5893),a=r._(n(7294)),i=n(6075),s=n(3955),c=n(8041),l=n(9903),u=n(5490),f=n(1928),d=n(257),p=n(4229),m=n(7195),h=n(9470),g=n(8199),v=new Set;function y(e,t,n,r,o,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>a?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let x=a.default.forwardRef(function(e,t){let n,r;let{href:c,as:v,children:x,prefetch:S=null,passHref:w,replace:j,shallow:k,scroll:O,locale:E,onClick:P,onMouseEnter:_,onTouchStart:A,legacyBehavior:I=!1,...C}=e;n=x,I&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let F=a.default.useContext(f.RouterContext),T=a.default.useContext(d.AppRouterContext),D=null!=F?F:T,N=!F,R=!1!==S,L=null===S?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:M,as:H}=a.default.useMemo(()=>{if(!F){let e=b(c);return{href:e,as:v?b(v):e}}let[e,t]=(0,i.resolveHref)(F,c,!0);return{href:e,as:v?(0,i.resolveHref)(F,v):t||e}},[F,c,v]),z=a.default.useRef(M),$=a.default.useRef(H);I&&(r=a.default.Children.only(n));let q=I?r&&"object"==typeof r&&r.ref:t,[B,V,U]=(0,p.useIntersection)({rootMargin:"200px"}),Z=a.default.useCallback(e=>{($.current!==H||z.current!==M)&&(U(),$.current=H,z.current=M),B(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[H,q,M,U,B]);a.default.useEffect(()=>{D&&V&&R&&y(D,M,H,{locale:E},{kind:L},N)},[H,M,V,E,R,null==F?void 0:F.locale,D,N,L]);let K={ref:Z,onClick(e){I||"function"!=typeof P||P(e),I&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),D&&!e.defaultPrevented&&function(e,t,n,r,o,i,c,l,u){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!u&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==c||c;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:l,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};u?a.default.startTransition(d):d()}(e,D,M,H,j,k,O,E,N)},onMouseEnter(e){I||"function"!=typeof _||_(e),I&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&(R||!N)&&y(D,M,H,{locale:E,priority:!0,bypassPrefetchedCheck:!0},{kind:L},N)},onTouchStart:function(e){I||"function"!=typeof A||A(e),I&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&(R||!N)&&y(D,M,H,{locale:E,priority:!0,bypassPrefetchedCheck:!0},{kind:L},N)}};if((0,l.isAbsoluteUrl)(H))K.href=H;else if(!I||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==E?E:null==F?void 0:F.locale,t=(null==F?void 0:F.isLocaleDomain)&&(0,m.getDomainLocale)(H,e,null==F?void 0:F.locales,null==F?void 0:F.domainLocales);K.href=t||(0,h.addBasePath)((0,u.addLocale)(H,e,null==F?void 0:F.defaultLocale))}return I?a.default.cloneElement(r,K):(0,o.jsx)("a",{...C,...K,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(4165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let r=n(7294),o=n(4474),a="function"==typeof IntersectionObserver,i=new Map,s=[];function c(e){let{rootRef:t,rootMargin:n,disabled:c}=e,l=c||!a,[u,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(l||u)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:a}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=i.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},s.push(n),i.set(n,t),t}(n);return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),i.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!u){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,n,t,u,d.current]),[p,u,(0,r.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7443:function(e,t,n){"use strict";var r=n(3454);n(1479);var o=n(7294),a=o&&"object"==typeof o&&"default"in o?o:{default:o},i=void 0!==r&&r.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,a=void 0===o?i:o;l(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",l("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var c=document.querySelector('meta[property="csp-nonce"]');this._nonce=c?c.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(i||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(l(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return i||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){i||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}
1}else{var r=this._tags[e];l(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&l(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(r,n):o.appendChild(r),r},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function l(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},f={};function d(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return f[r]||(f[r]="jsx-"+u(e+"-"+n)),f[r]}function p(e,t){var n=e+t;return f[n]||(f[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),f[n]}var m=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,o=t.optimizeForSpeed,a=void 0!==o&&o;this._sheet=r||new c({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,o=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var a=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=a,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return a.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var o=d(r,n);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return p(o,e)}):[p(o,t)]}}return{styleId:d(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),h=o.createContext(null);h.displayName="StyleSheetContext";var g=a.default.useInsertionEffect||a.default.useLayoutEffect,v=ne
1w m;function y(e){var t=v||o.useContext(h);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},t.style=y},645:function(e,t,n){"use strict";e.exports=n(7443).style},8527:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ny}});var r=n(5893),o=n(7294),a=n(9008),i=n.n(a),s=n(1686),c=n(645),l=n.n(c);function u(e){let{children:t,landing:n}=e,a=(0,r.jsx)(s.F,{href:"https://stripe.com",children:(0,r.jsxs)("svg",{title:"Built by Stripe",width:"99",height:"28",viewBox:"0 0 99 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M1.98432 20H6.27432C8.44932 20 9.81432 18.905 9.81432 17.03C9.81432 15.665 9.00432 14.72 7.78932 14.39C8.61432 14.105 9.45432 13.415 9.45432 12.035C9.45432 10.235 8.23932 9.23 5.95932 9.23H1.98432V20ZM3.37932 13.85V10.445H5.83932C7.27932 10.445 8.07432 11 8.07432 12.155C8.07432 13.295 7.27932 13.85 5.83932 13.85H3.37932ZM3.37932 15.08H6.21432C7.65432 15.08 8.43432 15.83 8.43432 16.925C8.43432 18.035 7.65432 18.785 6.21432 18.785H3.37932V15.08ZM18.0294 12.155H16.6794V16.88C16.6794 18.185 15.6894 18.92 14.7144 18.92C13.5594 18.92 13.0794 18.17 13.0794 17.06V12.155H11.7294V17.345C11.7294 19.01 12.6744 20.165 14.3544 20.165C15.4644 20.165 16.2294 19.58 16.6794 18.92V20H18.0294V12.155ZM20.5112 10.79H21.9812V9.23H20.5112V10.79ZM21.9212 12.155H20.5712V20H21.9212V12.155ZM25.8247 9.23H24.4747V20H25.8247V9.23ZM28.5882 18.125C28.5882 19.625 29.3532 20.075 30.6882 20.075C31.1382 20.075 31.5282 20.03 31.8732 19.955V18.8C31.5582 18.875 31.3332 18.89 31.0182 18.89C30.3282 18.89 29.9232 18.74 29.9232 17.915V13.31H31.7082V12.155H29.9232V9.86H28.5882V12.155H27.3732V13.31H28.5882V18.125ZM41.0199 20.165C43.1949 20.165 44.4399 18.305 44.4399 16.085C44.4399 13.85 43.1949 12.005 41.0199 12.005C39.9249 12.005 39.0549 12.53 38.5899 13.295V9.23H37.2399V20H38.5899V18.86C39.0549 19.64 39.9249 20.165 41.0199 20.165ZM38.5599 15.815C38.5599 13.985 39.6699 13.19 40.7799 13.19C42.2499 13.19 43.0749 14.39 43.0749 16.085C43.0749 17.765 42.2499 18.98 40.7799 18.98C39.6699 18.98 38.5599 18.17 38.5599 16.37V15.815ZM49.1804 20.855L52.5554 12.155H51.1454L48.9704 18.155L46.7654 12.155H45.3404L48.2504 19.715L47.8754 20.645C47.5604 21.425 47.2454 21.635 46.6604 21.635C46.4354 21.635 46.2704 21.62 46.0154 21.56V22.73C46.2554 22.775 46.4204 22.79 46.7504 22.79C48.1154 22.79 48.7304 22.04 49.1804 20.855Z",fill:"var(--dark)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M98.7993 15.7837C98.7993 12.8784 97.3871 10.5861 94.688 10.5861C91.9774 10.5861 90.3374 12.8784 90.3374 15.761C90.3374 19.1768 92.2735 20.9018 95.0524 20.9018C96.4077 20.9018 97.4327 20.5954 98.2071 20.1642V17.8945C97.4327 18.2803 96.5443 18.5186 95.4168 18.5186C94.3121 18.5186 93.3327 18.1328 93.2074 16.7937H98.7766C98.7766 16.6461 98.7993 16.056 98.7993 15.7837ZM93.1732 14.7056C93.1732 13.4232 93.9591 12.8898 94.6766 12.8898C95.3713 12.8898 96.1116 13.4232 96.1116 14.7056H93.1732Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.9413 10.5861C84.8251 10.5861 84.1076 11.1081 83.709 11.4712L83.561 10.7676H81.0554V23.9999L83.9026 23.3985L83.914 20.1869C84.324 20.4819 84.9276 20.9018 85.9299 20.9018C87.9685 20.9018 89.8249 19.2676 89.8249 15.6702C89.8135 12.3791 87.9343 10.5861 85.9413 10.5861ZM85.2579 18.4052C84.586 18.4052 84.1874 18.1668 83.914 17.8718L83.9026 13.6615C84.1988 13.3324 84.6088 13.1054 85.2579 13.1054C86.2943 13.1054 87.0118 14.263 87.0118 15.7496C87.0118 17.2703 86.3057 18.4052 85.2579 18.4052Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M77.1377 9.91656L79.9963 9.30374V7L77.1377 7.60147V9.91656Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{d:"M79.9963 10.7791H77.1377V20.709H79.9963V10.7791Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.074 11.6188L73.8918 10.779H71.4318V20.709H74.279V13.9793C74.9509 13.1055 76.0898 13.2644 76.4429 13.3892V10.779C76.0784 10.6429 74.7459 10.3932 74.074 11.6188Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M68.3796 8.31641L65.6007 8.90653L65.5894 17.9966C65.5894 19.6762 66.8535 20.9132 68.5391 20.9132C69.473 20.9132 70.1563 20.743 70.5321 20.5387V18.235C70.1677 18.3825 68.3682 18.9045 68.3682 17.225V13.1962H70.5321V10.779H68.3682L68.3796 8.31641Z",fill:"var(--stripe)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.6807 13.6615C60.6807 13.2189 61.0452 13.0487 61.6488 13.0487C62.5143 13.0487 63.6076 13.3097 64.4732 13.775V11.1081C63.5279 10.7336 62.594 10.5861 61.6488 10.5861C59.3368 10.5861 57.7993 11.789 57.7993 13.7977C57.7993 16.9299 62.1271 16.4305 62.1271 17.781C62.1271 18.303 61.6715 18.4732 61.0338 18.4732C60.0885 18.4732 58.8813 18.0874 57.9246 17.5654V20.2663C58.9838 20.7202 60.0543 20.9132 61.0338 20.9132C63.4026 20.9132 65.0313 19.7443 65.0313 17.7129C65.0199 14.3311 60.6807 14.9325 60.6807 13.6615Z",fill:"var(--stripe)"})]})}),i=(0,r.jsxs)("span",{className:"jsx-bbed09f4a18e595f disclaimer",children:["This site was"," ",(0,r.jsx)("a",{href:"",className:"jsx-bbed09f4a18e595f live-edit",children:"built using Markdoc"}),(0,r.jsx)(l(),{id:"bbed09f4a18e595f",children:".disclaimer.jsx-bbed09f4a18e595f{color:rgba(24,24,27,.5);padding-left:2rem;font-size:15px;font-weight:400;line-height:27px}.disclaimer.jsx-bbed09f4a18e595f button.jsx-bbed09f4a18e595f{display:inline-block;padding:0;color:inherit;text-decoration:underline;font-weight:regular}body.dark .disclaimer.jsx-bbed09f4a18e595f{color:var(--white)}@media screen and (max-width:1e3px){.disclaimer.jsx-bbed09f4a18e595f{display:none}}"})]}),c=(0,r.jsx)(b,{}),u=n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("h3",{className:"jsx-f52da0b2dcada3f4 jumbo",children:[o.Children.toArray(t).map((e,t,n)=>(0,r.jsxs)("span",{className:"jsx-f52da0b2dcada3f4 main-link",children:[e,t!==n.length-1?", ":""]},t)),(0,r.jsx)("span",{className:"jsx-f52da0b2dcada3f4 try-link",children:(0,r.jsx)(s.F,{href:"/sandbox",children:"Try Markdoc"})})]}),(0,r.jsx)("hr",{className:"jsx-f52da0b2dcada3f4"}),(0,r.jsx)(l(),{id:"f52da0b2dcada3f4",children:"h3.jsx-f52da0b2dcada3f4{margin:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}h3.jsx-f52da0b2dcada3f4 .main-link:nth-child(n+2){margin-left:10px;display:inline-block;min-height:0px}h3.jsx-f52da0b2dcada3f4 .main-link a{text-decoration:none}hr.jsx-f52da0b2dcada3f4{margin:2rem auto;display:block;width:100%;border:none;border-bottom:1px solid var(--page-border)}.try-link.jsx-f52da0b2dcada3f4{margin-left:auto}@media screen and (max-width:1e3px){h3.jsx-f52da0b2dcada3f4{font-size:35px;line-height:46px}}@media screen and (max-width:780px){.try-link.jsx-f52da0b2dcada3f4{display:none}}@media screen and (max-width:600px){hr.jsx-f52da0b2dcada3f4{margin:0 auto}h3.jsx-f52da0b2dcada3f4{font-size:24px;line-height:33px;text-align:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 2rem}}"})]}):null;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("footer",{className:"jsx-fedc8df44ce807b5 desktop",children:[u,(0,r.jsxs)("div",{className:"jsx-fedc8df44ce807b5 flex",children:[(0,r.jsx)("div",{className:"jsx-fedc8df44ce807b5 left gap",children:a}),(0,r.jsxs)("div",{className:"jsx-fedc8df44ce807b5 right gap",children:[i,c]})]})]}),(0,r.jsxs)("footer",{className:"jsx-fedc8df44ce807b5 mobile gap",children:[u,a,c,i]}),(0,r.jsx)(l(),{id:"fedc8df44ce807b5",children:".gap{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:1.5rem}footer.jsx-fedc8df44ce807b5{position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;z-index:100;width:100%;color:var(--dark);padding:1rem 0}footer.desktop.jsx-fedc8df44ce807b5{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}footer.mobile.jsx-fedc8df44ce807b5{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0}.right.jsx-fedc8df44ce807b5{margin-left:auto}@media screen and (max-width:600px){footer.mobile.jsx-fedc8df44ce807b5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}footer.desktop.jsx-fedc8df44ce807b5{display:none}}"})]})}var f=n(1163),d=n(1664),p=n.n(d);let m=[{title:"Get started",links:[{href:"/docs/overview",children:"What is Markdoc?"},{href:"/docs/getting-started",children:"Installation"},{href:"/docs/faq",children:"FAQ"},{href:"/sandbox",children:"Try it out"}]},{title:"Core concepts",links:[{href:"/docs/syntax",children:"Syntax and schema"},{href:"/docs/nodes",children:"Nodes"},{href:"/docs/tags",children:"Tags"},{href:"/docs/attributes",children:"Attributes"},{href:"/docs/variables",children:"Variables"},{href:"/docs/functions",children:"Functions"},{href:"/docs/render",children:"Rendering"},{href:"/docs/config",children:"Config objects"},{href:"/docs/validation",children:"Validation"}]},{title:"Integration guides",links:[{href:"/docs/examples",children:"Common examples"},{href:"/docs/examples/html",children:"Using with HTML"},{href:"/docs/nextjs",children:"Using with Next.js"},{href:"/docs/examples/react",children:"Using with React"}]},{title:"Advanced concepts",links:[{href:"/docs/frontmatter",children:"Frontmatter"},{href:"/docs/partials",children:"Partials"},{href:"/docs/format",children:"Formatting"}]}];function h(){let e=(0,f.useRouter)();return(0,r.jsxs)("nav",{className:"jsx-de18637d5a56e970 sidenav",children:[m.map(t=>(0,r.jsxs)("div",{className:"jsx-de18637d5a56e970",children:[(0,r.jsx)("h3",{className:"jsx-de18637d5a56e970",children:t.title}),(0,r.jsx)("ul",{className:"jsx-de18637d5a56e970 flex column",children:t.links.map(t=>{let n=e.pathname===t.href;return(0,r.jsx)("li",{className:"jsx-de18637d5a56e970 "+((n?"active":"")||""),children:(0,r.jsx)(p(),{...t,children:t.children})},t.href)})})]},t.title)),(0,r.jsx)(l(),{id:"de18637d5a56e970",children:"nav.jsx-de18637d5a56e970{}"})]})}function g(e){let{toc:t}=e,n=t.filter(e=>e.id&&(2===e.level||3===e.level)&&"Next steps"!==e.title);return(0,r.jsxs)("nav",{className:"jsx-9113e17d885b6a77 toc",children:[n.length>1?(0,r.jsx)("ul",{className:"jsx-9113e17d885b6a77 flex column",children:n.map(e=>{let t="#".concat(e.id),n=window.location.hash===t;return(0,r.jsx)("li",{className:"jsx-9113e17d885b6a77 "+([n?"active":void 0,3===e.level?"padded":void 0].filter(Boolean).join(" ")||""),children:(0,r.jsx)(p(),{href:t,children:e.title})},e.title)})}):null,(0,r.jsx)(l(),{id:"9113e17d885b6a77",children:"nav.jsx-9113e17d885b6a77{position:-webkit-sticky;position:sticky;top:-webkit-calc(2.5rem + var(--nav-height));top:-moz-calc(2.5rem + var(--nav-height));top:calc(2.5rem + var(--nav-height));max-height:-webkit-calc(100vh - var(--nav-height));max-height:-moz-calc(100vh - var(--nav-height));max-height:calc(100vh - var(--nav-height));-webkit-box-flex:0;-webkit-flex:0 0 240px;-moz-box-flex:0;-ms-flex:0 0 240px;flex:0 0 240px}"})]})}let v=(0,r.jsxs)("svg",{className:"sun",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"8.79932",cy:"8",r:"4",fill:"
1currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"8.79932",cy:"1",r:"1",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"8.79932",cy:"15",r:"1",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"1.79932",cy:"8",r:"1",transform:"rotate(-90 1.79932 8)",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"15.7993",cy:"8",r:"1",transform:"rotate(-90 15.7993 8)",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"3.84927",cy:"3.05078",r:"1",transform:"rotate(-45 3.84927 3.05078)",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"13.7487",cy:"12.9503",r:"1",transform:"rotate(-45 13.7487 12.9503)",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"3.84961",cy:"12.9491",r:"1",transform:"rotate(-135 3.84961 12.9491)",fill:"currentColor"}),(0,r.jsx)("circle",{className:"ray",cx:"13.749",cy:"3.04957",r:"1",transform:"rotate(-135 13.749 3.04957)",fill:"currentColor"})]}),y=(0,r.jsx)("svg",{className:"moon",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3764 9.04656C11.2112 9.06022 11.0441 9.06718 10.8754 9.06718C7.56173 9.06718 4.87549 6.38093 4.87549 3.06728C4.87549 1.94653 5.18278 0.897541 5.71771 -1.22983e-05C2.52866 0.186293 0 2.83147 0 6.06725C0 9.42391 2.7211 12.145 6.07776 12.145C8.35189 12.145 10.3343 10.896 11.3764 9.04656Z",fill:"currentColor"})});function b(){let[e,t]=o.useState(void 0),[,n]=o.useState(!1);o.useEffect(()=>{let e;try{e=localStorage.getItem("theme")}catch(e){}let n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener(e=>t(e.matches?"dark":"light")),t(e||(n.matches?"dark":"light"))},[]),o.useEffect(()=>{e&&(document.body.className=e)},[e]);let a="dark"===e;return(0,r.jsxs)("div",{onMouseEnter:()=>n(!0),onFocus:()=>n(!0),onMouseLeave:()=>n(!1),onBlur:()=>n(!1),className:"jsx-a916debf5e95c656 theme-toggle",children:[(0,r.jsxs)("button",{onClick:()=>{document.body.style.transition="color 400ms ease, background 300ms ease",function(e){t(e);try{localStorage.setItem("theme",e)}catch(e){}}("dark"===e?"light":"dark")},className:"jsx-a916debf5e95c656 "+((a?"dark":"light")||""),children:[a?y:v,(0,r.jsx)("span",{className:"jsx-a916debf5e95c656",children:a?"Dark mode":"Light mode"})]}),(0,r.jsx)(l(),{id:"a916debf5e95c656",children:"button.jsx-a916debf5e95c656{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:120px;font-size:15px;line-height:27px;font-weight:400;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:nowrap}.dark.jsx-a916debf5e95c656{background:var(--contrast-dark);color:var(--white)}.light.jsx-a916debf5e95c656{background:var(--gray-light);color:var(--black)}button.jsx-a916debf5e95c656:active svg{-webkit-animation:rotate 150ms linear forwards;-moz-animation:rotate 150ms linear forwards;-o-animation:rotate 150ms linear forwards;animation:rotate 150ms linear forwards}button.jsx-a916debf5e95c656 .sun{-webkit-animation:sun 400ms ease both;-moz-animation:sun 400ms ease both;-o-animation:sun 400ms ease both;animation:sun 400ms ease both}button.jsx-a916debf5e95c656 .moon{-webkit-animation:moon 400ms ease both;-moz-animation:moon 400ms ease both;-o-animation:moon 400ms ease both;animation:moon 400ms ease both}button.jsx-a916debf5e95c656 circle.ray{-webkit-transform-origin:center;-moz-transform-origin:center;-ms-transform-origin:center;-o-transform-origin:center;transform-origin:center;-webkit-animation:rays 400ms ease both;-moz-animation:rays 400ms ease both;-o-animation:rays 400ms ease both;animation:rays 400ms ease both}@-webkit-keyframes rotate{from{-webkit-transform:initial;transform:initial}to{-webkit-transform:scale(.95)rotate(20deg);transform:scale(.95)rotate(20deg)}}@-moz-keyframes rotate{from{-moz-transform:initial;transform:initial}to{-moz-transform:scale(.95)rotate(20deg);transform:scale(.95)rotate(20deg)}}@-o-keyframes rotate{from{-o-transform:initial;transform:initial}to{-o-transform:scale(.95)rotate(20deg);transform:scale(.95)rotate(20deg)}}@keyframes rotate{from{-webkit-transform:initial;-moz-transform:initial;-o-transform:initial;transform:initial}to{-webkit-transform:scale(.95)rotate(20deg);-moz-transform:scale(.95)rotate(20deg);-o-transform:scale(.95)rotate(20deg);transform:scale(.95)rotate(20deg)}}@-webkit-keyframes sun{from{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@-moz-keyframes sun{from{-moz-transform:scale(1.5);transform:scale(1.5)}to{-moz-transform:scale(1);transform:scale(1)}}@-o-keyframes sun{from{-o-transform:scale(1.5);transform:scale(1.5)}to{-o-transform:scale(1);transform:scale(1)}}@keyframes sun{from{-webkit-transform:scale(1.5);-moz-transform:scale(1.5);-o-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-webkit-keyframes rays{from{-webkit-transform:rotate(45deg);transform:rotate(45deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-moz-keyframes rays{from{-moz-transform:rotate(45deg);transform:rotate(45deg)}to{-moz-transform:rotate(0deg);transform:rotate(0deg)}}@-o-keyframes rays{from{-o-transform:rotate(45deg);transform:rotate(45deg)}to{-o-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes rays{from{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}to{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes moon{from{-webkit-transform:scale(.6)rotate(90deg);transform:scale(.6)rotate(90deg)}to{-webkit-transform:scale(1)rotate(0deg);transform:scale(1)rotate(0deg)}}@-moz-keyframes moon{from{-moz-transform:scale(.6)rotate(90deg);transform:scale(.6)rotate(90deg)}to{-moz-transform:scale(1)rotate(0deg);transform:scale(1)rotate(0deg)}}@-o-keyframes moon{from{-o-transform:scale(.6)rotate(90deg);transform:scale(.6)rotate(90deg)}to{-o-transform:scale(1)rotate(0deg);transform:scale(1)rotate(0deg)}}@keyframes moon{from{-webkit-transform:scale(.6)rotate(90deg);-moz-transform:scale(.6)rotate(90deg);-o-transform:scale(.6)rotate(90deg);transform:scale(.6)rotate(90deg)}to{-webkit-transform:scale(1)rotate(0deg);-moz-transform:scale(1)rotate(0deg);-o-transform:scale(1)rotate(0deg);transform:scale(1)rotate(0deg)}}@media screen and (max-width:600px){button.jsx-a916debf5e95c656{width:130px}}"})]})}var x=n(3935);function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function j(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){w(a,r,o,i,s,"next",e)}function s(e){w(a,r,o,i,s,"throw",e)}i(void 0)})}}
1function k(e,t,n){return t=A(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,C()?Reflect.construct(t,n||[],A(e).constructor):t.apply(e,n))}function O(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function E(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function P(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function D(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function N(){N=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(t,n,r,a){var i,s,c=Object.create((n&&n.prototype instanceof g?n:g).prototype);return o(c,"_invoke",{value:(i=new P(a||[]),s=d,function(n,o){if(s===p)throw Error("Generator is already running");if(s===m){if("throw"===n)throw o;return{value:e,done:!0}}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var c=function t(n,r){var o=r.method,a=n.iterator[o];if(a===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),h;var i=f(a,n.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,h;var s=i.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,h)}(a,i);if(c){if(c===h)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===d)throw s=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=p;var l=f(t,r,i);if("normal"===l.type){if(s=i.done?m:"suspendedYield",l.arg===h)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(s=m,i.method="throw",i.arg=l.arg)}})}),c}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="executing",m="completed",h={};function g(){}function v(){}function y(){}var b={};l(b,i,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(_([])));S&&S!==n&&r.call(S,i)&&(b=S);var w=y.prototype=g.prototype=Object.create(b);function j(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){var n;o(this,"_invoke",{value:function(o,a){function i(){return new t(function(n,i){!function n(o,a,i,s){var c=f(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,i,s)},function(e){n("throw",e,i,s)}):t.resolve(u).then(function(e){l.value=e,i(l)},function(e){return n("throw",e,i,s)})}s(c.arg)}(o,a,n,i)})}return n=n?n.then(i,i):i()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function _(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw TypeError(typeof t+" is not iterable")}return v.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},j(k.prototype),l(k.prototype,s,function(){return this}),t.AsyncIterator=k,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new k(u(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},j(w),l(w,c,"Generator"),l(w,i,function(){return this}),l(w,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=_,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:_(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}function R(e,t){return(R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}(e,t)||H(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||H(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){if(e){if("string"==typeof e)return S(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function z(e){var t="function"==typeof Map?new Map:void 0;return(z=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(C())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&R(o,n.prototype),o}(e,arguments,A(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),R(n,e)})(e)}function $(){return o.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},o.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function q(){return o.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},o.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var B=["translations"],V="Ctrl",U=o.forwardRef(function(e,t){var n=e.translations,r=void 0===n?{}:n,a=D(e,B),i=r.buttonText,s=r.buttonAriaLabel,c=L((0,o.useState)(null),2),l=c[0],u=c[1];(0,o.useEffect)(function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?u("â"):u(V))},[]);
1var f=L(l===V?[V,"Ctrl",o.createElement($,null)]:["Meta","Command",l],3),d=f[0],p=f[1],m=f[2];return o.createElement("button",_({type:"button",className:"DocSearch DocSearch-Button","aria-label":"".concat(void 0===s?"Search":s," (").concat(p,"+K)")},a,{ref:t}),o.createElement("span",{className:"DocSearch-Button-Container"},o.createElement(q,null),o.createElement("span",{className:"DocSearch-Button-Placeholder"},void 0===i?"Search":i)),o.createElement("span",{className:"DocSearch-Button-Keys"},null!==l&&o.createElement(o.Fragment,null,o.createElement(Z,{reactsToKey:d},m),o.createElement(Z,{reactsToKey:"k"},"K"))))});function Z(e){var t=e.reactsToKey,n=e.children,r=L((0,o.useState)(!1),2),a=r[0],i=r[1];return(0,o.useEffect)(function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}},[t]),o.createElement("kbd",{className:a?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function K(e,t){var n=void 0;return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];n&&clearTimeout(n),n=setTimeout(function(){return e.apply(void 0,o)},t)}}function G(e){return e.reduce(function(e,t){return e.concat(t)},[])}var W=0;function J(e){return 0===e.collections.length?0:e.collections.reduce(function(e,t){return e+t.items.length},0)}function X(e){return e!==Object(e)}var Y=function(){},Q=[{segment:"autocomplete-core",version:"1.17.9"}];function ee(e){var t=e.item,n=e.items;return{index:t.__autocomplete_indexName,items:[t],positions:[1+(void 0===n?[]:n).findIndex(function(e){return e.objectID===t.objectID})],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var en=["items"],er=["items"];function eo(e){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ea(e){return function(e){if(Array.isArray(e))return ei(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ei(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ei(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ei(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function es(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function el(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eo(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eo(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eo(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eu(e){return e.map(function(e){var t=e.items,n=es(e,en);return el(el({},n),{},{objectIDs:(null==t?void 0:t.map(function(e){return e.objectID}))||n.objectIDs})})}function ef(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ep(e){return function(e){if(Array.isArray(e))return em(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return em(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return em(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function em(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eh(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==ed(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ed(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===ed(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ev="2.15.0",ey="https://cdn.jsdelivr.net/npm/search-insights@".concat(ev,"/dist/search-insights.min.js"),eb=K(function(e){var t,n=e.onItemsChange,r=e.items,o=e.insights,a=e.state;n({insights:o,insightsEvents:Object.keys(t=r.reduce(function(e,t){var n;return e[t.__autocomplete_indexName]=(null!==(n=e[t.__autocomplete_indexName])&&void 0!==n?n:[]).concat(t),e},{})).map(function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}).map(function(e){return eg({eventName:"Items Viewed"},e)}),state:a})},400);function ex(e){var t,n=eg({onItemsChange:function(e){var t=e.insights,n=e.insightsEvents,r=e.state;t.viewedObjectIDs.apply(t,ep(n.map(function(e){return eg(eg({},e),{},{algoliaSource:eS(e.algoliaSource,r.context)})})))},onSelect:function(e){var t=e.insights,n=e.insightsEvents,r=e.state;t.clickedObjectIDsAfterSearch.apply(t,ep(n.map(function(e){return eg(eg({},e),{},{algoliaSource:eS(e.algoliaSource,r.context)})})))},onActive:Y,__autocomplete_clickAnalytics:!0},e),r=n.insightsClient,o=n.insightsInitParams,a=n.onItemsChange,i=n.onSelect,s=n.onActive,c=n.__autocomplete_clickAnalytics,l=r;if(r||(t=function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(l=t[n]),l||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];t[n].queue.push(r)}),t[n].version=ev,l=t[n],function(e){var t="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var n=e.document.createElement("script");n.async=!0,n.src=ey,n.onerror=function(){console.error(t)},document.body.appendChild(n)}catch(e){console.error(t)}}(t))},"undefined"!=typeof window&&t({window:window})),!l)return{};o&&l("init",eg({partial:!0},o));var u=function(e){var t,n,r,o,a=(r=(n=function(e){if(Array.isArray(e))return e}(t=(e.version||"").split(".").map(Number))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],c=!0,l=!1;try{for(a=(n=n.call(e)).next;!(c=(r=a.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){l=!0,o=e}
1finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return et(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=n[1],r>=3||2===r&&o>=4||1===r&&o>=10);function i(t,n,r){if(a&&void 0!==r){var o=r[0].__autocomplete_algoliaCredentials,i={"X-Algolia-Application-Id":o.appId,"X-Algolia-API-Key":o.apiKey};e.apply(void 0,[t].concat(ea(n),[{headers:i}]))}else e.apply(void 0,[t].concat(ea(n)))}return{init:function(t,n){e("init",{appId:t,apiKey:n})},setAuthenticatedUserToken:function(t){e("setAuthenticatedUserToken",t)},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&i("clickedObjectIDsAfterSearch",eu(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&i("clickedObjectIDs",eu(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["clickedFilters"].concat(n))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&i("convertedObjectIDsAfterSearch",eu(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&i("convertedObjectIDs",eu(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["convertedFilters"].concat(n))},viewedObjectIDs:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&t.reduce(function(e,t){var n=t.items,r=es(t,er);return[].concat(ea(e),ea((function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[],r=0;r<e.objectIDs.length;r+=t)n.push(el(el({},e),{},{objectIDs:e.objectIDs.slice(r,r+t)}));return n})(el(el({},r),{},{objectIDs:(null==n?void 0:n.map(function(e){return e.objectID}))||r.objectIDs})).map(function(e){return{items:n,payload:e}})))},[]).forEach(function(e){var t=e.items;return i("viewedObjectIDs",[e.payload],t)})},viewedFilters:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n.length>0&&e.apply(void 0,["viewedFilters"].concat(n))}}}(l),f={current:[]},d=K(function(e){var t=e.state;if(t.isOpen){var n=t.collections.reduce(function(e,t){return[].concat(ep(e),ep(t.items))},[]).filter(ef);(function e(t,n){if(t===n)return!0;if(X(t)||X(n)||"function"==typeof t||"function"==typeof n)return t===n;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){var a=o[r];if(!(a in n)||!e(t[a],n[a]))return!1}return!0})(f.current.map(function(e){return e.objectID}),n.map(function(e){return e.objectID}))||(f.current=n,n.length>0&&eb({onItemsChange:a,items:n,insights:u,state:t}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,n=e.onSelect,r=e.onActive;function o(e){t({algoliaInsightsPlugin:{__algoliaSearchParameters:eg(eg({},c?{clickAnalytics:!0}:{}),e?{userToken:"number"==typeof e?e.toString():e}:{}),insights:u}})}l("addAlgoliaAgent","insights-plugin"),o(),l("onUserTokenChange",function(e){o(e)}),l("getUserToken",null,function(e,t){o(t)}),n(function(e){var t=e.item,n=e.state,r=e.event,o=e.source;ef(t)&&i({state:n,event:r,insights:u,item:t,insightsEvents:[eg({eventName:"Item Selected"},ee({item:t,items:o.getItems().filter(ef)}))]})}),r(function(e){var t=e.item,n=e.source,r=e.state,o=e.event;ef(t)&&s({state:r,event:o,insights:u,item:t,insightsEvents:[eg({eventName:"Item Active"},ee({item:t,items:n.getItems().filter(ef)}))]})})},onStateChange:function(e){d({state:e.state})},__autocomplete_pluginOptions:e}}function eS(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(ep(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),["autocomplete-internal"],ep(null!==(e=t.algoliaInsightsPlugin)&&void 0!==e&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function ew(e){return function e(t,n){return{then:function(r,o){return e(t.then(ej(r,n,t),ej(o,n,t)),n)},catch:function(r){return e(t.catch(ej(r,n,t)),n)},finally:function(r){return r&&n.onCancelList.push(r),e(t.finally(ej(r&&function(){return n.onCancelList=[],r()},n,t)),n)},cancel:function(){n.isCanceled=!0;var e=n.onCancelList;n.onCancelList=[],e.forEach(function(e){e()})},isCanceled:function(){return!0===n.isCanceled}}}(e,{isCanceled:!1,onCancelList:[]})}
1function ej(e,t,n){return e?function(n){return t.isCanceled?n:e(n)}:n}function ek(e,t,n,r){if(!n)return null;if(e<0&&(null===t||null!==r&&0===t))return n+e;var o=(null===t?-1:t)+e;return o<=-1||o>=n?null===r?null:0:o}function eO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eO(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eP(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eP(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eP(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eP(e){return(eP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e_(e){var t,n=(t=e.collections.map(function(e){return e.items.length}).reduce(function(e,t,n){var r=(e[n-1]||0)+t;return e.push(r),e},[]).reduce(function(t,n){return n<=e.activeItemId?t+1:t},0),e.collections[t]);if(!n)return null;var r=n.items[function(e){for(var t=e.state,n=e.collection,r=!1,o=0,a=0;!1===r;){var i=t.collections[o];if(i===n){r=!0;break}a+=i.items.length,o++}return t.activeItemId-a}({state:e,collection:n})],o=n.source;return{item:r,itemInputValue:o.getItemInputValue({item:r,state:e}),itemUrl:o.getItemUrl({item:r,state:e}),source:o}}function eA(e,t,n){return[e,null==n?void 0:n.sourceId,t].filter(Boolean).join("-").replace(/\s/g,"")}var eI=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function eC(e){return e.nativeEvent||e}function eF(e){return(eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eD(e){return(eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eN(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eD(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eD(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eD(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eL(e){return(eL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ez(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?eH(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eL(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eL(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eL(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function e$(e){return(e$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eq(Object(n),!0).forEach(function(t){eV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eV(e,t,n){var r;return(r=function(e,t){if("object"!==e$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==e$(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===e$(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eU(e){return(eU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eZ(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eU(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eU(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eU(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eG(e){return function(e){if(Array.isArray(e))return eW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return eW(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eW(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eJ(e){return!!e.execute}function eX(e){return Promise.all(e.reduce(function(e,t){if(!eJ(t))return e.push(t),e;var n,r=t.searchClient,o=t.execute,a=t.requesterId,i=t.requests,s=e.find(function(e){return eJ(t)&&eJ(e)&&e.searchClient===r&&!!a&&e.requesterId===a});return s?(n=s.items).push.apply(n,eG(i)):e.push({execute:o,requesterId:a,items:i,searchClient:r}),e},[]).map(function(e){if(!eJ(e))return Promise.resolve(e);var t=e.execute,n=e.items;return t({searchClient:e.searchClient,requests:n})})).then(function(e){return G(e)})}function eY(e){return(eY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eQ=["event","nextState","props","query","refresh","store"];function e0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?e0(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eY(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eY(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eY(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e0(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var e2,e3,e4,e9=null,e5=(e2=-1,e3=-1,e4=void 0,function(e){var t=++e2;return Promise.resolve(e).then(function(e){return e4&&t<e3?e4:(e3=t,e4=e,e)})});function e8(e){var t=e.event,n=e.nextState,r=void 0===n?{}:n,o=e.props,a=e.query,i=e.refresh,s=e.store,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,eQ);e9&&o.environment.clearTimeout(e9);var l=c.setCollections,u=c.setIsOpen,f=c.setQuery,d=c.setActiveItemId,p=c.setStatus,m=c.setContext;if(f(a),d(o.defaultActiveItemId),!a&&!1===o.openOnFocus){var h,g=s.getState().collections.map(function(e){return e1(e1({},e),{},{items:[]})});p("idle"),l(g),u(null!==(h=r.isOpen)&&void 0!==h?h:o.shouldPanelOpen({state:s.getState()}));var v=ew(e5(g).then(function(){return Promise.resolve()}));return s.pendingRequests.add(v)}p("loading"),e9=o.environment.setTimeout(function(){p("stalled")},o.stallThreshold);var y=ew(e5(o.getSources(e1({query:a,refresh:i,state:s.getState()},c)).then(function(e){return Promise.all(e.map(function(e){return Promise.resolve(e.getItems(e1({query:a,refresh:i,state:s.getState()},c))).then(function(t){return function(e,t,n){if(null==e?void 0:e.execute){var r="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(eG(Object.keys(n.context).map(function(e){var t;return null===(t=n.context[e])||void 0===t?void 0:t.__algoliaSearchParameters})))):{};return eK(eK({},e),{},{requests:e.queries.map(function(n){return{query:"algolia"===e.requesterId?eK(eK({},n),{},{params:eK(eK({},r),n.params)}):n,sourceId:t,transformResponse:e.transformResponse}})})}return{items:e,sourceId:t}}(t,e.sourceId,s.getState())})})).then(eX).then(function(t){var n,r=t.some(function(e){var t;return!Array.isArray(t=e.items)&&!!(null==t?void 0:t._automaticInsights)});return r&&m({algoliaInsightsPlugin:e1(e1({},(null===(n=s.getState().context)||void 0===n?void 0:n.algoliaInsightsPlugin)||{}),{},{__automaticInsights:r})}),e.map(function(e){var n=t.filter(function(t){return t.sourceId===e.sourceId}),r=n.map(function(e){return e.items}),o=n[0].transformResponse,a=o?o({results:r,hits:r.map(function(e){return e.hits}).filter(Boolean),facetHits:r.map(function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map(function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}})}).filter(Boolean)}):r;return e.onResolve({source:e,results:r,items:a,state:s.getState()}),a.every(Boolean),'The `getItems` function from source "'.concat(e.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:e,items:a}})}).then(function(e){var t,n,r,a,i,c;return n=(t={collections:e,props:o,state:s.getState()}).collections,r=t.props,a=t.state,i=n.reduce(function(e,t){return eB(eB({},e),{},eV({},t.source.sourceId,eB(eB({},t.source),{},{getItems:function(){return G(t.items)}})))},{}),c=r.plugins.reduce(function(e,t){return t.reshape?t.reshape(e):e},{sourcesBySourceId:i,state:a}).sourcesBySourceId,G(r.reshape({sourcesBySourceId:c,sources:Object.values(c),state:a}
1)).filter(Boolean).map(function(e){return{source:e,items:e.getItems()}})})}))).then(function(e){p("idle"),l(e);var n,f=o.shouldPanelOpen({state:s.getState()});u(null!==(n=r.isOpen)&&void 0!==n?n:o.openOnFocus&&!a&&f||f);var d=e_(s.getState());if(null!==s.getState().activeItemId&&d){var m=d.item,h=d.itemInputValue,g=d.itemUrl,v=d.source;v.onActive(e1({event:t,item:m,itemInputValue:h,itemUrl:g,refresh:i,source:v,state:s.getState()},c))}}).finally(function(){p("idle"),e9&&o.environment.clearTimeout(e9)});return s.pendingRequests.add(y)}function e6(e){return(e6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var e7=["event","props","refresh","store"];function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==e6(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==e6(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===e6(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tn(e){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tr=["props","refresh","store"],to=["inputElement","formElement","panelElement"],ta=["inputElement"],ti=["inputElement","maxLength"],ts=["source"],tc=["item","source"];function tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==tn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==tn(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===tn(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function td(e){return(td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tm(e,t,n){var r;return(r=function(e,t){if("object"!==td(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==td(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===td(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function th(e){var t,n=e.state;return!1===n.isOpen||null===n.activeItemId?null:(null===(t=e_(n))||void 0===t?void 0:t.itemInputValue)||null}function tg(e){return(tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ty(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?tv(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==tg(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==tg(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===tg(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tb=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return ty(ty({},e),{},{activeItemId:t.payload});case"setQuery":return ty(ty({},e),{},{query:t.payload,completion:null});case"setCollections":return ty(ty({},e),{},{collections:t.payload});case"setIsOpen":return ty(ty({},e),{},{isOpen:t.payload});case"setStatus":return ty(ty({},e),{},{status:t.payload});case"setContext":return ty(ty({},e),{},{context:ty(ty({},e.context),t.payload)});case"ArrowDown":var n=ty(ty({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:ek(1,e.activeItemId,J(e),t.props.defaultActiveItemId)});return ty(ty({},n),{},{completion:th({state:n})});case"ArrowUp":var r=ty(ty({},e),{},{activeItemId:ek(-1,e.activeItemId,J(e),t.props.defaultActiveItemId)});return ty(ty({},r),{},{completion:th({state:r})});case"Escape":return e.isOpen?ty(ty({},e),{},{activeItemId:null,isOpen:!1,completion:null}):ty(ty({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return ty(ty({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return ty(ty({},e),{},{activeItemId:!0===t.props.openOnFocus?t.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return ty(ty({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||!!e.query)&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:ty(ty({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return ty(ty({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return JSON.stringify(t.type),e}};function tx(e){return(tx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tS(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==tx(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==tx(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===tx(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tj(e){var t=e.translations,n=(void 0===t?{}:t).searchByText;return o.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},o.createElement("span",{className:"DocSearch-Label"},void 0===n?"Search by":n),o.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},o.createElement("defs",null,o.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),o.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),o.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),o.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92
1-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),o.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),o.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),o.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),o.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),o.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),o.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function tk(e){return o.createElement("svg",{width:"15",height:"15","aria-label":e.ariaLabel,role:"img"},o.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function tO(e){var t=e.translations,n=void 0===t?{}:t,r=n.selectText,a=n.selectKeyAriaLabel,i=n.navigateText,s=n.navigateUpKeyAriaLabel,c=n.navigateDownKeyAriaLabel,l=n.closeText,u=n.closeKeyAri
1aLabel,f=n.searchByText;return o.createElement(o.Fragment,null,o.createElement("div",{className:"DocSearch-Logo"},o.createElement(tj,{translations:{searchByText:void 0===f?"Search by":f}})),o.createElement("ul",{className:"DocSearch-Commands"},o.createElement("li",null,o.createElement("kbd",{className:"DocSearch-Commands-Key"},o.createElement(tk,{ariaLabel:void 0===a?"Enter key":a},o.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),o.createElement("span",{className:"DocSearch-Label"},void 0===r?"to select":r)),o.createElement("li",null,o.createElement("kbd",{className:"DocSearch-Commands-Key"},o.createElement(tk,{ariaLabel:void 0===c?"Arrow down":c},o.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),o.createElement("kbd",{className:"DocSearch-Commands-Key"},o.createElement(tk,{ariaLabel:void 0===s?"Arrow up":s},o.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),o.createElement("span",{className:"DocSearch-Label"},void 0===i?"to navigate":i)),o.createElement("li",null,o.createElement("kbd",{className:"DocSearch-Commands-Key"},o.createElement(tk,{ariaLabel:void 0===u?"Escape key":u},o.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),o.createElement("span",{className:"DocSearch-Label"},void 0===l?"to close":l))))}function tE(e){var t=e.hit,n=e.children;return o.createElement("a",{href:t.url},n)}function tP(){return o.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},o.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),o.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},o.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function t_(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),o.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function tA(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function tI(){return o.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),o.createElement("path",{d:"M8 17l-6-6 6-6"})))}var tC=function(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function tF(e){switch(e.type){case"lvl1":return o.createElement(tC,null);case"content":return o.createElement(tD,null);default:return o.createElement(tT,null)}}function tT(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function tD(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function tN(){return o.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},o.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function tR(){return o.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function tL(){return o.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function tM(e){var t=e.translations,n=void 0===t?{}:t,r=n.titleText,a=n.helpText;return o.createElement("div",{className:"DocSearch-ErrorScreen"},o.createElement("div",{className:"DocSearch-Screen-Icon"},o.createElement(tR,null)),o.createElement("p",{className:"DocSearch-Title"},void 0===r?"Unable to fetch results":r),o.createElement("p",{className:"DocSearch-Help"},void 0===a?"You might want to check your network connection.":a))}var tH=["translations"];function tz(e){var t=e.translations,n=void 0===t?{}:t,r=D(e,tH),a=n.noResultsText,i=n.suggestedQueryText,s=n.reportMissingResultsText,c=n.reportMissingResultsLinkText,l=r.state.context.searchSuggestions;return o.createElement("div",{className:"DocSearch-NoResults"},o.createElement("div",{className:"DocSearch-Screen-Icon"},o.createElement(tL,null)),o.createElement("p",{className:"DocSearch-Title"},void 0===a?"No results for":a,' "',o.createElement("strong",null,r.state.query),'"'),l&&l.length>0&&o.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},o.createElement("p",{className:"DocSearch-Help"},void 0===i?"Try searching for":i,":"),o.createElement("ul",null,l.slice(0,3).reduce(function(e,t){return[].concat(M(e),[o.createElement("li",{key:t}
1,o.createElement("button",{className:"DocSearch-Prefill",key:t,type:"button",onClick:function(){r.setQuery(t.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},t))])},[]))),r.getMissingResultsUrl&&o.createElement("p",{className:"DocSearch-Help"},"".concat(void 0===s?"Believe this query should return results?":s," "),o.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},void 0===c?"Let us know.":c)))}var t$=["hit","attribute","tagName"];function tq(e,t){return t.split(".").reduce(function(e,t){return null!=e&&e[t]?e[t]:null},e)}function tB(e){var t=e.hit,n=e.attribute,r=e.tagName,a=D(e,t$);return(0,o.createElement)(void 0===r?"span":r,T(T({},a),{},{dangerouslySetInnerHTML:{__html:tq(t,"_snippetResult.".concat(n,".value"))||tq(t,n)}}))}function tV(e){return e.collection&&0!==e.collection.items.length?o.createElement("section",{className:"DocSearch-Hits"},o.createElement("div",{className:"DocSearch-Hit-source"},e.title),o.createElement("ul",e.getListProps(),e.collection.items.map(function(t,n){return o.createElement(tU,_({key:[e.title,t.objectID].join(":"),item:t,index:n},e))}))):null}function tU(e){var t=e.item,n=e.index,r=e.renderIcon,a=e.renderAction,i=e.getItemProps,s=e.onItemClick,c=e.collection,l=e.hitComponent,u=L(o.use
1State(!1),2),f=u[0],d=u[1],p=L(o.useState(!1),2),m=p[0],h=p[1],g=o.useRef(null);return o.createElement("li",_({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",f&&"DocSearch-Hit--deleting",m&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){g.current&&g.current()}},i({item:t,source:c.source,onClick:function(e){s(t,e)}})),o.createElement(l,{hit:t},o.createElement("div",{className:"DocSearch-Hit-Container"},r({item:t,index:n}),t.hierarchy[t.type]&&"lvl1"===t.type&&o.createElement("div",{className:"DocSearch-Hit-content-wrapper"},o.createElement(tB,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&o.createElement(tB,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&o.createElement("div",{className:"DocSearch-Hit-content-wrapper"},o.createElement(tB,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),o.createElement(tB,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&o.createElement("div",{className:"DocSearch-Hit-content-wrapper"},o.createElement(tB,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),o.createElement(tB,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),a({item:t,runDeleteTransition:function(e){d(!0),g.current=e},runFavoriteTransition:function(e){h(!0),g.current=e}}))))}function tZ(e,t,n){return e.reduce(function(e,r){var o=t(r);return e.hasOwnProperty(o)||(e[o]=[]),e[o].length<(n||5)&&e[o].push(r),e},{})}function tK(e){return e}function tG(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function tW(){}var tJ=/(<mark>|<\/mark>)/g,tX=RegExp(tJ.source);function tY(e){if(!e.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var t,n,r=e.__docsearch_parent?null===(t=e.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(n=e._highlightResult)||void 0===n||null===(n=n.hierarchy)||void 0===n?void 0:n.lvl0;return r?r.value&&tX.test(r.value)?r.value.replace(tJ,""):r.value:e.hierarchy.lvl0}function tQ(e){return o.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map(function(t){if(0===t.items.length)return null;var n=tY(t.items[0]);return o.createElement(tV,_({},e,{key:t.source.sourceId,title:n,collection:t,renderIcon:function(e){var n,r=e.item,a=e.index;return o.createElement(o.Fragment,null,r.__docsearch_parent&&o.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},o.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},r.__docsearch_parent!==(null===(n=t.items[a+1])||void 0===n?void 0:n.__docsearch_parent)?o.createElement("path",{d:"M8 6v21M20 27H8.3"}):o.createElement("path",{d:"M8 6v42M20 27H8.3"}))),o.createElement("div",{className:"DocSearch-Hit-icon"},o.createElement(tF,{type:r.type})))},renderAction:function(){return o.createElement("div",{className:"DocSearch-Hit-action"},o.createElement(tI,null))}}))}),e.resultsFooterComponent&&o.createElement("section",{className:"DocSearch-HitsFooter"},o.createElement(e.resultsFooterComponent,{state:e.state})))}var t0=["translations"];function t1(e){var t=e.translations,n=void 0===t?{}:t,r=D(e,t0),a=n.recentSearchesTitle,i=n.noRecentSearchesText,s=n.saveRecentSearchButtonTitle,c=void 0===s?"Save this search":s,l=n.removeRecentSearchButtonTitle,u=void 0===l?"Remove this search from history":l,f=n.favoriteSearchesTitle,d=n.removeFavoriteSearchButtonTitle,p=void 0===d?"Remove this search from favorites":d;return"idle"===r.state.status&&!1===r.hasCollections?r.disableUserPersonalization?null:o.createElement("div",{className:"DocSearch-StartScreen"},o.createElement("p",{className:"DocSearch-Help"},void 0===i?"No recent searches":i)):!1===r.hasCollections?null:o.createElement("div",{className:"DocSearch-Dropdown-Container"},o.createElement(tV,_({},r,{title:void 0===a?"Recent":a,collection:r.state.collections[0],renderIcon:function(){return o.createElement("div",{className:"DocSearch-Hit-icon"},o.createElement(t_,null))},renderAction:function(e){var t=e.item,n=e.runFavoriteTransition,a=e.runDeleteTransition;return o.createElement(o.Fragment,null,o.createElement("div",{className:"DocSearch-Hit-action"},o.createElement("button",{className:"DocSearch-Hit-action-button",title:c,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(function(){r.favoriteSearches.add(t),r.recentSearches.remove(t),r.refresh()})}},o.createElement(tN,null))),o.createElement("div",{className:"DocSearch-Hit-action"},o.createElement("button",{className:"DocSearch-Hit-action-button",title:u,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),a(function(){r.recentSearches.remove(t),r.refresh()})}},o.createElement(tA,null))))}})),o.createElement(tV,_({},r,{title:void 0===f?"Favorite":f,collection:r.state.collections[1],renderIcon:function(){return o.createElement("div",{className:"DocSearch-Hit-icon"},o.createElement(tN,null))},renderAction:function(e){var t=e.item,n=e.runDeleteTransition;return o.createElement("div",{className:"DocSearch-Hit-action"},o.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(function(){r.favoriteSearches.remove(t),r.refresh()})}},o.createElement(tA,null)))}})))}var t2=["translations"],t3=o.memo(function(e){var t=e.translations,n=void 0===t?{}:t,r=D(e,t2);if("error"===r.state.status)return o.createElement(tM,{translations:null==n?void 0:n.errorScreen});var a=r.state.collections.some(function(e){return e.items.length>0});return r.state.query?!1===a?o.createElement(tz,_({},r,{translations:null==n?void 0:n.noResultsScreen})):o.createElement(tQ,r):o.createElement(t1,_({},r,{hasCollections:a,translations:null==n?void 0:n.startScreen}))},function(e,t){return"loading"===t.state.status||"stalled"===t.state.status}),t4=["translations"];function t9(e){var t=e.translations,n=void 0===t?{}:t,r=D(e,t4),a=n.resetButtonTitle,i=n.resetButtonAriaLabel,s=n.cancelButtonText,c=n.cancelButtonAriaLabel,l=n.searchInputLabel,u=r.getFormProps({inputElement:r.inputRef.current}).onReset;return o.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),o.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),o.createElement(o.Fragment,null,o.createElement("form",{className:"DocSearch-
1Form",onSubmit:function(e){e.preventDefault()},onReset:u},o.createElement("label",_({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),o.createElement(q,null),o.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},void 0===l?"Search":l)),o.createElement("div",{className:"DocSearch-LoadingIndicator"},o.createElement(tP,null)),o.createElement("input",_({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),o.createElement("button",{type:"reset",title:void 0===a?"Clear the query":a,className:"DocSearch-Reset","aria-label":void 0===i?"Clear the query":i,hidden:!r.state.query},o.createElement(tA,null))),o.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":void 0===c?"Cancel":c,onClick:r.onClose},void 0===s?"Cancel":s))}var t5=["_highlightResult","_snippetResult"];function t8(e){var t=e.key,n=e.limit,r=void 0===n?5:n,o=!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(e){return window.localStorage.setItem(t,JSON.stringify(e))},getItem:function(){var e=window.localStorage.getItem(t);return e?JSON.parse(e):[]}},a=o.getItem().slice(0,r);return{add:function(e){e._highlightResult,e._snippetResult;var t=D(e,t5),n=a.findIndex(function(e){return e.objectID===t.objectID});n>-1&&a.splice(n,1),a.unshift(t),a=a.slice(0,r),o.setItem(a)},remove:function(e){a=a.filter(function(t){return t.objectID!==e.objectID}),o.setItem(a)},getAll:function(){return a}}}function t6(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=r();return i.then(function(e){return o.miss(e)}).then(function(){return i})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function t7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",n=Date.now();return T(T({},e),{},{status:t,lastUpdate:n,isUp:function(){return"up"===t||Date.now()-n>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-n<=12e4}})}var ne=function(){function e(t,n){var r;return O(this,e),P(r=k(this,e,[t]),"name","AlgoliaError"),n&&(r.name=n),r}return I(e,z(Error)),E(e)}(),nt=function(){function e(t,n,r){var o;return O(this,e),P(o=k(this,e,[t,r]),"stackTrace",void 0),o.stackTrace=n,o}return I(e,ne),E(e)}(),nn=function(){function e(t){return O(this,e),k(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",t,"RetryError"])}return I(e,nt),E(e)}(),nr=function(){function e(t,n,r){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ApiError";return O(this,e),P(o=k(this,e,[t,r,a]),"status",void 0),o.status=n,o}return I(e,nt),E(e)}(),no=function(){function e(t,n){var r;return O(this,e),P(r=k(this,e,[t,"DeserializationError"]),"response",void 0),r.response=n,r}return I(e,ne),E(e)}(),na=function(){function e(t,n,r,o){var a;return O(this,e),P(a=k(this,e,[t,n,o,"DetailedApiError"]),"error",void 0),a.error=r,a}return I(e,nr),E(e)}();function ni(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return T(T({},e),{},{request:T(T({},e.request),{},{headers:T(T({},e.request.headers),t)})})}var ns=["appId","apiKey","authMode","algoliaAgents"],nc=["params"],nl="5.19.0",nu="3.9.0",nf=["footer","searchBox"];function nd(e){var t,n,r,a,i,s,c,l=e.appId,u=e.apiKey,f=e.indexName,d=e.placeholder,p=void 0===d?"Search docs":d,m=e.searchParameters,h=e.maxResultsPerGroup,g=e.onClose,v=void 0===g?tW:g,y=e.transformItems,b=void 0===y?tK:y,x=e.hitComponent,S=e.resultsFooterComponent,w=e.navigator,k=e.initialScrollY,O=void 0===k?0:k,E=e.transformSearchClient,P=e.disableUserPersonalization,A=void 0!==P&&P,I=e.initialQuery,C=e.translations,F=void 0===C?{}:C,R=e.getMissingResultsUrl,H=e.insights,z=void 0!==H&&H,$=F.footer,q=F.searchBox,B=D(F,nf),V=L(o.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),U=V[0],Z=V[1],K=o.useRef(null),X=o.useRef(null),ee=o.useRef(null),et=o.useRef(null),en=o.useRef(null),er=o.useRef(10),eo=o.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,ea=o.useRef((void 0===I?"":I
1)||eo).current,ei=(t=void 0===E?tK:E,o.useMemo(function(){var e=function(e,t,n){var r,o,a,i,s,c,l,u,f,d,p,m,h,g,v;if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return f=(r=T({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return Promise.resolve()}},requester:{send:function(e){return new Promise(function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return n.setRequestHeader(t,e.headers[t])});var r,o=function(e,r){return setTimeout(function(){n.abort(),t({status:0,content:r,isTimedOut:!0})},e)},a=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(a),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(a),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(a),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:t6(),requestsCache:t6({serializable:!1}),hostsCache:function e(t){var n=M(t.caches),r=n.shift();return void 0===r?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,n.miss(e)])}).then(function(e){return L(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(t,o,a).catch(function(){return e({caches:n}).get(t,o,a)})},set:function(t,o){return r.set(t,o).catch(function(){return e({caches:n}).set(t,o)})},delete:function(t){return r.delete(t).catch(function(){return e({caches:n}).delete(t)})},clear:function(){return r.clear().catch(function(){return e({caches:n}).clear()})}}}({caches:[function(e){var t,n="algolia-client-js-".concat(e.key);function r(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(r().getItem(n)||"{}")}function a(e){r().setItem(n,JSON.stringify(e))}return{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var n,r;return n=e.timeToLive?1e3*e.timeToLive:null,a(r=Object.fromEntries(Object.entries(o()).filter(function(e){return void 0!==L(e,2)[1].timestamp}))),n&&a(Object.fromEntries(Object.entries(r).filter(function(e){var t=L(e,2)[1],r=(new Date).getTime();return!(t.timestamp+n<r)}))),o()[JSON.stringify(t)]}).then(function(e){return Promise.all([e?e.value:n(),void 0!==e])}).then(function(e){var t=L(e,2),n=t[0];return Promise.all([n,t[1]||r.miss(n)])}).then(function(e){return L(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var a=o();return a[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},r().setItem(n,JSON.stringify(a)),t})},delete:function(e){return Promise.resolve().then(function(){var t=o();delete t[JSON.stringify(e)],r().setItem(n,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}({key:"".concat(nl,"-").concat(e)}),t6()]})},void 0)).appId,d=r.apiKey,p=r.authMode,m=r.algoliaAgents,h=D(r,ns),g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WithinHeaders",r={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:function(){return"WithinHeaders"===n?r:{}},queryParameters:function(){return"WithinQueryParameters"===n?r:{}}}}(f,d,p),{transporter:v=function(e){var t=e.hosts,n=e.hostsCache,r=e.baseHeaders,o=e.logger,a=e.baseQueryParameters,i=e.algoliaAgent,s=e.timeouts,c=e.requester,l=e.requestsCache,u=e.responsesCache;function f(){return(f=j(N().mark(function e(t){var r,o,a,i,s;return N().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map(function(e){return n.get(e,function(){return Promise.resolve(t7(e))})}));case 2:return o=(r=e.sent).filter(function(e){return e.isUp()}),a=r.filter(function(e){return e.isTimedOut()}),s=(i=[].concat(M(o),M(a))).length>0?i:t,e.abrupt("return",{hosts:s,getTimeout:function(e,t){return(0===a.length&&0===e?1:a.length+3+e)*t}});case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}function d(e,t){return p.apply(this,arguments)}function p(){return(p=j(N().mark(function e(l,u){var d,p,m,h,g,v,y,b,x,S,w,k,O,E=arguments;return N().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(d=!(E.length>2&&void 0!==E[2])||E[2],p=[],m=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:T(T({},e.data),t.data))}(l,u),h=function(e,t,n){var r=T(T(T({Accept:"application/json"},e),t),n),o={};return Object.keys(r).forEach(function(e){var t=r[e];o[e.toLowerCase()]=t}),o}(r,l.headers,u.headers),g="GET"===l.method?T(T({},l.data),u.data):{},v=T(T(T({},a),l.queryParameters),g),i.value&&(v["x-algolia-agent"]=i.value),u&&u.queryParameters)for(y=0,b=Object.keys(u.queryParameters);y<b.length;y++)x=b[y],u.queryParameters[x]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[x])?v[x]=u.queryParameters[x].toString():v[x]=u.queryParameters[x];return S=0,w=function(){var e=j(N().mark(function e(t,r){var a,i,f,g,y,b;return N().wrap(function(e){for(var x,j,k;;
1)switch(e.prev=e.next){case 0:if(void 0!==(a=t.pop())){e.next=3;break}throw new nn(p.map(function(e){return ni(e)}));case 3:return i=T(T({},s),u.timeouts),f={data:m,headers:h,method:l.method,url:function(e,t,n){var r=Object.keys(n).filter(function(e){return void 0!==n[e]}).sort().map(function(e){return"".concat(e,"=").concat(encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replace(/\+/g,"%20"))}).join("&"),o="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat("/"===t.charAt(0)?t.substring(1):t);return r.length&&(o+="?".concat(r)),o}(a,l.path,v),connectTimeout:r(S,i.connect),responseTimeout:r(S,d?i.read:i.write)},g=function(e){var n={request:f,response:e,host:a,triesLeft:t.length};return p.push(n),n},e.next=8,c.send(f);case 8:if(j=void 0,k=void 0,j=(x=y=e.sent).isTimedOut,k=x.status,!(j||function(e){var t=e.isTimedOut,n=e.status;return!t&&!~~n}({isTimedOut:j,status:k})||2!=~~(k/100)&&4!=~~(k/100))){e.next=16;break}return b=g(y),y.isTimedOut&&S++,o.info("Retryable failure",ni(b)),e.next=15,n.set(a,t7(a,y.isTimedOut?"timed out":"down"));case 15:return e.abrupt("return",w(t,r));case 16:if(2!=~~(y.status/100)){e.next=18;break}return e.abrupt("return",function(e){try{return JSON.parse(e.content)}catch(t){throw new no(t.message,e)}}(y));case 18:throw g(y),function(e,t){var n=e.content,r=e.status;try{var o=JSON.parse(n);return"error"in o?new na(o.message,r,o.error,t):new nr(o.message,r,t)}catch(e){}return new nr(n,r,t)}(y,p);case 20:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),k=t.filter(function(e){return"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)}),e.next=13,function(e){return f.apply(this,arguments)}(k);case 13:return O=e.sent,e.abrupt("return",w(M(O.hosts).reverse(),O.getTimeout));case 15:case"end":return e.stop()}},e)}))).apply(this,arguments)}return{hostsCache:n,requester:c,timeouts:s,logger:o,algoliaAgent:i,baseHeaders:r,baseQueryParameters:a,hosts:t,request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);var o=function(){return d(e,t)};if(!0!==(t.cacheable||e.cacheable))return o();var i={request:e,requestOptions:t,transporter:{queryParameters:a,headers:r}};return u.get(i,function(){return l.get(i,function(){return l.set(i,o()).then(function(e){return Promise.all([l.delete(i),e])},function(e){return Promise.all([l.delete(i),Promise.reject(e)])}).then(function(e){var t=L(e,2);return t[0],t[1]})})},{miss:function(e){return u.set(i,e)}})},requestsCache:l,responsesCache:u}}(T(T({hosts:[{url:"".concat(f,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(f,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}([{url:"".concat(f,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(f,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(f,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))},h),{},{algoliaAgent:(s=(o={algoliaAgents:m,client:"Lite",version:nl}).algoliaAgents,c=o.client,u=(a=l=o.version,i={value:"Algolia for JavaScript (".concat(a,")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===i.value.indexOf(t)&&(i.value="".concat(i.value).concat(t)),i}}).add({segment:c,version:l}),s.forEach(function(e){return u.add(e)}),u),baseHeaders:T(T({"content-type":"text/plain"},g.headers()),h.baseHeaders),baseQueryParameters:T(T({},g.queryParameters()),h.baseQueryParameters)})),appId:f,apiKey:d,clearCache:function(){return Promise.all([v.requestsCache.clear(),v.responsesCache.clear()]).then(function(){})},get _ua(){return v.algoliaAgent.value},addAlgoliaAgent:function(e,t){v.algoliaAgent.add({segment:e,version:t})},setClientApiKey:function(e){var t=e.apiKey;p&&"WithinHeaders"!==p?v.baseQueryParameters["x-algolia-api-key"]=t:v.baseHeaders["x-algolia-api-key"]=t},searchForHits:function(e,t){return this.search(e,t)},searchForFacets:function(e,t){return this.search(e,t)},customPost:function(e,t){var n=e.path,r=e.parameters,o=e.body;if(!n)throw Error("Parameter `path` is required when calling `customPost`.");var a={method:"POST",path:"/{path}".replace("{path}",n),queryParameters:r||{},headers:{},data:o||{}};return v.request(a,t)},getRecommendations:function(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var n={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return v.request(n,t)},search:function(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(function(e){var t=e.params,n=D(e,nc);return"facet"===n.type?T(T(T({},n),t),{},{type:"facet"}):T(T(T({},n),t),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var n={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return v.request(n,t)}}}(l,u);return e.addAlgoliaAgent("docsearch",nu),!1===/docsearch.js \(.*\)/.test(e.transporter.algoliaAgent.value)&&e.addAlgoliaAgent("docsearch-react",nu),t(e)},[l,u,t])),es=o.useRef(t8({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(f),limit:10})).current,ec=o.useRef(t8({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(f),limit:0===es.getAll().length?7:4})).current,el=o.useCallback(function(e){if(!A){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===es.getAll().findIndex(function(e){return e.objectID===t.objectID})&&ec.add(t)}},[es,ec,A]),eu=o.useCallback(function(e){if(U.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t={eventName:"Item Selected",index:e.__autocomplete_indexName,items:[e],positions:[e.__autocomplete_id],queryID:e.__autocomplete_queryID};U.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(t)}},[U.context.algoliaInsightsPlugin]),ef=o.useMemo(function(){return function(e){var t,n,r,o,a,i,s,c,l,u,f,d,p,m,h,g,v,y,b,x,S=[],w=(n="undefined"!=typeof window?window:{},r=e.plugins||[],ez(ez({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:n,shouldPanelOpen:function(e){return J(e.state)>0},reshape:function(e){return e.sources}},e),{},{id:null!==(t=e.id)&&void 0!==t?t:"autocomplete-".concat(W++),plugins:r,initialState:ez({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),r.forEach(function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)})},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),r.forEach(function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)})},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),r.forEach(function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)})},getSources:function(t){var n;
1return Promise.all([].concat(function(e){if(Array.isArray(e))return eM(e)}(n=r.map(function(e){return e.getSources}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return eM(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eM(e,void 0)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.getSources]).filter(Boolean).map(function(e){var n;return n=[],Promise.resolve(e(t)).then(function(e){return Promise.all(e.filter(function(e){return!!e}).map(function(e){if(e.sourceId,n.includes(e.sourceId))throw Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));n.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:Y,onResolve:Y};return Object.keys(t).forEach(function(e){t[e].__default=!0}),Promise.resolve(eE(eE({},t),e))}))})})).then(function(e){return G(e)}).then(function(e){return e.map(function(e){return ez(ez({},e),{},{onSelect:function(t){e.onSelect(t),S.forEach(function(e){var n;return null===(n=e.onSelect)||void 0===n?void 0:n.call(e,t)})},onActive:function(t){e.onActive(t),S.forEach(function(e){var n;return null===(n=e.onActive)||void 0===n?void 0:n.call(e,t)})},onResolve:function(t){e.onResolve(t),S.forEach(function(e){var n;return null===(n=e.onResolve)||void 0===n?void 0:n.call(e,t)})}})})})},navigator:ez({navigate:function(e){var t=e.itemUrl;n.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,r=n.open(t,"_blank","noopener");null==r||r.focus()},navigateNewWindow:function(e){var t=e.itemUrl;n.open(t,"_blank","noopener")}},e.navigator)})),j=(o=function(e){var t,n,r=e.prevState,o=e.state;if(w.onStateChange(tw({prevState:r,state:o,refresh:E,navigator:w.navigator},k)),!_()&&null!==(t=o.context)&&void 0!==t&&null!==(n=t.algoliaInsightsPlugin)&&void 0!==n&&n.__automaticInsights&&!1!==w.insights){var a=ex({__autocomplete_clickAnalytics:!1});w.plugins.push(a),P([a])}},i=w.initialState,{getState:function(){return i},dispatch:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eT(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(r=function(e,t){if("object"!==eF(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==eF(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===eF(r)?r:String(r))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},i);o({state:i=tb(i,{type:e,props:w,payload:t}),prevState:n})},pendingRequests:(a=[],{add:function(e){return a.push(e),e.finally(function(){a=a.filter(function(t){return t!==e})})},cancelAll:function(){a.forEach(function(e){return e.cancel()})},isEmpty:function(){return 0===a.length}})}),k={setActiveItemId:function(e){j.dispatch("setActiveItemId",e)},setQuery:function(e){j.dispatch("setQuery",e)},setCollections:function(e){var t=0,n=e.map(function(e){return eR(eR({},e),{},{items:G(e.items).map(function(e){return eR(eR({},e),{},{__autocomplete_id:t++})})})});j.dispatch("setCollections",n)},setIsOpen:function(e){j.dispatch("setIsOpen",e)},setStatus:function(e){j.dispatch("setStatus",e)},setContext:function(e){j.dispatch("setContext",e)}},O=(c=(s=tw({props:w,refresh:E,store:j,navigator:w.navigator},k)).props,l=s.refresh,u=s.store,f=tf(s,tr),{getEnvironmentProps:function(e){var t=e.inputElement,n=e.formElement,r=e.panelElement;function o(e){!u.getState().isOpen&&u.pendingRequests.isEmpty()||e.target===t||!1===[n,r].some(function(t){var n;return t===(n=e.target)||t.contains(n)})&&(u.dispatch("blur",null),c.debug||u.pendingRequests.cancelAll())}return tu({onTouchStart:o,onMouseDown:o,onTouchMove:function(e){!1!==u.getState().isOpen&&t===c.environment.document.activeElement&&e.target!==t&&t.blur()}},tf(e,to))},getRootProps:function(e){return tu({role:"combobox","aria-expanded":u.getState().isOpen,"aria-haspopup":"listbox","aria-controls":u.getState().isOpen?u.getState().collections.map(function(e){var t=e.source;return eA(c.id,"list",t)}).join(" "):void 0,"aria-labelledby":eA(c.id,"label")},e)},getFormProps:function(e){return e.inputElement,tu({action:"",noValidate:!0,role:"search",onSubmit:function(t){var n;t.preventDefault(),c.onSubmit(tu({event:t,refresh:l,state:u.getState()},f)),u.dispatch("submit",null),null===(n=e.inputElement)||void 0===n||n.blur()},onReset:function(t){var n;t.preventDefault(),c.onReset(tu({event:t,refresh:l,state:u.getState()},f)),u.dispatch("reset",null),null===(n=e.inputElement)||void 0===n||n.focus()}},tf(e,ta))},getLabelProps:function(e){return tu({htmlFor:eA(c.id,"input"),id:eA(c.id,"label")},e)},getInputProps:function(e){function t(e){(c.openOnFocus||u.getState().query
vendor: 5,054 bytes, line 1
1)&&e8(tu({event:e,props:c,query:u.getState().completion||u.getState().query,refresh:l,store:u},f)),u.dispatch("focus",null)}var n,r,o=e||{};o.inputElement;var a=o.maxLength,i=void 0===a?512:a,s=tf(o,ti),d=e_(u.getState()),p=!!((n=(null===(r=c.environment.navigator)||void 0===r?void 0:r.userAgent)||"")&&n.match(eI)),m=c.enterKeyHint||(null!=d&&d.itemUrl&&!p?"go":"search");return tu({"aria-autocomplete":"both","aria-activedescendant":u.getState().isOpen&&null!==u.getState().activeItemId?eA(c.id,"item-".concat(u.getState().activeItemId),null==d?void 0:d.source):void 0,"aria-controls":u.getState().isOpen?u.getState().collections.map(function(e){var t=e.source;return eA(c.id,"list",t)}).join(" "):void 0,"aria-labelledby":eA(c.id,"label"),value:u.getState().completion||u.getState().query,id:eA(c.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:m,spellCheck:"false",autoFocus:c.autoFocus,placeholder:c.placeholder,maxLength:i,type:"search",onChange:function(e){var t=e.currentTarget.value;c.ignoreCompositionEvents&&eC(e).isComposing?f.setQuery(t):e8(tu({event:e,props:c,query:t.slice(0,i),refresh:l,store:u},f))},onCompositionEnd:function(e){e8(tu({event:e,props:c,query:e.currentTarget.value.slice(0,i),refresh:l,store:u},f))},onKeyDown:function(e){eC(e).isComposing||function(e){var t=e.event,n=e.props,r=e.refresh,o=e.store,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,e7);if("ArrowUp"===t.key||"ArrowDown"===t.key){var i=function(){var e=e_(o.getState()),t=n.environment.document.getElementById(eA(n.id,"item-".concat(o.getState().activeItemId),null==e?void 0:e.source));t&&(t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView(!1))},s=function(){var e=e_(o.getState());if(null!==o.getState().activeItemId&&e){var n=e.item,i=e.itemInputValue,s=e.itemUrl,c=e.source;c.onActive(tt({event:t,item:n,itemInputValue:i,itemUrl:s,refresh:r,source:c,state:o.getState()},a))}};t.preventDefault(),!1===o.getState().isOpen&&(n.openOnFocus||o.getState().query)?e8(tt({event:t,props:n,query:o.getState().query,refresh:r,store:o},a)).then(function(){o.dispatch(t.key,{nextActiveItemId:n.defaultActiveItemId}),s(),setTimeout(i,0)}):(o.dispatch(t.key,{}),s(),i())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every(function(e){return 0===e.items.length}))return void(n.debug||o.pendingRequests.cancelAll());t.preventDefault();var c=e_(o.getState()),l=c.item,u=c.itemInputValue,f=c.itemUrl,d=c.source;if(t.metaKey||t.ctrlKey)void 0!==f&&(d.onSelect(tt({event:t,item:l,itemInputValue:u,itemUrl:f,refresh:r,source:d,state:o.getState()},a)),n.navigator.navigateNewTab({itemUrl:f,item:l,state:o.getState()}));else if(t.shiftKey)void 0!==f&&(d.onSelect(tt({event:t,item:l,itemInputValue:u,itemUrl:f,refresh:r,source:d,state:o.getState()},a)),n.navigator.navigateNewWindow({itemUrl:f,item:l,state:o.getState()}));else if(t.altKey);else{if(void 0!==f)return d.onSelect(tt({event:t,item:l,itemInputValue:u,itemUrl:f,refresh:r,source:d,state:o.getState()},a)),void n.navigator.navigate({itemUrl:f,item:l,state:o.getState()});e8(tt({event:t,nextState:{isOpen:!1},props:n,query:u,refresh:r,store:o},a)).then(function(){d.onSelect(tt({event:t,item:l,itemInputValue:u,itemUrl:f,refresh:r,source:d,state:o.getState()},a))})}}}(tu({event:e,props:c,refresh:l,store:u},f))},onFocus:t,onBlur:Y,onClick:function(n){e.inputElement!==c.environment.document.activeElement||u.getState().isOpen||t(n)}},s)},getPanelProps:function(e){return tu({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){u.dispatch("mouseleave",null)}},e)},getListProps:function(e){var t=e||{},n=t.source,r=tf(t,ts);return tu({role:"listbox","aria-labelledby":eA(c.id,"label"),id:eA(c.id,"list",n)},r)},getItemProps:function(e){var t=e.item,n=e.source,r=tf(e,tc);return tu({id:eA(c.id,"item-".concat(t.__autocomplete_id),n),role:"option","aria-selected":u.getState().activeItemId===t.__autocomplete_id,onMouseMove:function(e){if(t.__autocomplete_id!==u.getState().activeItemId){u.dispatch("mousemove",t.__autocomplete_id);var n=e_(u.getState());if(null!==u.getState().activeItemId&&n){var r=n.item,o=n.itemInputValue,a=n.itemUrl,i=n.source;i.onActive(tu({event:e,item:r,itemInputValue:o,itemUrl:a,refresh:l,source:i,state:u.getState()},f))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var r=n.getItemInputValue({item:t,state:u.getState()}),o=n.getItemUrl({item:t,state:u.getState()});(o?Promise.resolve():e8(tu({event:e,nextState:{isOpen:!1},props:c,query:r,refresh:l,store:u}
1,f))).then(function(){n.onSelect(tu({event:e,item:t,itemInputValue:r,itemUrl:o,refresh:l,source:n,state:u.getState()},f))})}},r)}});function E(){return e8(tw({event:new Event("input"),nextState:{isOpen:j.getState().isOpen},props:w,navigator:w.navigator,query:j.getState().query,refresh:E,store:j},k))}function P(e){e.forEach(function(e){var t;return null===(t=e.subscribe)||void 0===t?void 0:t.call(e,tw(tw({},k),{},{navigator:w.navigator,refresh:E,onSelect:function(e){S.push({onSelect:e})},onActive:function(e){S.push({onActive:e})},onResolve:function(e){S.push({onResolve:e})}}))})}function _(){return w.plugins.some(function(e){return"aa.algoliaInsightsPlugin"===e.name})}if(w.insights&&!_()){var A="boolean"==typeof w.insights?{}:w.insights;w.plugins.push(ex(A))}return P(w.plugins),function(e){var t,n,r=e.metadata,o=e.environment;if(null===(t=o.navigator)||void 0===t||null===(n=t.userAgent)||void 0===n?void 0:n.includes("Algolia Crawler")){var a=o.document.createElement("meta"),i=o.document.querySelector("head");a.name="algolia:metadata",setTimeout(function(){a.content=JSON.stringify(r),i.appendChild(a)},0)}}({metadata:(v=(d={plugins:w.plugins,options:e}).plugins,x=(b=null===(p=((null===(m=(y=d.options).__autocomplete_metadata)||void 0===m?void 0:m.userAgents)||[])[0])||void 0===p?void 0:p.segment)?tm({},b,Object.keys((null===(h=y.__autocomplete_metadata)||void 0===h?void 0:h.options)||{})):{},{plugins:v.map(function(e){return{name:e.name,options:Object.keys(e.__autocomplete_pluginOptions||[])}}),options:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tp(Object(n),!0).forEach(function(t){tm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({"autocomplete-core":Object.keys(y)},x),ua:Q.concat((null===(g=y.__autocomplete_metadata)||void 0===g?void 0:g.userAgents)||[])}),environment:w.environment}),tw(tw({refresh:E,navigator:w.navigator},O),k)}({id:"docsearch",defaultActiveItemId:0,placeholder:p,openOnFocus:!0,initialState:{query:ea,context:{searchSuggestions:[]}},insights:z,navigator:w,onStateChange:function(e){Z(e.state)},getSources:function(e){var t=e.query,n=e.state,r=e.setContext,o=e.setStatus;if(!t)return A?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,n=e.event;el(t),tG(n)||v()},getItemUrl:function(e){return e.item.url},getItems:function(){return ec.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,n=e.event;el(t),tG(n)||v()},getItemUrl:function(e){return e.item.url},getItems:function(){return es.getAll()}}];var a=!!z;return ei.search({requests:[T({query:t,indexName:f,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(er.current),"hierarchy.lvl2:".concat(er.current),"hierarchy.lvl3:".concat(er.current),"hierarchy.lvl4:".concat(er.current),"hierarchy.lvl5:".concat(er.current),"hierarchy.lvl6:".concat(er.current),"content:".concat(er.current)],snippetEllipsisText:"â¦",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:a},m)]}).catch(function(e){throw"RetryError"===e.name&&o("error"),e}).then(function(e){var t=e.results[0],o=t.hits,i=t.nbHits,s=tZ(o,function(e){return tY(e)},h);n.context.searchSuggestions.length<Object.keys(s).length&&r({searchSuggestions:Object.keys(s)}),r({nbHits:i});var c={};return a&&(c={__autocomplete_indexName:f,__autocomplete_queryID:t.queryID,__autocomplete_algoliaCredentials:{appId:l,apiKey:u}}),Object.values(s).map(function(e,t){return{sourceId:"hits".concat(t),onSelect:function(e){var t=e.item,n=e.event;el(t),tG(n)||v()},getItemUrl:function(e){return e.item.url},getItems:function(){return Object.values(tZ(e,function(e){return e.hierarchy.lvl1},h)).map(b).map(function(e){return e.map(function(t){var n=null,r=e.find(function(e){return"lvl1"===e.type&&e.hierarchy.lvl1===t.hierarchy.lvl1});return"lvl1"!==t.type&&r&&(n=r),T(T({},t),{},{__docsearch_parent:n},c)})}).flat()}}})})}})},[f,m,h,ei,v,ec,es,el,ea,p,w,b,A,z,l,u]),ed=ef.getEnvironmentProps,ep=ef.getRootProps,em=ef.refresh;return r=(n={getEnvironmentProps:ed,panelElement:et.current,formElement:ee.current,inputElement:en.current}).getEnvironmentProps,a=n.panelElement,i=n.formElement,s=n.inputElement,o.useEffect(function(){if(a&&i&&s){var e=r({panelElement:a,formElement:i,inputElement:s}),t=e.onTouchStart,n=e.onTouchMove;return window.addEventListener("touchstart",t),window.addEventListener("touchmove",n),function(){window.removeEventListener("touchstart",t),window.removeEventListener("touchmove",n)}}},[r,a,i,s]),c=({container:K.current}).container,o.useEffect(function(){if(c){var e=c.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),t=e[0],n=e[e.length-1];return c.addEventListener("keydown",r),function(){c.removeEventListener("keydown",r)}}function r(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),t.focus()))}},[c]),o.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var e,t;document.body.classList.remove("DocSearch--active"),null===(e=(t=window).scrollTo)||void 0===e||e.call(t,0,O)}},[]),o.useLayoutEffect(function(){var e=window.innerWidth-document.body.clientWidth;return document.body.style.marginRight="".concat(e,"px"),function(){document.body.style.marginRight="0px"}},[]),o.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(er.current=5)},[]),o.useEffect(function(){et.current&&(et.current.scrollTop=0)},[U.query]),o.useEffect(function(){ea.length>0&&(em(),en.current&&en.current.focus())},[ea,em]),o.useEffect(function(){function e(){if(X.current){var e=.01*window.innerHeight;X.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),o.createElement("div",_({ref:K},ep({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===U.status&&"DocSearch-Container--Stalled","error"===U.status&&"DocSearch-Container--Errored"].filter(
1Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&v()}}),o.createElement("div",{className:"DocSearch-Modal",ref:X},o.createElement("header",{className:"DocSearch-SearchBar",ref:ee},o.createElement(t9,_({},ef,{state:U,autoFocus:0===ea.length,inputRef:en,isFromSelection:!!ea&&ea===eo,translations:q,onClose:v}))),o.createElement("div",{className:"DocSearch-Dropdown",ref:et},o.createElement(t3,_({},ef,{indexName:f,state:U,hitComponent:void 0===x?tE:x,resultsFooterComponent:void 0===S?function(){return null}:S,disableUserPersonalization:A,recentSearches:ec,favoriteSearches:es,inputRef:en,translations:B,getMissingResultsUrl:R,onItemClick:function(e,t){eu(e),el(e),tG(t)||v()}}))),o.createElement("footer",{className:"DocSearch-Footer"},o.createElement(tO,{translations:$}))))}function np(e){var t,n,r,a,i,s,c,l,u=o.useRef(null),f=L(o.useState(!1),2),d=f[0],p=f[1],m=L(o.useState((null==e?void 0:e.initialQuery)||void 0),2),h=m[0],g=m[1],v=o.useCallback(function(){p(!0)},[p]),y=o.useCallback(function(){p(!1),g(null==e?void 0:e.initialQuery)},[p,e.initialQuery]);return n=(t={isOpen:d,onOpen:v,onClose:y,onInput:o.useCallback(function(e){p(!0),g(e.key)},[p,g]),searchButtonRef:u}).isOpen,r=t.onOpen,a=t.onClose,i=t.onInput,s=t.searchButtonRef,o.useEffect(function(){function e(e){var t,o,c;if("Escape"===e.code&&n||"k"===(null===(t=e.key)||void 0===t?void 0:t.toLowerCase())&&(e.metaKey||e.ctrlKey)||(c=(o=e.target).tagName,!o.isContentEditable&&"INPUT"!==c&&"SELECT"!==c&&"TEXTAREA"!==c&&"/"===e.key&&!n))return e.preventDefault(),void(n?a():document.body.classList.contains("DocSearch--active")||r());s&&s.current===document.activeElement&&i&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&i(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[n,r,a,i,s]),o.createElement(o.Fragment,null,o.createElement(U,{ref:u,translations:null==e||null===(c=e.translations)||void 0===c?void 0:c.button,onClick:v}),d&&(0,x.createPortal)(o.createElement(nd,_({},e,{initialScrollY:window.scrollY,initialQuery:h,translations:null==e||null===(l=e.translations)||void 0===l?void 0:l.modal,onClose:y})),document.body))}function nm(){return(0,r.jsx)(np,{appId:"U0FP4K92T1",apiKey:"06ddd8cf9fb03dd2682db8af1f4437d6",indexName:"markdoc"})}function nh(e){let{children:t}=e,[n,a]=o.useState(!1);return(0,r.jsxs)("div",{className:"jsx-8420dd369508401 nav-bar",children:[(0,r.jsxs)("nav",{className:"jsx-8420dd369508401",children:[(0,r.jsxs)("div",{className:"jsx-8420dd369508401 flex top-row",children:[(0,r.jsx)(s.F,{href:"/",className:"flex",children:(0,r.jsxs)("svg",{title:"Markdoc",width:"112",height:"37",viewBox:"0 0 112 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jsx-8420dd369508401",children:[(0,r.jsx)("rect",{x:"58.8",y:"4.66669",width:"53.2",height:"28",rx:"1.86667",fill:"var(--theme)",className:"jsx-8420dd369508401"}),(0,r.jsx)("path",{d:"M66.6732 11.0502V26H71.4108C75.2009 26 77.6223 22.8837 77.6223 18.4198C77.6223 14.0402 75.3904 11.0502 71.4529 11.0502H66.6732ZM71.2424 23.9365H69.2631V13.1137H71.2845C73.748 13.1137 74.9693 15.3036 74.9693 18.4198C74.9693 21.5993 73.6638 23.9365 71.2424 23.9365ZM85.4366 26.358C89.1845 26.358 91.0164 23.6838 91.0164 19.2831V17.7671C91.0164 13.3664 89.1845 10.6923 85.4366 10.6923C81.6886 10.6923 79.8567 13.3664 79.8567 17.7671V19.2831C79.8567 23.6838 81.6886 26.358 85.4366 26.358ZM85.4366 24.2313C83.4152 24.2313 82.5098 22.7153 82.5098 19.3463V17.7039C82.5098 14.335 83.4152 12.8189 85.4366 12.8189C87.4579 12.8189 88.3634 14.335 88.3634 17.7039V19.3463C88.3634 22.7153 87.4579 24.2313 85.4366 24.2313ZM98.8938 26.358C102.347 26.358 104.221 24.1681 104.432 21.0097L101.863 20.5254C101.736 22.9258 100.768 24.2102 98.9991 24.2102C97.0198 24.2102 96.0513 22.4626 96.0513 19.1989V17.7039C96.0513 14.4192 96.9777 12.84 98.9991 12.84C100.747 12.84 101.736 14.1455 101.863 16.5037L104.453 16.1037C104.179 12.4189 102.221 10.6923 99.0202 10.6923C95.2722
110.6923 93.3982 13.3875 93.3982 17.746V19.3042C93.3982 23.6628 95.209 26.358 98.8938 26.358Z",fill:"var(--black)",className:"jsx-8420dd369508401"}),(0,r.jsx)("path",{d:"M7.53805 22.3573L8.6119 17.0512C8.80141 16.1879 9.07514 14.6298 9.18042 13.6822H9.32781C9.26464 14.9035 9.22253 16.7354 9.22253 17.9145V26H11.5387V11.0502H8.27501L6.86426 17.8092C6.75898 18.4409 6.63264 19.2621 6.59053 19.7043H6.46419C6.42208 19.2621 6.29575 18.4409 6.19046 17.8092L4.77971 11.0502H1.51603V26H3.83219V17.9145C3.83219 16.7354 3.79008 14.9035 3.72691 13.6822H3.8743C4.00064 14.6298 4.25331 16.1879 4.44282 17.0512L5.51667 22.3573H7.53805ZM22.3639 22.1889L23.4589 26H26.0066L21.5006 11.0502H18.5107L14.0047 26H16.5525L17.6263 22.1889H22.3639ZM19.9636 13.198H20.0478C20.3847 15.0298 20.9321 17.2618 21.7744 20.1043H18.2159C19.0581 17.2618 19.6267 15.0298 19.9636 13.198ZM33.4419 19.8727L36.4529 26H39.2954L35.9686 19.4305C37.7794 18.8199 38.8111 17.4092 38.8111 15.5141C38.8111 12.6716 36.9372 11.0502 33.6524 11.0502H28.5569V26H31.1468V19.8727H33.4419ZM31.1468 18.0198V13.0506H33.4208C35.1685 13.0506 36.0949 13.9349 36.0949 15.5352C36.0949 17.1354 35.1685 18.0198 33.4208 18.0198H31.1468ZM46.6675 18.7567L50.2681 26H53.258L48.5836 16.967L52.8159 11.0502H49.8259L45.0041 18.0829V11.0502H42.4142V26H45.0041V21.0729L46.6675 18.7567Z",fill:"var(--dark)",className:"jsx-8420dd369508401"})]})}),(0,r.jsx)("button",{onClick:()=>a(e=>!e),className:"jsx-8420dd369508401 hamburger",children:(0,r.jsxs)("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jsx-8420dd369508401",children:[(0,r.jsx)("rect",{width:"16",height:"2",fill:"var(--black)",className:"jsx-8420dd369508401"}),(0,r.jsx)("rect",{y:"4",width:"16",height:"2",fill:"var(--black)",className:"jsx-8420dd369508401"}),(0,r.jsx)("rect",{y:"8",width:"16",height:"2",fill:"var(--black)",className:"jsx-8420dd369508401"})]})})]}),(0,r.jsxs)("section",{className:"jsx-8420dd369508401 "+((n?"active":"")||""),children:[t,(0,r.jsx)(nm,{})]})]}),(0,r.jsx)(l(),{id:"8420dd369508401",children:".nav-bar.jsx-8420dd369508401{top:0;position:fixed;z-index:100;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:100%;background:var(--light)}nav.jsx-8420dd369508401{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1rem;width:100%;margin:0 auto;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid var(--page-border);padding:1rem 2rem 1.1rem;font-size:15px;font-family:var(--sans)}nav.jsx-8420dd369508401 a{text-decoration:none}nav.jsx-8420dd369508401 .DocSearch-Button{background:var(--code-background);height:32px;-webkit-border-radius:32px;-moz-border-radius:32px;border-radius:32px}nav.jsx-8420dd369508401 .DocSearch-Button:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background:#e8eef3}.dark nav.jsx-8420dd369508401 .DocSearch-Button:hover{background:#424248}nav.jsx-8420dd369508401 .DocSearch-Search-Icon{color:var(--dark);width:16px}nav.jsx-8420dd369508401 .DocSearch-Button-Placeholder,nav.jsx-8420dd369508401 .DocSearch-Button-Keys{dis
1play:none}section.jsx-8420dd369508401{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:1.3rem;padding:0}button.jsx-8420dd369508401{display:none;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:48px;height:32px;background:var(--gray-light);-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.top-row.jsx-8420dd369508401{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}@media screen and (max-width:600px){.nav-bar.jsx-8420dd369508401{border-bottom:1px solid var(--dark)}nav.jsx-8420dd369508401{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;border-bottom:none}section.jsx-8420dd369508401{display:none;font-size:15px}section.active.jsx-8420dd369508401{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}button.jsx-8420dd369508401{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}}"})]})}n(2534),n(5660),n(7013),n(9031),n(235),n(8674),n(1233),n(4060),n(485),n(6456),n(8831),n(7437),n(2793),n(1119),n(6922);let ng="Markdoc",nv="https://b.stripecdn.com/markdoc-srv/assets/fonts";function ny(e){var t;let{Component:n,pageProps:a}=e,{markdoc:c}=a,l=ng,f="A powerful, flexible, Markdown-based authoring framework";c&&(c.frontmatter.title&&(l=c.frontmatter.title),c.frontmatter.description&&(f=c.frontmatter.description));let d=(null===(t=a.markdoc)||void 0===t?void 0:t.content)?function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t){if("Heading"===t.name){let e=t.children[0];"string"==typeof e&&n.push({...t.attributes,title:e})}if(t.children)for(let r of t.children)e(r,n)}return n}(a.markdoc.content):[],p=e.router.asPath.startsWith("/docs"),m="/"===e.router.pathname;return o.useEffect(()=>console.log("\n\n\n âââ âââ âââââ ââââââ ââ ââ ââââââ ââââââ ââââââ\n ââââ ââââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ\n ââ ââââ ââ âââââââ ââââââ âââââ ââ ââ ââ ââ ââ\n ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ ââ\n ââ ââ ââ ââ ââ ââ ââ ââ ââââââ ââââââ ââââââ\n\n\n\n"),[]),(0,r.jsxs)("div",{className:"".concat(m?"page--landing":""," ").concat(p?"page--docs":""),children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:"".concat(ng," | ").concat(l)}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,r.jsx)("link",{rel:"preload",as:"font",href:"".concat(nv,"/GT-America-Mono-Regular.otf"),crossOrigin:"",type:"font/otf"}),(0,r.jsx)("link",{rel:"preload",as:"font",href:"".concat(nv,"/GT-America-Mono-Medium.otf"),crossOrigin:"",type:"font/otf"}),(0,r.jsx)("link",{rel:"preload",as:"font",href:"".concat(nv,"/tiempos-headline-light.woff2"),crossOrigin:"",type:"font/woff2"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://".concat("U0FP4K92T1","-dsn.algolia.net"),crossOrigin:""}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("meta",{name:"referrer",content:"strict-origin"}),(0,r.jsx)("meta",{name:"title",content:l}),(0,r.jsx)("meta",{name:"description",content:f}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:"https://markdoc.dev"}),(0,r.jsx)("meta",{property:"og:title",content:l}),(0,r.jsx)("meta",{property:"og:description",content:f}),(0,r.jsx)("meta",{property:"og:image",content:"https://markdoc.dev/images/sh
1are.png"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://markdoc.dev/images/share.png"}),(0,r.jsx)("style",{children:"\n @font-face {\n font-family: 'GT America Mono';\n font-style: normal;\n font-weight: normal;\n src: url('".concat(nv,"/GT-America-Mono-Regular.otf')\n format('opentype');\n }\n\n @font-face {\n font-family: 'GT America Mono';\n font-style: normal;\n font-weight: 500;\n src: url('").concat(nv,"/GT-America-Mono-Medium.otf')\n format('opentype');\n }\n\n @font-face {\n font-family: 'Tiempos';\n font-style: normal;\n src: url('").concat(nv,"/tiempos-headline-light.woff2');\n font-display: block;\n }\n ")})]}),(0,r.jsx)("a",{href:"#skip-nav",className:"skip-nav",children:"Skip to content"}),(0,r.jsxs)(nh,{children:[(0,r.jsx)(s.F,{href:"/docs/getting-started",children:"Docs"}),(0,r.jsx)(s.F,{href:"https://github.com/markdoc/markdoc",children:"GitHub"}),(0,r.jsx)(s.F,{href:"https://github.com/markdoc/markdoc/discussions",children:"Community"}),(0,r.jsx)(s.F,{href:"https://twitter.com/StripeDev",children:"Twitter"}),(0,r.jsx)("span",{className:"primary no-mobile",children:(0,r.jsx)(s.F,{href:"/sandbox",children:"Try"})})]}),(0,r.jsxs)("div",{className:"page",children:[p?(0,r.jsx)(h,{}):null,(0,r.jsxs)("main",{className:"flex column",children:[(0,r.jsx)("div",{id:"skip-nav"}),(0,r.jsx)(n,{...a})]}),p&&d?(0,r.jsx)(g,{toc:d}):null]}),(0,r.jsx)("div",{className:"footer-bar",children:(0,r.jsxs)(u,{landing:m,children:[(0,r.jsx)(s.F,{href:"/docs/getting-started",children:"Docs"}),(0,r.jsx)(s.F,{href:"https://github.com/markdoc/markdoc",children:"GitHub"}),(0,r.jsx)(s.F,{href:"https://github.com/markdoc/markdoc/discussions",children:"Community"}),(0,r.jsx)(s.F,{href:"https://twitter.com/StripeDev",children:"Twitter"})]})})]})}},1479:function(){},2534:function(){},1119:function(){},2793:function(){},6922:function(){},7663:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c=[],l=!1,u=-1;function f(){l&&r&&(l=!1,r.length?c=r.concat(c):u=-1,c.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(r=c,c=[];++u<t;)r&&r[u].run();u=-1,t=c.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//";var o=r(229);e.exports=o}()},9008:function(e,t,n){e.exports=n(3867)},1664:function(e,t,n){e.exports=n(8342)},1163:function(e,t,n){e.exports=n(3079)},7013:function(
vendor: 5,809 bytes, line 1
1){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var
1o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},9031:function(){Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},Prism.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(u(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var a=f(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=t[n+0];"variable"===i.type&&(d(i,"variable-input"),o.push(i.content))}n=a+1}if(u(["punctuation","property-query"])&&"{"===t[n+0].content&&(d(t[++n+0],"property-mutation"),o.length>0)){var s=f(/^\{$/,/^\}$/);if(-1===s)continue;for(var c=n;c<s;c++){var l=t[c];"variable"===l.type&&o.indexOf(l.content)>=0&&d(l,"variable-input")}}}}function u(e,r){r=r||0;for(var o=0;o<e.length;o++){var a=t[n+(o+r)];if(!a||a.type!==e[o])return!1}return!0}function f(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s){if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}}return -1}function d(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})},235:function(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp("(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?
1:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp("((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)/(?:(?:\\[(?:[^\\]\\\\\r\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|/\\*(?:[^*]|\\*(?!/))*\\*/)*(?:$|[\r\n,.;:})\\]]|//))"),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)","javascript")),Prism.languages.js=Prism.languages.javascript},8674:function(){Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},1233:function(){!function(e){var t=e.util.clone(e.languages.javascript),n="(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})";function r(e,t){return RegExp(e=e.replace(/<S>
1/g,function(){return"(?:\\s|//.*(?!.)|/\\*(?:[^*]|\\*(?!/))\\*/)"}).replace(/<BRACES>/g,function(){return"(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})"}).replace(/<SPREAD>/g,function(){return n}),t)}n=r(n).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=r("</?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:\"(?:\\\\[^]|[^\\\\\"])*\"|'(?:\\\\[^]|[^\\\\'])*'|[^\\s{'\"/>=]+|<BRACES>))?|<SPREAD>))*<S>*/?)?>"),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:r("<SPREAD>"),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:r("=<BRACES>"),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},a=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],s=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:s=!0),(s||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var c=o(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(c+=o(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(c=o(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",c,null,c)}i.content&&"string"!=typeof i.content&&a(i.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||a(e.tokens)})}(Prism)},4060:function(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp("(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[^])*?(?=</__>)".replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp("(^|[\"'\\s])(?:"+e+")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))","i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},485:function(){!function(e){function t(e){return e.replace(/__/g,function(){return"(?:[\\w-]+|'[^'\n\r]*'|\"(?:\\\\.|[^\\\\\"\r\n])*\")"})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0}
1,table:{pattern:RegExp(t("(^[ ]*\\[\\s*(?:\\[\\s*)?)__(?:\\s*\\.\\s*__)*(?=\\s*\\])"),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(t("(^[ ]*|[{,]\\s*)__(?:\\s*\\.\\s*__)*(?=\\s*=)"),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(Prism)},6456:function(){var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript},8831:function(){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o="(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\ud800-\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ ]*(?:(?![#:])<PLAIN>|:<PLAIN>))*".replace(/<PLAIN>/g,function(){return"[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\ud800-\udfff\\ufffe\\uffff]"}),a="\"(?:[^\"\\\\\r\n]|\\\\.)*\"|'(?:[^'\\\\\r\n]|\\\\.)*'";function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp("([:\\-,[{]\\s*(?:\\s<<prop>>[ ]+)?)(?:<<value>>)(?=[ ]*(?:$|,|\\]|\\}|(?:[\r\n]\\s*)?#))".replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp("([\\-:]\\s*(?:\\s<<prop>>[ ]+)?[|>])[ ]*(?:((?:\r?\n|\r)[ ]+)\\S[^\r\n]*(?:\\2[^\r\n]+)*)".replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp("((?:^|[:\\-,[{\r\n?])[ ]*(?:<<prop>>[ ]+)?)<<key>>(?=\\s*:\\s)".replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i("\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ ]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ ]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?"),lookbehind:!0,alias:"number"},boolean:{pattern:i("false|true","i"),lookbehind:!0,alias:"important"},null:{pattern:i("null|~","i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i("[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)","i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},7437:function(){!function(){if("undefined"!=typeof Prism){var e=/\b([a-z]{3,7}:\/\/|tel:)[\w\-+%~/.:=&!$'()*,;@]+(?:\?[\w\-+%~/.:=?&!$'()*,;@]*)?(?:#[\w\-+%~/.:#=?&!$'()*,;@]*)?/,t=/\b\S+@[\w.]+[a-z]{2}/,n=/\[([^\]]+)\]\(([^)]+)\)/,r=["comment","url","attr-value","string"];Prism.plugins.autolinker={processGrammar:function(o){o&&!o["url-link"]&&(Prism.languages.DFS(o,function(o,a,i){r.indexOf(i)>-1&&!Array.isArray(a)&&(a.pattern||(a=this[o]={pattern:a}),a.inside=a.inside||{},"comment"==i&&(a.inside["md-link"]=n),"attr-value"==i?Prism.languages.insertBefore("inside","punctuation",{"url-link":e},a):a.inside["url-link"]=e,a.inside["email-link"]=t)}),o["url-link"]=e,o["email-link"]=t)}},Prism.hooks.add("before-highlight",function(e){Prism.plugins.autolinker.processGrammar(e.grammar)}),Prism.hooks.add("wrap",function(e){if(/-link$/.test(e.type)){e.tag="a";var t=e.content;if("email-link"==e.type&&0!=t.indexOf("mailto:"))t="mailto:"+t;else if("md-link"==e.type){var r=e.content.match(n);t=r[2],e.content=r[1]}e.attributes.href=t;try{e.content=decodeURIComponent(e.content)}catch(e){}}})}}()},5660:function(e,t,n){var r,o,a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,a;switch(n=n||{},o.util.type(t)){case"Object":if(n[a=o.util.objId(t)])return n[a];for(var i in r={},n[a]=r,t)t.hasOwnProperty(i)&&(r[i]=e(t[i],n));return r;case"Array":if(n[a=o.util.objId(t)])return n[a];return r=[],n[a]=r,t.forEach(function(t,o){r[o]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;
1if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var a=(r=r||o.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(i[c]=n[c]);n.hasOwnProperty(s)||(i[s]=a[s])}var l=r[e];return r[e]=i,o.languages.DFS(o.languages,function(t,n){n===l&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,r,a){a=a||{};var i=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var c=t[s],l=o.util.type(c);"Object"!==l||a[i(c)]?"Array"!==l||a[i(c)]||(a[i(c)]=!0,e(c,n,s,a)):(a[i(c)]=!0,e(c,n,null,a))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var a,i=0;a=r.elements[i++];)o.highlightElement(a,!0===t,r.callback)},highlightElement:function(t,n,r){var a=o.util.getLanguage(t),i=o.languages[a];o.util.setLanguage(t,a);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,a);var c=t.textContent,l={element:t,language:a,grammar:i,code:c};function u(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code){o.hooks.run("complete",l),r&&r.call(l.element);return}if(o.hooks.run("before-highlight",l),!l.grammar){u(o.util.encode(l.code));return}if(n&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){u(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(o.highlight(l.code,l.grammar,l.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),a.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var l=new s;return c(l,l.head,e),function e(t,n,r,s,l,u){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var d=r[f];d=Array.isArray(d)?d:[d];for(var p=0;p<d.length;++p){if(u&&u.cause==f+","+p)return;var m=d[p],h=m.inside,g=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var b=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,b+"g")}for(var x=m.pattern||m,S=s.next,w=l;S!==n.tail&&(!u||!(w>=u.reach));w+=S.value.length,S=S.next){var j,k=S.value;if(n.length>t.length)return;if(!(k instanceof a)){var O=1;if(v){if(!(j=i(x,w,t,g))||j.index>=t.length)break;var E=j.index,P=j.index+j[0].length,_=w;for(_+=S.value.length;E>=_;)_+=(S=S.next).value.length;if(_-=S.value.length,w=_,S.value instanceof a)continue;for(var A=S;A!==n.tail&&(_<P||"string"==typeof A.value);A=A.next)O++,_+=A.value.length;O--,k=t.slice(w,_),j.index-=w}else if(!(j=i(x,0,k,g)))continue;var E=j.index,I=j[0],C=k.slice(0,E),F=k.slice(E+I.length),T=w+k.length;u&&T>u.reach&&(u.reach=T);var D=S.prev;if(C&&(D=c(n,D,C),w+=C.length),function(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}(n,D,O),S=c(n,D,new a(f,h?o.tokenize(I,h):I,y,I)),F&&c(n,S,F),O>1){var N={cause:f+","+p,reach:T};e(t,n,r,S.prev,w,N),u&&N.reach>u.reach&&(u.reach=N.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}
1function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}if(e.Prism=o,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),o.hooks.run("wrap",a);var s="";for(var c in a.attributes)s+=" "+c+'="'+(a.attributes[c]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,i=n.immediateClose;e.postMessage(o.highlight(a,o.languages[r],r)),i&&e.close()},!1)),o;var l=o.util.currentScript();function u(){o.manual||o.highlightAll()}if(l&&(o.filename=l.src,l.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==n.g&&(n.g.Prism=a),a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
1*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css,(o=a.languages.markup)&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css")),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript}
1,{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(void 0!==a&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",o="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';a.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),a.hooks.add("before-sanity-check",function(i){var s=i.element;if(s.matches(o)){i.code="",s.setAttribute(t,n);var c,l,u,f=s.appendChild(document.createElement("CODE"));f.textContent="Loadingâ¦";var d=s.getAttribute("data-src"),p=i.language;if("none"===p){var m=(/\.(\w+)$/.exec(d)||[,"none"])[1];p=e[m]||m}a.util.setLanguage(f,p),a.util.setLanguage(s,p);var h=a.plugins.autoloader;h&&h.loadLanguages(p),c=function(e){s.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],o=t[3];return r?o?[n,Number(o)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(n){var o=e.split(/\r\n?|\n/g),i=n[0],c=null==n[1]?o.length:n[1];i<0&&(i+=o.length),i=Math.max(0,Math.min(i-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(i,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(i+1))}f.textContent=e,a.highlightElement(f)},l=function(e){s.setAttribute(t,"failed"),f.textContent=e},(u=new XMLHttpRequest).open("GET",d,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?c(u.responseText):u.status>=400?l("â Error "+u.status+" while fetching file: "+u.statusText):l("â Error: File does not exist or is empty"))},u.send(null)}}),a.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(o),r=0;t=n[r++];)a.highlightElement(t)}};var i=!1;a.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(3079)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.