1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[984],{1681:function(n,e,r){r.d(e,{C7:function(){return v},Fm:function(){return d},HY:function(){return f},Hn:function(){return y},M2:function(){return h},Mr:function(){return u},Ow:function(){return m},V1:function(){return g},ci:function(){return b},dC:function(){return a},dD:function(){return i},g9:function(){return p},hn:function(){return c},sZ:function(){return l},w:function(){return k},z:function(){return s}});var t,o,u="blockquote",i="block",c="code",a="heading",d="inlineItem",l="itemLink",f="link",s="listItem",p="list",h="paragraph",m="root",k="span",y="thematicBreak",v=((t={})[u]=[h],t[i]=[],t[c]=[],t[a]="inlineNodes",t[d]=[],t[l]="inlineNodes",t[f]="inlineNodes",t[s]=[h,p],t[p]=[s],t[h]="inlineNodes",t[m]=[u,c,p,h,a,i,y],t[k]=[],t[y]=[],t),g=[k,f,l,d];(o={})[u]=["children","attribution"],o[i]=["item"],o[c]=["language","highlight","code"],o[a]=["level","children","style"],o[d]=["item"],o[l]=["item","children","meta"],o[f]=["url","children","meta"],o[s]=["children"],o[p]=["style","children"],o[h]=["children","style"],o[m]=["children"],o[k]=["value","marks"],o[y]=[];var b=["strong","code","emphasis","underline","strikethrough","highlight"]},2338:function(n,e,r){r.d(e,{C$:function(){return m},C_:function(){return c},HJ:function(){return k},J$:function(){return p},L9:function(){return v},Lq:function(){return s},OD:function(){return l},RF:function(){return a},UZ:function(){return y},Xy:function(){return u},b2:function(){return f},dn:function(){return i},g8:function(){return o},nq:function(){return d},qk:function(){return g},u$:function(){return h}});var t=r(1681);function o(n){return"children"in n}function u(n){return n.type===t.dC}function i(n){return n.type===t.w}function c(n){return n.type===t.Ow}function a(n){return n.type===t.M2}function d(n){return n.type===t.g9}function l(n){return n.type===t.z}function f(n){return n.type===t.Mr}function s(n){return n.type===t.dD}function p(n){return n.type===t.hn}function h(n){return n.type===t.HY}function m(n){return n.type===t.sZ}function k(n){return n.type===t.Fm}function y(n){return n.type===t.Hn}function v(n){return n&&"value"in n&&g(n.value)}function g(n){return n&&"schema"in n&&"document"in n}},2064:function(n,e,r){r.d(e,{su:function(){return c},sY:function(){return d},SZ:function(){return a}});var t,o=r(2338),u=(t=function(n,e){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])})(n,e)},function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=function(){for(var n=0,e=0,r=arguments.length;e<r;e++)n+=arguments[e].length;for(var t=Array(n),o=0,e=0;e<r;e++)for(var u=arguments[e],i=0,c=u.length;i<c;i++,o++)t[o]=u[i];return t},c=function(n){function e(r,t){var o=n.call(this,r)||this;return o.node=t,Object.setPrototypeOf(o,e.prototype),o}return u(e,n),e}(Error),a=function(n,e){return{appliable:n,apply:function(n){return e(n)}}};function d(n,e,r){return e?function n(e,r,t,u,a){var d,l=(0,o.g8)(r)?(function n(e,r){for(var t=0;t<e.length;t++){var o=e[t];Array.isArray(o)?n(o,r):r.push(o)}}(r.children.map(function(t,o){return n(e,t,"t-"+o,i([r],u),a)}).filter(function(n){return!!n}),d=[]),d):void 0,f=a.find(function(n){return n.appliable(r)});if(f)return f.apply({adapter:e,node:r,children:l,key:t,ancestors:u});throw new c("Don't know how to render a node with type \""+r.type+'". Please specify a custom renderRule for it!',r)}(n,(0,o.L9)(e)?e.value.document:(0,o.qk)(e)?e.document:e,"t-0",[],r):null}},2984:function(n,e,r){r.d(e,{rZ:function(){return s}});var t=r(2064),o=r(2338),u=function(){return(u=Object.assign||function(n){for(var e,r=1,t=arguments.length;r<t;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)},i=function(){for(var n=0,e=0,r=arguments.length;e<r;e++)n+=arguments[e].length;for(var t=Array(n),o=0,e=0;e<r;e++)for(var u=arguments[e],i=0,c=u.length;i<c;i++,o++)t[o]=u[i];return t},c=function(n){var e=n.meta,r={};return e.forEach(function(n){["target","title","rel"].includes(n.id
1)&&(r[n.id]=n.value)}),r},a=r(7294),d=function(n,e,r){if(r||2==arguments.length)for(var t,o=0,u=e.length;o<u;o++)!t&&o in e||(t||(t=Array.prototype.slice.call(e,0,o)),t[o]=e[o]);return n.concat(t||Array.prototype.slice.call(e))},l={renderNode:a.createElement,renderFragment:function(n,e){return a.createElement(a.Fragment,{key:e},n)},renderText:function(n,e){return n}};function f(n,e){return(0,a.isValidElement)(n)&&null===n.key?(0,a.cloneElement)(n,{key:e}):n}function s(n){var e,r,s,p=n.data,h=n.renderInlineRecord,m=n.renderLinkToRecord,k=n.renderBlock,y=n.renderText,v=n.renderNode,g=n.renderFragment,b=n.customMarkRules,w=n.customRules,T=n.customNodeRules,N=n.metaTransformer,S=(s=(e={adapter:{renderText:y||l.renderText,renderNode:v||l.renderNode,renderFragment:g||l.renderFragment},metaTransformer:N,customMarkRules:b,customNodeRules:d([(0,t.SZ)(o.HJ,function(n){var e=n.node,r=n.key;if(!h)throw new t.su("The Structured Text document contains an 'inlineItem' node, but no 'renderInlineRecord' prop is specified!",e);if(!((0,o.L9)(p)&&p.links))throw new t.su("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",e);var u=p.links.find(function(n){return n.id===e.item});if(!u)throw new t.su("The Structured Text document contains an 'inlineItem' node, but cannot find a record with ID ".concat(e.item," inside data.links!"),e);return f(h({record:u}),r)}),(0,t.SZ)(o.C$,function(n){var e=n.node,r=n.key,u=n.children;if(!m)throw new t.su("The Structured Text document contains an 'itemLink' node, but no 'renderLinkToRecord' prop is specified!",e);if(!((0,o.L9)(p)&&p.links))throw new t.su("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",e);var i=p.links.find(function(n){return n.id===e.item});if(!i)throw new t.su("The Structured Text document contains an 'itemLink' node, but cannot find a record with ID ".concat(e.item," inside data.links!"),e);return f(m({record:i,children:u,transformedMeta:e.meta?(N||c)({node:e,meta:e.meta}):null}),r)}),(0,t.SZ)(o.Lq,function(n){var e=n.node,r=n.key;if(!k)throw new t.su("The Structured Text document contains a 'block' node, but no 'renderBlock' prop is specified!",e);if(!((0,o.L9)(p)&&p.blocks))throw new t.su("The document contains an 'block' node, but the passed data prop is not a Structured Text GraphQL response, or data.blocks is not present!",e);var u=p.blocks.find(function(n){return n.id===e.item});if(!u)throw new t.su("The Structured Text document contains a 'block' node, but cannot find a record with ID ".concat(e.item," inside data.blocks!"),e);return f(k({record:u}),r)})],T||w||[],!0)}).metaTransformer||c,(0,t.sY)(e.adapter,p,i(e.customNodeRules||[],[(0,t.SZ)(o.C_,function(n){var e=n.adapter.renderFragment,r=n.key;return e(n.children,r)}),(0,t.SZ)(o.RF,function(n){return(0,n.adapter.renderNode)("p",{key:n.key},n.children)}),(0,t.SZ)(o.nq,function(n){var e=n.adapter.renderNode,r=n.node,t=n.key,o=n.children;return e("bulleted"===r.style?"ul":"ol",{key:t},o)}),(0,t.SZ)(o.OD,function(n){return(0,n.adapter.renderNode)("li",{key:n.key},n.children)}),(0,t.SZ)(o.b2,function(n){var e=n.adapter.renderNode,r=n.key,t=n.node,o=n.children,u=t.attribution?i(o||[],[e("footer",{key:"footer"},t.attribution)]):o;return e("blockquote",{key:r},u)}
1),(0,t.SZ)(o.J$,function(n){var e=n.adapter,r=e.renderNode,t=e.renderText,o=n.key,u=n.node;return r("pre",{key:o,"data-language":u.language},r("code",null,t(u.code)))}),(0,t.SZ)(o.u$,function(n){var e=n.adapter.renderNode,r=n.key,t=n.children,o=n.node;return e("a",u(u({},(o.meta?s({node:o,meta:o.meta}):{})||{}),{key:r,href:o.url}),t)}),(0,t.SZ)(o.UZ,function(n){return(0,n.adapter.renderNode)("hr",{key:n.key})}),(0,t.SZ)(o.Xy,function(n){var e=n.node,r=n.adapter.renderNode,t=n.children,o=n.key;return r("h"+e.level,{key:o},t)}),(r=({customMarkRules:e.customMarkRules||[]}).customMarkRules,(0,t.SZ)(o.dn,function(n){var e,t,o,u,i,c,a,d=n.adapter,l=n.key;return(n.node.marks||[]).reduce(function(n,e){if(n){var t=r.find(function(n){return n.appliable(e)});return t?t.apply({adapter:d,key:l,mark:e,children:n}):d.renderNode(function(n){switch(n){case"emphasis":return"em";case"underline":return"u";case"strikethrough":return"del";case"highlight":return"mark";default:return n}}(e),{key:l},n)}},(e=n.node,t=n.key,u=(o=n.adapter).renderNode,i=o.renderText,c=o.renderFragment,0===(a=e.value.split(/\n/)).length?i(e.value,t):c(a.slice(1).reduce(function(n,e,r){return n.concat([u("br",{key:t+"-br-"+r}),i(e,t+"-line-"+r)])},[i(a[0],t+"-line-first")]),t)))}))])));return"string"==typeof S?a.createElement(a.Fragment,null,S):S||null}}}]);
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.