PageSourceSearch

https://egstad.com/_nuxt/80562cf.js

js egstad.com collected 2026-10-05 03:11:19 UTC 19,049 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{342:function(t,e,r){t.exports=r(383)},343:function(t,e,r){"use strict";var n=r(385),o=r(386),l=r(6),c=encodeURIComponent,h="You must either:\n  - Pass `projectId` and `dataset` to the block renderer\n  - Materialize images to include the `url` field.\n\nFor more information, see ".concat(n("block-content-image-materializing"));t.exports=function(t){var e=t.node,r=t.options,n=r.projectId,f=r.dataset,d=e.asset;if(!d)throw new Error("Image does not have required `asset` property");if(d.url)return d.url+function(t){var e=t.imageOptions,r=Object.keys(e);if(!r.length)return"";var n=r.map((function(t){return"".concat(c(t),"=").concat(c(e[t]))}));return"?".concat(n.join("&"))}(r);if(!n||!f)throw new Error(h);if(!d._ref)throw new Error("Invalid image reference in block, no `_ref` found on `asset`");return o(l({projectId:n,dataset:f},r.imageOptions||{})).image(e).toString()}},344:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=r(6);t.exports=function(t,e){return Object.keys(t).reduce((function(r,l){var c=n(t[l]);return r[l]="function"===c?void 0!==e[l]?e[l]:t[l]:"object"===c?o({},t[l],e[l]):void 0===e[l]?t[l]:e[l],r}),{})}},381:function(t,e,r){"use strict";var n=r(382),component={functional:!0,props:{blocks:{type:[Array,Object],required:!0},serializers:{type:Object,default:function(){return{}}},projectId:{type:String,default:void 0},dataset:{type:String,default:void 0},imageOptions:{type:Object,default:function(){return{}}},className:{type:String,default:void 0},renderContainerOnSingleChild:{type:Boolean,default:!1}},render:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;e.data;return n(t,r)}};t.exports=component},382:function(t,e,r){"use strict";var n=r(6),o=r(342).blocksToNodes,l=r(391);t.exports=function(t,e){var r=function(e,r,o){var data=r||{};if("function"==typeof e)return e(n({},data,{children:o}));var l,c=e,h=data.children||o;if(h=Array.isArray(h)?h:[h],l=e,Object.hasOwnProperty.call(l,"template")||Object.hasOwnProperty.call(l,"render")&&"function"==typeof l.render){var f={},d={};data.mark?f=data.mark:(f=data.node,d._sanityProps={node:data.node,options:data.options}),data={props:n({},f,d)}}return t(c,data,h)},c=l(r),h=c.defaultSerializers,f=c.serializeSpan;return o(r,e,h,f)}},383:function(t,e,r){"use strict";var n=r(384),o=r(387),l=r(343),c=r(344);t.exports={blocksToNodes:function(t,e,r,l){if(r)return o(t,e,r,l);var c=n(t);return o(t,e,c.defaultSerializers,c.serializeSpan)},getSerializers:n,getImageUrl:l,mergeSerializers:c}},384:function(t,e,r){"use strict";var n=r(6),o=r(343);t.exports=function(t,e){var r=e||{useDashedStyles:!1};function l(e,r){return t(e,null,r.children)}return{defaultSerializers:{types:{block:function(e){var style=e.node.style||"normal";return/^h\d/.test(style)?t(style,null,e.children):t("blockquote"===style?"blockquote":"p",null,e.children)},image:function(e){if(!e.node.asset)return null;var img=t("img",{src:o(e)});return e.isInline?img:t("figure",null,img)}},marks:{strong:l.bind(null,"strong"),em:l.bind(null,"em"),code:l.bind(null,"code"),underline:function(e){var style=r.useDashedStyles?{"text-decoration":"underline"}:{textDecoration:"underline"};return t("span",{style:style},e.children)},"strike-through":function(e){return t("del",null,e.children)},link:function(e){return t("a",{href:e.mark.href},e.children)}},list:function(e){var r="bullet"===e.type?"ul":"ol";return t(r,null,e.children)},listItem:function(e){var r=e.node.style&&"normal"!==e.node.style?t(e.serializers.types.block,e,e.children):e.children;return t("li",null,r)},block:function(e){var r=e.node,n=e.serializers,o=e.options,l=e.isInline,c=e.children,h=r._type,f=n.types[h];if(!f)throw new Error('Unknown block type "'.concat(h,'", please specify a serializer for it in the `serializers.types` prop'));return t(f,{node:r,options:o,isInline:l},c)},span:function(e){var r=e.node,mark=r.mark,n=r.children,o="string"==typeof mark?mark:mark._type,l=e.serializers.marks[o];return l?t(l,e.node,n):(console.warn('Unknown mark type "'.concat(o,'", please specify a serializer for it in the `serializers.marks` prop')),t(e.serializers.markFallback,null,
1n))},hardBreak:function(){return t("br")},container:"div",markFallback:"span",text:void 0,empty:""},serializeSpan:function(span,e,r,o){if("\n"===span&&e.hardBreak)return t(e.hardBreak,{key:"hb-".concat(r)});if("string"==typeof span)return e.text?t(e.text,{key:"text-".concat(r)},span):span;var l;span.children&&(l={children:span.children.map((function(t,i){return o.serializeNode(t,i,span.children,!0)}))});var c=n({},span,l);return t(e.span,{key:span._key||"span-".concat(r),node:c,serializers:e})}}}},385:function(t,e){t.exports=function(t){return"https://docs.sanity.io/help/"+t}},386:function(t,e,r){t.exports=function(){function t(){return t=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t},t.apply(this,arguments)}function e(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function n(t){var i=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=e(t)))return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}var o="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function l(t){var e=t.split("-"),r=e[1],n=e[2],l=e[3];if(!r||!n||!l)throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+o+'".');var c=n.split("x"),h=+c[0],f=+c[1];if(!isFinite(h)||!isFinite(f))throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+o+'".');return{id:r,width:h,height:f,format:l}}var c=function(t){return!!t&&"string"==typeof t._ref},h=function(t){return!!t&&"string"==typeof t._id},f=function(t){var source=t;return!(!source||!source.asset)&&"string"==typeof source.asset.url};function d(source){if(!source)return null;var image;if("string"==typeof source&&m(source))image={asset:{_ref:v(source)}};else if("string"==typeof source)image={asset:{_ref:source}};else if(c(source))image={asset:source};else if(h(source))image={asset:{_ref:source._id||""}};else if(f(source))image={asset:{_ref:v(source.asset.url)}};else{if("object"!=typeof source.asset)return null;image=source}var img=source;return img.crop&&(image.crop=img.crop),img.hotspot&&(image.hotspot=img.hotspot),y(image)}function m(t){return/^https?:\/\//.test(""+t)}function v(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function y(image){if(image.crop&&image.hotspot)return image;var e=t({},image);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}var k=[["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"]];function w(e){var r=t({},e||{}),source=r.source;delete r.source;var image=d(source);if(!image)return null;var n=l(image.asset._ref||image.asset._id||""),o=Math.round(image.crop.left*n.width),c=Math.round(image.crop.top*n.height),h={left:o,top:c,width:Math.round(n.width-image.crop.right*n.width-o),height:Math.round(n.height-image.crop.bottom*n.height-c)},f=image.hotspot.height*n.height/2,m=image.hotspot.width*n.width/2,v=image.hotspot.x*n.width,y=image.hotspot.y*n.height,k={left:v-m,top:y-f,right:v+m,bottom:y+f};return r.rect||r.focalPoint||r.ignoreImageParams||r.crop||(r=t(t({},r),x({crop:h,hotspot:k},r))),O(t(t({},r),{},{asset:n}))}function O(t){var e=t.baseUrl||"https://cdn.sanity.io",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,n=e+"/images/"+t.projectId+"/"+t.dataset+"/"+r,o=[];if(t.rect){var l=t.rect,c=l.left,h=l.top,f=l.width,d=l.height;(0!==c||0!==h||d!==t.asset.height||f!==t.asset.width)&&o.push("rect="+c+","+h+","+f+","+d)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));
1var m=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return m&&o.push("flip="+m),k.forEach((function(e){var r=e[0],param=e[1];void 0!==t[r]?o.push(param+"="+encodeURIComponent(t[r])):void 0!==t[param]&&o.push(param+"="+encodeURIComponent(t[param]))})),0===o.length?n:n+"?"+o.join("&")}function x(source,t){var e,r=t.width,n=t.height;if(!r||!n)return{width:r,height:n,rect:source.crop};var o=source.crop,l=source.hotspot,c=r/n;if(o.width/o.height>c){var h=o.height,f=h*c,d=o.top,m=(l.right-l.left)/2+l.left-f/2;m<o.left?m=o.left:m+f>o.left+o.width&&(m=o.left+o.width-f),e={left:Math.round(m),top:Math.round(d),width:Math.round(f),height:Math.round(h)}}else{var v=o.width,y=v/c,k=o.left,w=(l.bottom-l.top)/2+l.top-y/2;w<o.top?w=o.top:w+y>o.top+o.height&&(w=o.top+o.height-y),e={left:Math.max(0,Math.floor(k)),top:Math.max(0,Math.floor(w)),width:Math.round(v),height:Math.round(y)}}return{width:r,height:n,rect:e}}var I=["clip","crop","fill","fillmax","max","scale","min"],z=["top","bottom","left","right","center","focalpoint","entropy"],_=["format"];function S(t){return!!t&&"object"==typeof t.clientConfig}function j(t){for(var e,r=n(k);!(e=r()).done;){var o=e.value,l=o[0],param=o[1];if(t===l||t===param)return l}return t}function M(t){var e=t;if(S(e)){var r=e.clientConfig,n=r.apiHost,o=r.projectId,l=r.dataset;return new A(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:o,dataset:l})}return new A(null,t)}var A=function(){function e(e,r){this.options=t(e?t({},e.options||{}):{},r||{})}var r=e.prototype;return r.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,o={baseUrl:n};for(var l in r)r.hasOwnProperty(l)&&(o[j(l)]=r[l]);return new e(this,t({baseUrl:n},o))},r.image=function(source){return this.withOptions({source:source})},r.dataset=function(t){return this.withOptions({dataset:t})},r.projectId=function(t){return this.withOptions({projectId:t})},r.bg=function(t){return this.withOptions({bg:t})},r.dpr=function(t){return this.withOptions({dpr:t})},r.width=function(t){return this.withOptions({width:t})},r.height=function(t){return this.withOptions({height:t})},r.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},r.maxWidth=function(t){return this.withOptions({maxWidth:t})},r.minWidth=function(t){return this.withOptions({minWidth:t})},r.maxHeight=function(t){return this.withOptions({maxHeight:t})},r.minHeight=function(t){return this.withOptions({minHeight:t})},r.size=function(t,e){return this.withOptions({width:t,height:e})},r.blur=function(t){return this.withOptions({blur:t})},r.sharpen=function(t){return this.withOptions({sharpen:t})},r.rect=function(t,e,r,n){return this.withOptions({rect:{left:t,top:e,width:r,height:n}})},r.format=function(t){return this.withOptions({format:t})},r.invert=function(t){return this.withOptions({invert:t})},r.orientation=function(t){return this.withOptions({orientation:t})},r.quality=function(t){return this.withOptions({quality:t})},r.forceDownload=function(t){return this.withOptions({download:t})},r.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},r.flipVertical=function(){return this.withOptions({flipVertical:!0})},r.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},r.fit=function(t){if(-1===I.indexOf(t))throw new Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},r.crop=function(t){if(-1===z.indexOf(t))throw new Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},r.saturation=function(t){return this.withOptions({saturation:t})},r.auto=function(t){if(-1===_.indexOf(t))throw new Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},r.pad=function(t){return this.withOptions({pad:t})},r.url=function(){return w(this.options)},r.toString=function(){return this.url()},e}();return M}()},387:function(t,e,r){"use strict";var n=r(6),o=r(388),l=r(389),c=r(390),h=r(344),f=["projectId","dataset","imageOptions"],d={imageOptions:{}};function m(t){return"block"===t._type&&t.listItem}t.exports=function(t,e,r,v){var y=n({},d,e),k=Array.isArray(y.blocks)?y.blocks:[y.blocks],w=c(k),O=l(w,y.listNestMode),x=h(r,y.serializers||{}),I=f.reduce((function(t,e){var r=y[e];return void 0!==r&&(t[e]=r),t}),{});function z(e,r,n,l){return"list"===(k=e)._type&&k.listItem?(h=(c=e).listItem,f=c.level,d=c._key,y=c.children.map(z),t(x.list,{key:d,level:f,type:h,options:I},y)):m(e)?function(e,r){var n=e._key,l=o(e).map(z);return t(x.listItem,{node:e,serializers:x,index:r,key:n,options:I},l)}(e,function(t,e){for(var r=0,i=0;i<e.length;i++){if(e[i]===t)return r;m(e[i])&&r++}return r}(e,n)):function(t){return"string"==typeof t||t.marks||"span"===t._type}(e)?v(e,x,r,{serializeNode:z}):function(e,r,n){var l=o(e).map((function(t,i,e){return z(t,i,e,!0)})),c={key:e._key||"block-".concat(r),node:e,isInline:n,serializers:x,options:I};return t(x.block,c,l)}(e,r,l);var c,h,f,d,y,k}var _=Boolean(y.renderContainerOnSingleChild),S=O.map(z);if(_||S.length>1){var j=y.className?{className:y.className}:{};return t(x.container,j,S)}return S[0]?S[0]:"function"==typeof x.empty?t(x.empty):x.empty}},388:function(t,e,r){"use strict";var n=["strong","em","code","underline","strike-through"];function o(span,i,t){if(!span.marks||0===span.marks.length)return span.marks||[];var e=span.marks.reduce((function(e,mark){e[mark]=e[mark]?e[mark]+1:1;for(var r=i+1;r<t.length;r++){var n=t[r];
1if(!n.marks||!Array.isArray(n.marks)||-1===n.marks.indexOf(mark))break;e[mark]++}return e}),{}),r=l.bind(null,e);return span.marks.slice().sort(r)}function l(t,e,r){var o=t[e]||0,l=t[r]||0;if(o!==l)return l-o;var c=n.indexOf(e),h=n.indexOf(r);return c!==h?c-h:e<r?-1:e>r?1:0}t.exports=function(t){var e=t.children,r=t.markDefs;if(!e||!e.length)return[];var n=e.map(o),l={_type:"span",children:[]},c=[l];return e.forEach((function(span,i){var t=n[i];if(t){var e=1;if(c.length>1)for(;e<c.length;e++){var mark=c[e].markKey,o=t.indexOf(mark);if(-1===o)break;t.splice(o,1)}var l,h=function(t){for(var i=t.length-1;i>=0;i--){var e=t[i];if("span"===e._type&&e.children)return e}return}(c=c.slice(0,e));if(t.forEach((function(mark){var t={_type:"span",_key:span._key,children:[],mark:r.find((function(t){return t._key===mark}))||mark,markKey:mark};h.children.push(t),c.push(t),h=t})),"span"!==(l=span)._type||"string"!=typeof l.text||!Array.isArray(l.marks)&&void 0!==l.marks)h.children=h.children.concat(span);else{for(var f=span.text.split("\n"),line=f.length;line-- >1;)f.splice(line,0,"\n");h.children=h.children.concat(f)}}else{c[c.length-1].children.push(span)}})),l.children}},389:function(t,e,r){"use strict";var n=r(6);function o(t){return Boolean(t.listItem)}function l(t,e){return t.level===e.level&&t.listItem===e.listItem}function c(t){return{_type:"list",_key:"".concat(t._key,"-parent"),level:t.level,listItem:t.listItem,children:[t]}}function h(t){return t.children&&t.children[t.children.length-1]}function f(t,e){var r="string"==typeof e.listItem;if("list"===t._type&&t.level===e.level&&r&&t.listItem===e.listItem)return t;var n=h(t);return!!n&&f(n,e)}t.exports=function(t){for(var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",d=[],i=0;i<t.length;i++){var m=t[i];if(o(m))if(e)if(l(m,e))e.children.push(m);else if(m.level>e.level){var v=c(m);if("html"===r){var y=h(e),k=n({},y,{children:y.children.concat(v)});e.children[e.children.length-1]=k}else e.children.push(v);e=v}else if(m.level<e.level){var w=f(d[d.length-1],m);if(w){(e=w).children.push(m);continue}e=c(m),d.push(e)}else if(m.listItem===e.listItem)console.warn("Unknown state encountered for block",m),d.push(m);else{var O=f(d[d.length-1],{level:m.level});if(O&&O.listItem===m.listItem){(e=O).children.push(m);continue}e=c(m),d.push(e)}else e=c(m),d.push(e);else d.push(m),e=null}return d}},390:function(t,e,r){"use strict";var n=r(6);function o(t){var e=0,r=t.length;if(0===r)return e;for(var i=0;i<r;i++)e=(e<<5)-e+t.charCodeAt(i),e&=e;return e}t.exports=function(t){return t.map((function(t){return t._key?t:n({_key:(e=t,o(JSON.stringify(e)).toString(36).replace(/[^A-Za-z0-9]/g,""))},t);var e}))}},391:function(t,e,r){"use strict";var n=r(342).getImageUrl,o=r(6);t.exports=function(t){function e(e,r){return t(e,null,r.children)}return{defaultSerializers:{types:{block:function(e){var style=e.node.style||"normal";return/^h\d/.test(style)?t(style,null,e.children):t("blockquote"===style?"blockquote":"p",null,e.children)},image:function(e){var img=t("img",{attrs:{src:n(e)}});return e.isInline?img:t("figure",null,img)}},marks:{strong:e.bind(null,"strong"),em:e.bind(null,"em"),code:e.bind(null,"code"),underline:function(e){return t("span",{style:{textDecoration:"underline"}},e.children)},"strike-through":function(e){return t("del",null,e.children)},link:function(e){return t("a",{attrs:{href:e.mark.href}},e.children)}},list:function(e){var r="bullet"===e.type?"ul":"ol";return t(r,null,e.children)},listItem:function(e){var r=e.node.style&&"normal"!==e.node.style?t(e.serializers.types.block,e,e.children):e.children;return t("li",null,r)},block:function(e){var r=e.node,n=e.serializers,o=e.options,l=e.isInline,c=e.children,h=r._type,f=n.types[h];if(!f)throw new Error('Unknown block type "'+h+'", please specify a serializer for it in the `serializers.types` prop');return t(f,{node:r,options:o,isInline:l},c)},span:function(e){var r=e.node,mark=r.mark,n=r.children,o="string"==typeof mark?mark:mark._type,l=e.serializers.marks[o];return l?t(l,e.node,n):(console.warn('Unknown mark type "'+o+'", please specify a serializer for it in the `serializers.marks` prop'),t(e.serializers.markFallback,null,
1n))},hardBreak:function(){return t("br")},container:function(e){var r=null,n=e.className;return n&&(r={class:n}),t("div",r,e.children)},markFallback:"span",text:void 0,empty:null},serializeSpan:function(span,e,r,n){if("\n"===span&&e.hardBreak)return t(e.hardBreak,{key:"hb-"+r});if("string"==typeof span)return e.text?t(e.text,{key:"text-"+r},span):span;var l=void 0;span.children&&(l={children:span.children.map((function(t,i){return n.serializeNode(t,i,span.children,!0)}))});var c=o({},span,l);return t(e.span,{key:span._key||"span-"+r,node:c,serializers: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.