1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9294],{39294:(e,t,n)=>{function r(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r,l,i;r=e,l=t,i=n[t],(l=function(e){var t=function(e,t){if("object"!=typeof e||null===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)}(e,"string");return"symbol"==typeof t?t:String(t)}(l))in r?Object.defineProperty(r,l,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[l]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function o(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function c(e){return o(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function s(e){return"@list"===e._type}function u(e){return"@span"===e._type}function a(e){return"@text"===e._type}n.d(t,{RK:()=>E});let f=["strong","em","code","underline","strike-through"];function p(e,t,n){if(!i(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),l={};return r.forEach(e=>{l[e]=1;for(let r=t+1;r<n.length;r++){let t=n[r];if(t&&i(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))l[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let r=e[t],l=e[n];if(r!==l)return l-r;let i=f.indexOf(t),o=f.indexOf(n);return i!==o?i-o:t.localeCompare(n)})(l,e,t))}function y(e,t,n){return{_type:"@list",_key:"".concat(e._key||"".concat(t),"-parent"),mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function m(e,t){let n=t.level||1,r=t.listItem||"normal",l="string"==typeof t.listItem;if(s(e)&&(e.level||1)===n&&l&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let o=e.children[e.children.length-1];return o&&!i(o)?m(o,t):void 0}var h=n(6029),k=n(55729);let d=["block","list","listItem","marks","types"],b=["listItem"],v=["_key"];function j(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach(function(t){var r,l,i;r=e,l=t,i=n[t],(l=function(e){var t=function(e,t){if("object"!=typeof e||null===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)}(e,"string");return"symbol"==typeof t?t:String(t)}(l))in r?Object.defineProperty(r,l,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[l]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function O(e,t,n){let r=t[n],l=e[n];return"function"==typeof r||r&&"function"==typeof l?r:r?g(g({},l),r):l}let w={textDecoration:"underline"},_=(e,t)=>
1"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),I=e=>_('block type "'.concat(e,'"'),"types");function P(e){console.warn(e)}let S={display:"none"},D={types:{},block:{normal:e=>{let{children:t}=e;return(0,h.jsx)("p",{children:t})},blockquote:e=>{let{children:t}=e;return(0,h.jsx)("blockquote",{children:t})},h1:e=>{let{children:t}=e;return(0,h.jsx)("h1",{children:t})},h2:e=>{let{children:t}=e;return(0,h.jsx)("h2",{children:t})},h3:e=>{let{children:t}=e;return(0,h.jsx)("h3",{children:t})},h4:e=>{let{children:t}=e;return(0,h.jsx)("h4",{children:t})},h5:e=>{let{children:t}=e;return(0,h.jsx)("h5",{children:t})},h6:e=>{let{children:t}=e;return(0,h.jsx)("h6",{children:t})}},marks:{em:e=>{let{children:t}=e;return(0,h.jsx)("em",{children:t})},strong:e=>{let{children:t}=e;return(0,h.jsx)("strong",{children:t})},code:e=>{let{children:t}=e;return(0,h.jsx)("code",{children:t})},underline:e=>{let{children:t}=e;return(0,h.jsx)("span",{style:w,children:t})},"strike-through":e=>{let{children:t}=e;return(0,h.jsx)("del",{children:t})},link:e=>{let{children:t,value:n}=e;return(0,h.jsx)("a",{href:null==n?void 0:n.href,children:t})}},list:{number:e=>{let{children:t}=e;return(0,h.jsx)("ol",{children:t})},bullet:e=>{let{children:t}=e;return(0,h.jsx)("ul",{children:t})}},listItem:e=>{let{children:t}=e;return(0,h.jsx)("li",{children:t})},hardBreak:()=>(0,h.jsx)("br",{}),unknownType:e=>{let{value:t,isInline:n}=e,r=I(t._type);return n?(0,h.jsx)("span",{style:S,children:r}):(0,h.jsx)("div",{style:S,children:r})},unknownMark:e=>{let{markType:t,children:n}=e;return(0,h.jsx)("span",{className:"unknown__pt__mark__".concat(t),children:n})},unknownList:e=>{let{children:t}=e;return(0,h.jsx)("ul",{children:t})},unknownListItem:e=>{let{children:t}=e;return(0,h.jsx)("li",{children:t})},unknownBlockStyle:e=>{let{children:t}=e;return(0,h.jsx)("p",{children:t})}};function E(e){let{value:t,components:n,listNestingMode:r,onMissingComponent:i=P}=e,o=i||L,s=function(e,t){let n,r=[];for(let s=0;s<e.length;s++){let u=e[s];if(u){var i,o;if(!c(u)){r.push(u),n=void 0;continue}if(!n){n=y(u,s,t),r.push(n);continue}if(i=u,o=n,(i.level||1)===o.level&&i.listItem===o.listItem){n.children.push(u);continue}if((u.level||1)>n.level){let e=y(u,s,t);if("html"===t){let t=n.children[n.children.length-1],r=l(l({},t),{},{children:[...t.children,e]});n.children[n.children.length-1]=r}else n.children.push(e);n=e;continue}if((u.level||1)<n.level){let e=r[r.length-1],l=e&&m(e,u);if(l){(n=l).children.push(u);continue}n=y(u,s,t),r.push(n);continue}if(u.listItem!==n.listItem){let e=r[r.length-1],l=e&&m(e,{level:u.level||1});if(l&&l.listItem===u.listItem){(n=l).children.push(u);continue}n=y(u,s,t),r.push(n);continue}console.warn("Unknown state encountered for block",u),r.push(u)}}return r}(Array.isArray(t)?t:[t],r||"html"),u=(0,k.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:l,marks:i,types:o}=t,c=x(t,d);return g(g({},e),{},{block:O(e,t,"block"),list:O(e,t,"list"),listItem:O(e,t,"listItem"),marks:O(e,t,"marks"),types:O(e,t,"types")},c)}(D,n):D,[n]),a=(0,k.useMemo)(()=>A(u,o),[u,o]),f=s.map((e,t)=>a({node:e,index:t,isInline:!1,renderNode:a}));return(0,h.jsx)(h.Fragment,{children:f})}let A=(e,t)=>function n(r){var l,i,f,p,y,m,k,d;let j,O,{node:w,index:P,isInline:S}=r,D=w._key||"node-".concat(P);return s(w)?function(r,l,i){let o=r.children.map((e,t)=>n({node:e._key?e:g(g({},e),{},{_key:"li-".concat(l,"-").concat(t)}),index:t,isInline:!1,renderNode:n})),c=e.list,s=("function"==typeof c?c:c[r.listItem])||e.unknownList;if(s===e.unknownList){let e=r.listItem||"bullet";t(_('list style "'.concat(e,'"'),"list"),{nodeType:"listStyle",type:e})}return(0,h.jsx)(s,{value:r,index:l,isInline:!1,renderNode:n,children:o},i)}(w,P,D):c(w)?function(r,l,i){let o=T({node:r,index:l,isInline:!1,renderNode:n}),c=e.listItem,s=("function"==typeof c?c:c[r.listItem])||e.unknownListItem;if(s===e.unknownListItem){let e=r.listItem||"bullet";t(_('list item style "'.concat(e,'"'),"listItem"),{type:e,nodeType:"listItemStyle"})}let u=o.children;if(r.style&&"normal"!==r.style){let{listItem:e}=r;u=n({node:x(r,b),index:l,isInline:!1,renderNode:n})}return(0,h.jsx)(s,{value:r,index:l,isInline:!1,renderNode:n,children:u},i)}(w,P,D):u(w)?function(r,l){let{markDef:i,markType:o,markKey:c}=r,s=e.marks[o]||e.unknownMark,f=r.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return s===e.unknownMark&&t(_('mark type "'.concat(o,'"'),"marks"),{nodeType:"mark",type:o}),(0,h.jsx)(s,{text:function e(t){let n="";
1return t.children.forEach(t=>{a(t)?n+=t.text:u(t)&&(n+=e(t))}),n}(r),value:i,markType:o,markKey:c,renderNode:n,children:f},l)}(w,D):w._type in e.types?(l=w,i=P,f=D,p=S,(j=e.types[l._type])?(0,h.jsx)(j,g({},{value:l,isInline:p,index:i,renderNode:n}),f):null):o(w)?function(r,l,i,o){let c=T({node:r,index:l,isInline:o,renderNode:n}),{_key:s}=c,u=x(c,v),a=u.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[a])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&t(_('block style "'.concat(a,'"'),"block"),{nodeType:"blockStyle",type:a}),(0,h.jsx)(f,g(g({},u),{},{value:u.node,renderNode:n}),i)}(w,P,D,S):a(w)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,h.jsx)(t,{},n):"\n"}return t.text}(w,D):(y=w,m=P,k=D,d=S,t(I(y._type),{nodeType:"block",type:y._type}),O=e.unknownType,(0,h.jsx)(O,g({},{value:y,isInline:d,index:m,renderNode:n}),k))};function T(e){let{node:t,index:n,isInline:r,renderNode:l}=e,o=(function(e){var t;let{children:n,markDefs:r=[]}=e;if(!n||!n.length)return[];let l=n.map(p),o={_type:"@span",children:[],markType:"<unknown>"},c=[o];for(let e=0;e<n.length;e++){let o=n[e];if(!o)continue;let s=l[e]||[],u=1;if(c.length>1)for(;u<c.length;u++){let e=(null==(t=c[u])?void 0:t.markKey)||"",n=s.indexOf(e);if(-1===n)break;s.splice(n,1)}let a=(c=c.slice(0,u))[c.length-1];if(a){for(let e of s){let t=r.find(t=>t._key===e),n=t?t._type:e,l={_type:"@span",_key:o._key,children:[],markDef:t,markType:n,markKey:e};a.children.push(l),c.push(l),a=l}if(i(o)){let e=o.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");a.children=a.children.concat(e.map(e=>({_type:"@text",text:e})))}else a.children=a.children.concat(o)}}return o.children})(t).map((e,t)=>l({node:e,isInline:!0,index:t,renderNode:l}));return{_key:t._key||"block-".concat(n),children:o,index:n,isInline:r,node:t}}function L(){}}}]); 2//# sourceMappingURL=9294-f5ad8b0c82b152f1.js.map
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.