1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9221],{36335:function(t){var i;i=function(){function t(){return(t=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t,i){(null==i||i>t.length)&&(i=t.length);for(var r=0,n=Array(i);r<i;r++)n[r]=t[r];return n}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var o=[["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"]],e=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],h=["format"],s=function(){function s(i,r){this.options=void 0,this.options=i?t({},i.options||{},r||{}):t({},r||{})}var u=s.prototype;return u.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,e={baseUrl:n};for(var a in r)r.hasOwnProperty(a)&&(e[function(t){for(var r,n=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return i(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,void 0)}}(t))){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o);!(r=n()).done;){var e=r.value,a=e[0],h=e[1];if(t===a||t===h)return a}return t}(a)]=r[a]);return new s(this,t({baseUrl:n},e))},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,i){return this.withOptions({focalPoint:{x:t,y:i}})},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,i){return this.withOptions({width:t,height:i})},u.blur=function(t){return this.withOptions({blur:t})},u.sharpen=function(t){return this.withOptions({sharpen:t})},u.rect=function(t,i,r,n){return this.withOptions({rect:{left:t,top:i,width:r,height:n}})},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===e.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},u.crop=function(t){if(-1===a.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===h.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(i){var e=t({},i||{}),a=e.source;delete e.source;var h=function(i){var r;if(!i)return null;if("string"==typeof i&&/^https?:\/\//.test(""+i))r={asset:{_ref:n(i)}};else if("string"==typeof i)r={asset:{_ref:i}
1};else if(i&&"string"==typeof i._ref)r={asset:i};else if(i&&"string"==typeof i._id)r={asset:{_ref:i._id||""}};else if(i&&i.asset&&"string"==typeof i.asset.url)r={asset:{_ref:n(i.asset.url)}};else{if("object"!=typeof i.asset)return null;r=t({},i)}return i.crop&&(r.crop=i.crop),i.hotspot&&(r.hotspot=i.hotspot),function(i){if(i.crop&&i.hotspot)return i;var r=t({},i);return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(a);if(!h)throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")");var s=function(t){var i=t.split("-"),n=i[1],o=i[2],e=i[3];if(!n||!o||!e)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');var a=o.split("x"),h=a[0],s=a[1],u=+h,f=+s;if(!(isFinite(u)&&isFinite(f)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');return{id:n,width:u,height:f,format:e}}(h.asset._ref||h.asset._id||""),u=Math.round(h.crop.left*s.width),f=Math.round(h.crop.top*s.height),p={left:u,top:f,width:Math.round(s.width-h.crop.right*s.width-u),height:Math.round(s.height-h.crop.bottom*s.height-f)},c=h.hotspot.height*s.height/2,l=h.hotspot.width*s.width/2,d=h.hotspot.x*s.width,g=h.hotspot.y*s.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e=t({},e,function(t,i){var r,n=i.width,o=i.height;if(!(n&&o))return{width:n,height:o,rect:t.crop};var e=t.crop,a=t.hotspot,h=n/o;if(e.width/e.height>h){var s=Math.round(e.height),u=Math.round(s*h),f=Math.max(0,Math.round(e.top)),p=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-u/2));p<e.left?p=e.left:p+u>e.left+e.width&&(p=e.left+e.width-u),r={left:p,top:f,width:u,height:s}}else{var c=e.width,l=Math.round(c/h),d=Math.max(0,Math.round(e.left)),g=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-l/2));g<e.top?g=e.top:g+l>e.top+e.height&&(g=e.top+e.height-l),r={left:d,top:g,width:c,height:l}}return{width:n,height:o,rect:r}}({crop:p,hotspot:{left:d-l,top:g-c,right:d+l,bottom:g+c}},e))),function(t){var i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=t.vanityName?"/"+t.vanityName:"",n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+r,e=i+"/images/"+t.projectId+"/"+t.dataset+"/"+n,a=[];if(t.rect){var h=t.rect,s=h.left,u=h.top,f=h.width,p=h.height;(0!==s||0!==u||p!==t.asset.height||f!==t.asset.width)&&a.push("rect="+s+","+u+","+f+","+p)}t.bg&&a.push("bg="+t.bg),t.focalPoint&&(a.push("fp-x="+t.focalPoint.x),a.push("fp-y="+t.focalPoint.y));var c=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(c&&a.push("flip="+c),o.forEach(function(i){var r=i[0],n=i[1];void 0!==t[r]?a.push(n+"="+encodeURIComponent(t[r])):void 0!==t[n]&&a.push(n+"="+encodeURIComponent(t[n]))}),0===a.length)?e:e+"?"+a.join("&")}(t({},e,{asset:s}))}(this.options)},u.toString=function(){return this.url()},s}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var i=t.config(),r=i.apiHost,n=i.projectId,o=i.dataset;return new s(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:o})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var e=t.clientConfig,a=e.apiHost,h=e.projectId,u=e.dataset;return new s(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:h,dataset:u})}return new s(null,t||{})}},t.exports=i()},61291:(t,i)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",i=0;i<arguments.length;i++){var r=arguments[i];r&&(t=e(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var i="";for(var r in t)n.call(t,r)&&t[r]&&(i=e(i,r));return i}(r)))}return t}function e(t,i){return i?t?t+" "+i:t+i:t}t.exports?(o.default=o,t.exports=o):void 0!==(r=(function(){return o}).apply(i,[]))&&(t.exports=r)}()}}]);
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.