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