PageSourceSearch

https://www.rocketlawyer.com/_next/static/chunks/8278-9e89a346f0cdb58f.js

js rocketlawyer.com collected 2026-09-24 08:24:07 UTC 24,644 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8278],{87664:function(t){var e;e=function(){function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function e(){return(e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(null,arguments)}var n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],o=["clip","crop","fill","fillmax","max","scale","min"],s=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"],l=function(){function l(t,n){this.options=void 0,this.options=t?e({},t.options||{},n||{}):e({},n||{})}var u=l.prototype;return u.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,o={baseUrl:r};for(var s in n)n.hasOwnProperty(s)&&(o[function(e){for(var n,r=function(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,void 0):void 0}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(n=r()).done;){var o=n.value,s=o[0],a=o[1];if(e===s||e===a)return s}return e}(s)]=n[s]);return new l(this,e({baseUrl:r},o))},u.image=function(t){return this.withOptions({source:t})},u.dataset=function(t){return this.withOptions({dataset:t})},u.projectId=function(t){return this.withOptions({projectId:t})},u.bg=function(t){return this.withOptions({bg:t})},u.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},u.width=function(t){return this.withOptions({width:t})},u.height=function(t){return this.withOptions({height:t})},u.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},u.maxWidth=function(t){return this.withOptions({maxWidth:t})},u.minWidth=function(t){return this.withOptions({minWidth:t})},u.maxHeight=function(t){return this.withOptions({maxHeight:t})},u.minHeight=function(t){return this.withOptions({minHeight:t})},u.size=function(t,e){return this.withOptions({width:t,height:e})},u.blur=function(t){return this.withOptions({blur:t})},u.sharpen=function(t){return this.withOptions({sharpen:t})},u.rect=function(t,e,n,r){return this.withOptions({rect:{left:t,top:e,width:n,height:r}})},u.format=function(t){return this.withOptions({format:t})},u.invert=function(t){return this.withOptions({invert:t})},u.orientation=function(t){return this.withOptions({orientation:t})},u.quality=function(t){return this.withOptions({quality:t})},u.forceDownload=function(t){return this.withOptions({download:t})},u.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},u.flipVertical=function(){return this.withOptions({flipVertical:!0})},u.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},u.fit=function(t){if(-1===o.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},u.crop=function(t){if(-1===s.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},u.saturation=function(t){return this.withOptions({saturation:t})},u.auto=function(t){if(-1===a.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},u.pad=function(t){return this.withOptions({pad:t})},u.vanityName=function(t){return this.withOptions({vanityName:t})},u.frame=function(t){if(1!==t)throw Error('Invalid frame value "'+t+'"');return this.withOptions({frame:t})},u.url=function(){return function(t){var o=e({},t||{}),s=o.source;delete o.source;var a=function(t){var n;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))n={asset:{_ref:r(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:r(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n=e({},t)}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(s);if(!a){if(s&&"object"==typeof s&&null!==s&&s._upload&&(!s.asset||!s.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error("Unable to resolve image URL from source ("+JSON.stringify(s)+")")}var l=function(t){var e=t.split("-"),r=e[1],i=e[2],o=e[3];
1if(!r||!i||!o)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');var s=i.split("x"),a=s[0],l=s[1],u=+a,f=+l;if(!(isFinite(u)&&isFinite(f)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');return{id:r,width:u,height:f,format:o}}(a.asset._ref||a.asset._id||""),u=Math.round(a.crop.left*l.width),f=Math.round(a.crop.top*l.height),c={left:u,top:f,width:Math.round(l.width-a.crop.right*l.width-u),height:Math.round(l.height-a.crop.bottom*l.height-f)},p=a.hotspot.height*l.height/2,h=a.hotspot.width*l.width/2,d=a.hotspot.x*l.width,m=a.hotspot.y*l.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=e({},o,function(t,e){var n,r=e.width,i=e.height;if(!(r&&i))return{width:r,height:i,rect:t.crop};var o=t.crop,s=t.hotspot,a=r/i;if(o.width/o.height>a){var l=Math.round(o.height),u=Math.round(l*a),f=Math.max(0,Math.round(o.top)),c=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-u/2));c<o.left?c=o.left:c+u>o.left+o.width&&(c=o.left+o.width-u),n={left:c,top:f,width:u,height:l}}else{var p=o.width,h=Math.round(p/a),d=Math.max(0,Math.round(o.left)),m=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-h/2));m<o.top?m=o.top:m+h>o.top+o.height&&(m=o.top+o.height-h),n={left:d,top:m,width:p,height:h}}return{width:r,height:i,rect:n}}({crop:c,hotspot:{left:d-h,top:m-p,right:d+h,bottom:m+p}},o))),function(t){var e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=t.vanityName?"/"+t.vanityName:"",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+n,o=e+"/images/"+t.projectId+"/"+t.dataset+"/"+r,s=[];if(t.rect){var a=t.rect,l=a.left,u=a.top,f=a.width,c=a.height;(0!==l||0!==u||c!==t.asset.height||f!==t.asset.width)&&s.push("rect="+l+","+u+","+f+","+c)}t.bg&&s.push("bg="+t.bg),t.focalPoint&&(s.push("fp-x="+t.focalPoint.x),s.push("fp-y="+t.focalPoint.y));var p=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");
1return(p&&s.push("flip="+p),i.forEach(function(e){var n=e[0],r=e[1];void 0!==t[n]?s.push(r+"="+encodeURIComponent(t[n])):void 0!==t[r]&&s.push(r+"="+encodeURIComponent(t[r]))}),0===s.length)?o:o+"?"+s.join("&")}(e({},o,{asset:l}))}(this.options)},u.toString=function(){return this.url()},l}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var e=t.config(),n=e.apiHost,r=e.projectId,i=e.dataset;return new l(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:i})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var o=t.clientConfig,s=o.apiHost,a=o.projectId,u=o.dataset;return new l(null,{baseUrl:(s||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:a,dataset:u})}return new l(null,t||{})}},t.exports=e()},869:function(t,e,n){"use strict";n.d(e,{YI:function(){return O},_f:function(){return x},xM:function(){return j}});var r=n(27573),i=n(5041),o=n(7653);let s=["block","list","listItem","marks","types"],a=["listItem"],l=["_key"];function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function c(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(({}).hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],-1===e.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}let p={textDecoration:"underline"},h=(t,e)=>`[@portabletext/react] Unknown ${t}, specify a component for it in the \`components.${e}\` prop`,d=t=>h(`block type "${t}"`,"types"),m=t=>h(`mark type "${t}"`,"marks"),y=t=>h(`block style "${t}"`,"block"),g=t=>h(`list style "${t}"`,"list"),w=t=>h(`list item style "${t}"`,"listItem");function b(t){console.warn(t)}let v={display:"none"},x={types:{},block:{normal:({children:t})=>(0,r.jsx)("p",{children:t}),blockquote:({children:t})=>(0,r.jsx)("blockquote",{children:t}),h1:({children:t})=>(0,r.jsx)("h1",{children:t}),h2:({children:t})=>(0,r.jsx)("h2",{children:t}),h3:({children:t})=>(0,r.jsx)("h3",{children:t}),h4:({children:t})=>(0,r.jsx)("h4",{children:t}),h5:({children:t})=>(0,r.jsx)("h5",{children:t}),h6:({children:t})=>(0,r.jsx)("h6",{children:t})},marks:{em:({children:t})=>(0,r.jsx)("em",{children:t}),strong:({children:t})=>(0,r.jsx)("strong",{children:t}),code:({children:t})=>(0,r.jsx)("code",{children:t}),underline:({children:t})=>(0,r.jsx)("span",{style:p,children:t}),"strike-through":({children:t})=>(0,r.jsx)("del",{children:t}),link:({children:t,value:e})=>(0,r.jsx)("a",{href:null==e?void 0:e.href,children:t})},list:{number:({children:t})=>(0,r.jsx)("ol",{children:t}),bullet:({children:t})=>(0,r.jsx)("ul",{children:t})},listItem:({children:t})=>(0,r.jsx)("li",{children:t}),hardBreak:()=>(0,r.jsx)("br",{}),unknownType:({value:t,isInline:e})=>{let n=d(t._type);return e?(0,r.jsx)("span",{style:v,children:n}):(0,r.jsx)("div",{style:v,children:n})},unknownMark:({markType:t,children:e})=>(0,r.jsx)("span",{className:`unknown__pt__mark__${t}`,children:e}),unknownList:({children:t})=>(0,r.jsx)("ul",{children:t}),unknownListItem:({children:t})=>(0,r.jsx)("li",{children:t}),unknownBlockStyle:({children:t})=>(0,r.jsx)("p",{children:t})};function j(t,e){let{block:n,list:r,listItem:i,marks:o,types:a}=e,l=c(e,s);return f(f({},t),{},{block:k(t,e,"block"),list:k(t,e,"list"),listItem:k(t,e,"listItem"),marks:k(t,e,"marks"),types:k(t,e,"types")},l)}function k(t,e,n){let r=e[n],i=t[n];return"function"==typeof r||r&&"function"==typeof i?r:r?f(f({},i),r):i}function O({value:t,components:e,listNestingMode:n,onMissingComponent:s=b}){let a=s||A,l=Array.isArray(t)?t:[t],u=(0,i.zL)(l,n||i.RR),f=(0,o.useMemo)(()=>e?j(x,e):x,[e]),c=(0,o.useMemo)(()=>I(f,a),[f,a]),p=u.map((t,e)=>c({node:t,index:e,isInline:!1,renderNode:c}));return(0,r.jsx)(r.Fragment,{children:p})}let I=(t,e)=>function n(o){let{node:s,index:u,isInline:p}=o,h=s._key||`node-${u}`;return(0,i.qS)(s)?function(i,o,s){let a=i.children.map((t,e)=>n({node:t._key?t:f(f({},t),{},{_key:`li-${o}-${e}`}),index:e,isInline:!1})),l=t.list,u=("function"==typeof l?l:l[i.listItem])||t.unknownList;if(u===t.unknownList){let t=i.listItem||"bullet";e(g(t),{nodeType:"listStyle",type:t})}return(0,r.jsx)(u,{value:i,index:o,isInline:!1,renderNode:n,children:a},s)}(s,u,h):(0,i.Ii)(s)?function(i,o,s){let l=_({node:i,index:o,isInline:!1,renderNode:n}),u=t.listItem,f=("function"==typeof u?u:u[i.listItem])||t.unknownListItem;if(f===t.unknownListItem){let t=i.listItem||"bullet";e(w(t),{type:t,nodeType:"listItemStyle"})}let p=l.children;if(i.style&&"normal"!==i.style){let{listItem:t}=i;p=n({node:c(i,a),index:o,isInline:!1})}return(0,r.jsx)(f,{value:i,index:o,isInline:!1,renderNode:n,children:p},s)}(s,u,h):(0,i.tX)(s)?function(o,s,a){let{markDef:l,markType:u,markKey:f}=o,c=t.marks[u]||t.unknownMark,p=o.children.map((t,e)=>n({node:t,index:e,isInline:!0}));return c===t.unknownMark&&e(m(u),{nodeType:"mark",type:u}),(0,r.jsx)(c,{text:(0,i.pY)(o),value:l,markType:u,markKey:f,renderNode:n,children:p},a)}(s,0,h):s._type in t.types?function(e,i,o,s){let a=t.types[e._type];return a?(0,r.jsx)(a,f({},{value:e,isInline:s,index:i,renderNode:n}),o):null}(s,u,h,p):(0,i.HW)(s)?function(i,o,s,a){let u=_({node:i,index:o,isInline:a,renderNode:n}),{_key:p}=u,h=c(u,l),d=h.node.style||"normal",m=("function"==typeof t.block?t.block:t.block[d])||t.unknownBlockStyle;return m===t.unknownBlockStyle&&e(y(d),{nodeType:"blockStyle",type:d}),(0,r.jsx)(m,f(f({},h),{},{value:h.node,renderNode:n}),s)}(s,u,h,p):(0,i.m9)(s)?function(e,n){if(e.text===`
2`){let e=t.hardBreak;return e?(0,r.jsx)(e,{},n):`
3`}return e.text}(s,h):function(i,o,s,a){e(d(i._type),{nodeType:"block",type:i._type});let l=t.unknownType;return(0,r.jsx)(l,f({},{value:i,isInline:a,index:o,renderNode:n}),s)}(s,u,h,p)};function _(t){let{node:e,index:n,isInline:r,renderNode:o}=t,s=(0,i.Ic)(e).map((t,e)=>o({node:t,isInline:!0,index:e,renderNode:o}));return{_key:e._key||`block-${n}`,children:s,index:n,isInline:r,node:e}}function A(){}},5041:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
3e%2?r(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(typeof t.marks>"u"||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function s(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||!t.markDefs||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function a(t){return s(t)&&"listItem"in t&&"string"==typeof t.listItem&&(typeof t.level>"u"||"number"==typeof t.level)}function l(t){return"@list"===t._type}function u(t){return"@span"===t._type}function f(t){return"@text"===t._type}n.d(e,{HW:function(){return s},Ic:function(){return h},Ii:function(){return a},Kv:function(){return b},RR:function(){return v},m9:function(){return f},pY:function(){return function t(e){let n="";return e.children.forEach(e=>{f(e)?n+=e.text:u(e)&&(n+=t(e))}),n}},qS:function(){return l},tX:function(){return u},zL:function(){return d}});let c=["strong","em","code","underline","strike-through"];function p(t,e,n){if(!o(t)||!t.marks||!t.marks.length)return[];let r=t.marks.slice(),i={};return r.forEach(t=>{i[t]=1;for(let r=e+1;r<n.length;r++){let e=n[r];if(e&&o(e)&&Array.isArray(e.marks)&&-1!==e.marks.indexOf(t))i[t]++;else break}}),r.sort((t,e)=>(function(t,e,n){let r=t[e],i=t[n];if(r!==i)return i-r;let o=c.indexOf(e),s=c.indexOf(n);return o!==s?o-s:e.localeCompare(n)})(i,t,e))}function h(t){var e,n;let{children:r}=t,i=null!=(e=t.markDefs)?e:[];if(!r||!r.length)return[];let s=r.map(p),a={_type:"@span",children:[],markType:"<unknown>"},l=[a];for(let t=0;t<r.length;t++){let e=r[t];if(!e)continue;let a=s[t]||[],u=1;if(l.length>1)for(;u<l.length;u++){let t=(null==(n=l[u])?void 0:n.markKey)||"",e=a.indexOf(t);if(-1===e)break;a.splice(e,1)}let f=(l=l.slice(0,u))[l.length-1];if(f){for(let t of a){let n=null==i?void 0:i.find(e=>e._key===t),r=n?n._type:t,o={_type:"@span",_key:e._key,children:[],markDef:n,markType:r,markKey:t};f.children.push(o),l.push(o),f=o}if(o(e)){let t=e.text.split(`
4`);for(let e=t.length;e-- >1;)t.splice(e,0,`
5`);f.children=f.children.concat(t.map(t=>({_type:"@text",text:t})))}else f.children=f.children.concat(e)}}return a.children}function d(t,e){let n;let r=[];for(let s=0;s<t.length;s++){let l=t[s];if(l){var o;if(!a(l)){r.push(l),n=void 0;continue}if(!n){n=m(l,s,e),r.push(n);continue}if(o=n,(l.level||1)===o.level&&l.listItem===o.listItem){n.children.push(l);continue}if((l.level||1)>n.level){let t=m(l,s,e);if("html"===e){let e=n.children[n.children.length-1],r=i(i({},e),{},{children:[...e.children,t]});n.children[n.children.length-1]=r}else n.children.push(t);n=t;continue}if((l.level||1)<n.level){let t=r[r.length-1],i=t&&y(t,l);if(i){(n=i).children.push(l);continue}n=m(l,s,e),r.push(n);continue}if(l.listItem!==n.listItem){let t=r[r.length-1],i=t&&y(t,{level:l.level||1});if(i&&i.listItem===l.listItem){(n=i).children.push(l);continue}n=m(l,s,e),r.push(n);continue}console.warn("Unknown state encountered for block",l),r.push(l)}}return r}function m(t,e,n){return{_type:"@list",_key:`${t._key||`${e}`}-parent`,mode:n,level:t.level||1,listItem:t.listItem,children:[t]}}function y(t,e){let n=e.level||1,r=e.listItem||"normal",i="string"==typeof e.listItem;if(l(t)&&(t.level||1)===n&&i&&(t.listItem||"normal")===r)return t;if(!("children"in t))return;let s=t.children[t.children.length-1];return s&&!o(s)?y(s,e):void 0}let g=/^\s/,w=/\s$/;function b(t){let e=Array.isArray(t)?t:[t],n="";return e.forEach((t,r)=>{if(!s(t))return;let i=!1;
5t.children.forEach(t=>{o(t)?(n+=(i&&n&&!w.test(n)&&!g.test(t.text)?" ":"")+t.text,i=!1):i=!0}),r!==e.length-1&&(n+=`
6
7`)}),n}let v="html"},49320:function(t,e,n){"use strict";n.d(e,{$J:function(){return C},RT:function(){return D},bT:function(){return R},pf:function(){return q},pz:function(){return U}});let r="https://cdn.sanity.io",i=/^https:\/\/cdn\.sanity\./,o=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,s=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,a=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,l=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,u=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,f=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,c="sanity.fileAsset",p={projectId:"a",dataset:"b"},h="upload-in-progress-placeholder",d="upload-in-progress";class m extends Error{constructor(t,e="Failed to resolve asset ID from source"){super(e),this.unresolvable=!0,this.input=t}}function y(t){return(...e)=>{try{return t(...e)}catch(t){if(t.unresolvable&&"input"in t)return;throw t}}}function g(t){return null!==t&&!Array.isArray(t)&&"object"==typeof t}function w(t){return g(t)&&"string"==typeof t._ref}function b(t){return g(t)&&"string"==typeof t.path}function v(t){return g(t)&&"string"==typeof t.url}function x(t){return g(t)&&!!t.asset&&"object"==typeof t.asset}function j(t){return g(t)&&!!t._upload&&!("asset"in t)}function k(t){return i.test(t)||o.test(t)}let O=Object.freeze({left:0,top:0,bottom:0,right:0}),I=Object.freeze({x:.5,y:.5,height:1,width:1}),_=()=>({...O}),A=()=>({...I});function $(t,e){let n=e?.projectId||t.projectId,r=e?.dataset||t.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for image");let i="metadata"in t?t.metadata.dimensions:{width:t.width,height:t.height},o="originalFilename"in t?t.originalFilename:void 0,{assetId:s,extension:a,vanityFilename:l}=t,{width:u,height:f}=i,c=S(o,l,e);return`images/${n}/${r}/${s}-${u}x${f}.${a}${c}`}function P(t,e){let n=e?.projectId||t.projectId,r=e?.dataset||t.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for file");let i="originalFilename"in t?t.originalFilename:void 0,{assetId:o,extension:s,vanityFilename:a}=t,l=S(i,a,e);return`files/${n}/${r}/${o}.${s}${l}`}function E(t){if(u.test(t))return t;if(!k(t))throw new m(`Failed to resolve path from URL "${t}"`);return new URL(t).pathname.replace(/^\/+/,"")}let M=y(E);function S(t,e,n){let r=e||t;return n?.useVanityName!==!1&&r?`/${r}`:""}function z(t){let[,e,n,r]=t.split("-"),[i,o]=(n||"").split("x").map(Number);if(!e||!n||!r||!(i>0)||!(o>0))throw Error(`Malformed asset ID '${t}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:e,width:i,height:o,extension:r}}function U(t){if(j(t))return{width:0,height:0,aspectRatio:0};let{width:e,height:n}=z(F(t));return{width:e,height:n,aspectRatio:e/n}}y(function(t){let e=(M(t)||t).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(!(s.test(e)||l.test(e)))throw new m(`Failed to resolve filename from URL "${t}"`);return e});let R=y(U);function D(t){return j(t)?"tmp":!function(t){let e=q(t);return!!e&&e.startsWith("file-")}(t)?N(t,p).asset.extension:T(t,p).asset.extension}let C=y(D);function N(t,e){if(j(t))return{asset:{_id:h,_type:"sanity.imageAsset",assetId:d,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:_(),hotspot:A()};let n=e||Z(t);return{asset:H(t,n),crop:t.crop||_(),hotspot:t.hotspot||A()}}function H(t,e){let n={...e||B(t),useVanityName:!1},i=F(t),o=(t.asset||t).metadata||{},{assetId:s,width:a,height:l,extension:u}=z(i),f={...g(t)&&"sanity.imageAsset"===t._type?t:{},_id:i,_type:"sanity.imageAsset",assetId:s,extension:u,metadata:{...o,dimensions:{width:a,height:l,aspectRatio:a/l}},url:"",path:""};return{...f,path:$(f,n),url:`${n?.baseUrl||r}/${$(f,n)}`}}function T(t,e){if(j(t))return{asset:{_id:h,_type:c,assetId:d,extension:"tmp",url:"",path:"",metadata:{}}};let n=e||Z(t);return{asset:L(t,n)}}function L(t,e){if(j(t))return{assetId:d,_id:h,_type:c,extension:"tmp",metadata:{},url:"",path:""};let n={...e||B(t),useVanityName:!1},i=F(t),o=t.asset||t,{assetId:s,extension:l}=function(t){if(!a.test(t))throw Error(`Malformed file asset ID '${t}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,e,n]=t.split("-");return{type:"file",assetId:e,extension:n}}(i),u={...g(t)&&"sanity.fileAsset"===t._type?t:{},_id:i,_type:"sanity.fileAsset",assetId:s,extension:l,metadata:o.metadata||{},url:"",path:""};return{...u,path:P(u,n),url:`${n?.baseUrl||r}/${P(u,n)}`}}function F(t){if(j(t))return h;let e=x(t)?t.asset:t,n="";if("string"==typeof e?n=V(e):w(e)?n=e._ref:g(e)&&"string"==typeof e._id?n=e._id:b(e)?n=W(`${r}/${e.path}
7`):v(e)&&(n=W(e.url)),!(n&&f.test(n)))throw new m(t);return n}y(N),y(H),y(T),y(L);let q=y(F);function V(t){if(f.test(t))return t;let e=k(t)?new URL(t).pathname:t;if(0===e.indexOf("/images")||0===e.indexOf("/files"))return W(t);if(u.test(t))return W(`${r}/${t}`);if(s.test(t))return W(`${r}/files/a/b/${t}`);if(l.test(t))return W(`${r}/images/a/b/${t}`);throw new m(t)}function W(t){let[e,,,n]=E(t).split("/");return`${e.replace(/s$/,"")}-${n.replace(/\./g,"-")}`}function B(t){let e=function t(e){if(x(e))return t(e.asset);if(!w(e)){if("string"==typeof e)return u.test(M(e)||"")?E(e):void 0;if(b(e))return e.path;if(v(e))return E(e.url)}}(t);if(!e)throw new m(t,"Failed to resolve project ID and dataset from source");let[,,n,r]=e.match(u)||[];if(!n||!r)throw new m(t,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:r}}y(V);let Z=y(B)}}]);

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.