1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50339],{50339:(e,t,r)=>{r.d(t,{oz:()=>D});var n=r(34093),o=r(55548),a=r(68804),l=r(23145),s=r(83846),i=r(7887),p=r(12856),u=r(14947),m=r(53724),d=r(70832),c=r(49970);let f={}.hasOwnProperty,y=new Map,h=/[A-Z]/g,g=new Set(["table","tbody","thead","tfoot","tr"]),v=new Set(["td","th"]),x="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function w(e,t,r){return"element"===t.type?function(e,t,r){let n=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===n.space&&(e.schema=s.JW),e.ancestors.push(t);let a=j(e,t.tagName,!1),d=function(e,t){let r,n,a={};for(n in t.properties)if("children"!==n&&f.call(t.properties,n)){let l=function(e,t,r){let n=(0,i.I)(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?(0,o.A)(r):(0,u.A)(r)),"style"===n.property){let t="object"==typeof r?r:function(e,t){try{return m(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new c.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=x+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)f.call(e,t)&&(r[function(e){let t=e.replace(h,A);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&n.space?p.H[n.property]||n.property:n.attribute,r]}}(e,n,t.properties[n]);if(l){let[n,o]=l;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof o&&v.has(t.tagName)?r=o:a[n]=o}}return r&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),a}(e,t),y=N(e,t);return g.has(t.tagName)&&(y=y.filter(function(e){return"string"!=typeof e||!(0,l.m)(e)})),b(e,d,a,t),E(d,y),e.ancestors.pop(),e.schema=n,e.create(t,a,d,r)}(e,t,r):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return(0,n.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}k(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,r){let o=e.schema;"svg"===t.name&&"html"===o.space&&(e.schema=s.JW),e.ancestors.push(t);let a=null===t.name?e.Fragment:j(e,t.name,!0),l=function(e,t){let r={};for(let o of t.attributes)if("mdxJsxExpressionAttribute"===o.type)if(o.data&&o.data.estree&&e.evaluater){let t=o.data.estree.body[0];(0,n.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,n.ok)("ObjectExpression"===a.type);let l=a.properties[0];(0,n.ok)("SpreadElement"===l.type),Object.assign(r,e.evaluater.evaluateExpression(l.argument))}else k(e,t.position);else{let a,l=o.name;if(o.value&&"object"==typeof o.value)if(o.value.data&&o.value.data.estree&&e.evaluater){let t=o.value.data.estree.body[0];(0,n.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else k(e,t.position);else a=null===o.value||o.value;r[l]=a}return r}(e,t),i=N(e,t);return b(e,l,a,t),E(l,i),e.ancestors.pop(),e.schema=o,e.create(t,a,l,r)}(e,t,r):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);k(e,t.position)}(e,t):"root"===t.type?function(e,t,r){let n={};return E(n,N(e,t)),e.create(t,e.Fragment,n,r)}(e,t,r):"text"===t.type?t.value:void 0}function b(e,t,r,n){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=n)}function E(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function N(e,t){let r=[],n=-1,o=e.passKeys?new Map:y;for(;++n<t.children.length;){let a,l=t.children[n];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=o.get(e)||0;a=e+"-"+t,o.set(e,t+1)}}let s=w(e,l,a);void 0!==s&&r.push(s)}return r}function j(e,t,r){let o;if(r)if(t.includes(".")){let e,r=t.split("."),l=-1;for(;++l<r.length;){let t=(0,a.UU)(r[l])?{type:"Identifier",name:r[l]}:{type:"Literal",value:r[l]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(l&&"Literal"===t.type),optional:!1}:t}(0,n.ok)(e,"always a result"),o=e}else o=(0,a.UU)(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else o={type:"Literal",value:t};if("Literal"===o.type){let t=o.value;return f.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(o);k(e)}function k(e,t){let r=new c.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=x+"#cannot-handle-mdx-estrees-without-createevaluater",r}function A(e){return"-"+e.toLowerCase()}let S={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var C=r(95155);r(12115);var T=r(28984),P=r(19086),O=r(54514),F=r(88428),I=r(36174);let U=[],H={allowDangerousHtml:!0},J=/^(https?|ircs?|mailto|xmpp)$/i,L=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function D(e){let t=function(e){let t=e.rehypePlugins||U,r=e.remarkPlugins||U,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...H}:H;return(0,O.l)().use(T.A).use(r).use(P.A,n).use(t)}(e),r=function(e){let t=e.children||"",r=new I.T;return"string"==typeof t?r.value=t:(0,n.HB)("Unexpected value `"+t+"` for `children` prop, expected `string`"),r}(e);return function(e,t){let r=t.allowedElements,o=t.allowElement,a=t.components,l=t.disallowedElements,i=t.skipHtml,p=t.unwrapDisallowed,u=t.urlTransform||K;for(let e of L)Object.hasOwn(t,e.from)&&(0,n.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return r&&l&&(0,n.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,F.YR)(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return i?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in S)if(Object.hasOwn(S,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],n=S[t];(null===n||n.includes(e.tagName))&&(e.properties[t]=u(String(r||""),t,e))}}if("element"===e.type){let a=r?!r.includes(e.tagName):!!l&&l.includes(e.tagName);
1if(!a&&o&&"number"==typeof t&&(a=!o(e,t,n)),a&&n&&"number"==typeof t)return p&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){var r,n,o,a;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let i=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=i,n=t.jsxDEV,l=function(e,t,o,a){let l=Array.isArray(o.children),s=(0,d.PW)(e);return n(t,o,a,l,{columnNumber:s?s.column-1:void 0,fileName:r,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");o=t.jsx,a=t.jsxs,l=function(e,t,r,n){let l=Array.isArray(r.children)?a:o;return n?l(t,r,n):l(t,r)}}let p={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?s.JW:s.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=w(p,e,void 0);return u&&"string"!=typeof u?u:p.create(e,p.Fragment,{children:u||void 0},void 0)}(e,{Fragment:C.Fragment,components:a,ignoreInvalidStyle:!0,jsx:C.jsx,jsxs:C.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(r),r),e)}function K(e){let t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),o=e.indexOf("/");return -1===t||-1!==o&&t>o||-1!==r&&t>r||-1!==n&&t>n||J.test(e.slice(0,t))?e:""}}}]);
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.