PageSourceSearch

https://joinhandshake.com/_next/static/chunks/pages/blog/[blogSlug]-533d16a554798c94.js

js joinhandshake.com collected 2026-10-01 07:52:40 UTC 9,765 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1916],{8977:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var r=i(85966),n=i(6029),o=i(32402),s=i(13845);function a(){let t=(0,r._)(["font-semibold break-words text-blue-40 visited:text-blue-60 hover:text-blue-50 hover:underline active:text-blue-60"]);return a=function(){return t},t}let h=(0,o.tw)(a()),l=t=>{var e;return(0,n.jsx)(s.s,{...t,className:" ".concat(null!=(e=t.className)?e:""," ").concat(h," "),children:t.children})}},30535:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useRouter",{enumerable:!0,get:function(){return o}});let r=i(55729),n=i(11828);function o(){return(0,r.useContext)(n.RouterContext)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},38120:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[blogSlug]",function(){return i(43473)}])},48535:(t,e,i)=>{t.exports=i(30535)},62273:(t,e,i)=>{"use strict";let r;i.d(e,{OX:()=>d});let n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let s=[["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"]],a=["clip","crop","fill","fillmax","max","scale","min"],h=["top","bottom","left","right","center","focalpoint","entropy"],l=["format"];function u(t){let{apiHost:e,projectId:i,dataset:r}=t,n={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=t.resource??t["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "resource"');return{...n,mediaLibraryId:o.id}}if(o?.type==="canvas"){if("string"!=typeof o.id||0===o.id.length)throw Error('Canvas clients must include an id in "resource"');return{...n,canvasId:o.id}}if(o?.type==="dataset"){if("string"!=typeof o.id||0===o.id.length)throw Error('Dataset clients must include an id in "resource"');let[t,e]=o.id.split(".");if(!t||!e)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+o.id);return{...n,projectId:t,dataset:e}}return{...n,projectId:i,dataset:r}}function p(t){return t&&"config"in t&&"function"==typeof t.config?u(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?u(t.clientConfig):t||{}}function d(t){return new f(null,p(t))}class f{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new f(this,function(t,e){let i=e.baseUrl||t.baseUrl,r={baseUrl:i};for(let t in e)e.hasOwnProperty(t)&&(r[function(t){for(let e of s){let[i,r]=e;if(t===i||t===r)return i}return t}(t)]=e[t]);return{baseUrl:i,...r}}(this.options,t))}image(t){return this.withOptions({source:t})}dataset(t){return this.withOptions({dataset:t})}projectId(t){return this.withOptions({projectId:t})}withClient(t){let e=p(t),i={...this.options};return delete i.baseUrl,delete i.projectId,delete i.dataset,delete i.mediaLibraryId,delete i.canvasId,new f(null,{...e,...i})}bg(t){return this.withOptions({bg:t})}dpr(t){return this.withOptions(t&&1!==t?{dpr:t}:{})}width(t){return this.withOptions({width:t})}height(t){return this.withOptions({height:t})}focalPoint(t,e){return this.withOptions({focalPoint:{x:t,y:e}})}maxWidth(t){return this.withOptions({maxWidth:t})}minWidth(t){return this.withOptions({minWidth:t})}maxHeight(t){return this.withOptions({maxHeight:t})}minHeight(t){return this.withOptions({minHeight:t})}size(t,e){return this.withOptions({width:t,height:e})}blur(t){return this.withOptions({blur:t})}sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,i,r){return this.withOptions({rect:{left:t,top:e,width:i,height:r}})}format(t){return this.withOptions({format:t})}invert(t){return this.withOptions({invert:t})}orientation(t){return this.withOptions({orientation:t})}quality(t){return this.withOptions({quality:t})}forceDownload(t){return this.withOptions({download:t})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(t){if(-1===a.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===h.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===l.indexOf(t))throw Error(`Invalid auto mode "${t}"`);return this.withOptions({auto:t})}pad(t){return this.withOptions({pad:t})}vanityName(t){return this.withOptions({vanityName:t})}frame(t){if(1!==t)throw Error(`Invalid frame value "${t}"`);return this.withOptions({frame:t})}url(){return function(t){let e={...t||{}},i=e.source;delete e.source;let r=function(t){var e;let i;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))i={asset:{_ref:o(t)}};else if("string"==typeof t)i={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)i={asset:t};else if(t&&"string"==typeof t._id)i={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)i={asset:{_ref:o(t.asset.url)}};else{if("object"!=typeof t.asset)return null;i={...t}}return t.crop&&(i.crop=t.crop),t.hotspot&&(i.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;let e={...t};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}(i)}(i);if(!r){if(i&&"object"==typeof i&&null!==i&&i._upload&&(!i.asset||!i.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(i)})`)}let a=function(t){let[,e,i,r]=t.split("-");if(!e||!i||!r)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);let[o,s]=i.split("x"),a=+o,h=+s;if(!(isFinite(a)&&isFinite(h)))throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);return{id:e,width:a,height:h,format:r}}(r.asset._ref||r.asset._id||""),h=Math.round(r.crop.left*a.width),l=Math.round(r.crop.top*a.height),u={left:h,top:l,width:Math.round(a.width-r.crop.right*a.width-h),height:Math.round(a.height-r.crop.bottom*a.height-l)},p=r.hotspot.height*a.height/2,d=r.hotspot.width*a.width/2,f=r.hotspot.x*a.width,c=r.hotspot.y*a.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...function(t,e){let i,r=e.width,n=e.he
1ight;if(!(r&&n))return{width:r,height:n,rect:t.crop};let o=t.crop,s=t.hotspot,a=r/n;if(o.width/o.height>a){let t=Math.round(o.height),e=Math.round(t*a),r=Math.max(0,Math.round(o.top)),n=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-e/2));n<o.left?n=o.left:n+e>o.left+o.width&&(n=o.left+o.width-e),i={left:n,top:r,width:e,height:t}}else{let t=o.width,e=Math.round(t/a),r=Math.max(0,Math.round(o.left)),n=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-e/2));n<o.top?n=o.top:n+e>o.top+o.height&&(n=o.top+o.height-e),i={left:r,top:n,width:t,height:e}}return{width:r,height:n,rect:i}}({crop:u,hotspot:{left:f-d,top:c-p,right:f+d,bottom:c+p}},e)}),function(t){let e,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=t.mediaLibraryId?`${i}/media-libraries/${t.mediaLibraryId}/images/${n}`:t.canvasId?`${i}/images/canvases/${t.canvasId}/${n}`:`${i}/images/${t.projectId}/${t.dataset}/${n}`;let o=[];if(t.rect){let{left:e,top:i,width:r,height:n}=t.rect;(0!==e||0!==i||n!==t.asset.height||r!==t.asset.width)&&o.push(`rect=${e},${i},${r},${n}`)}t.bg&&o.push(`bg=${t.bg}`),t.focalPoint&&(o.push(`fp-x=${t.focalPoint.x}`),o.push(`fp-y=${t.focalPoint.y}`));let a=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return a&&o.push(`flip=${a}`),s.forEach(e=>{let[i,r]=e;"u">typeof t[i]?o.push(`${r}=${encodeURIComponent(t[i])}`):"u">typeof t[r]&&o.push(`${r}=${encodeURIComponent(t[r])}`)}),0===o.length?e:`${e}?${o.join("&")}`}({...e,asset:a})}(this.options)}toString(){return this.url()}}r=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],(...t)=>{console.warn(r.join(" "),...t)}},89653:(t,e,i)=>{"use strict";i.d(e,{x:()=>n});var r=i(18560);let n=t=>{let e;if(null==t)return null;if("string"==typeof t)e=t;else{var i,n;e=null!=(n=null==(i=t.asset)?void 0:i._ref)?n:t._ref}if(null==e)return null;let{width:o,height:s}=(0,r.vX)(e);return{src:(0,r.dk)(t).url(),width:o,height:s,loader:e=>{let{width:i,quality:n}=e;return(0,r.dk)(t).width(i).quality(null!=n?n:75).auto("format").url()}}}},94459:(t,e,i)=>{"use strict";i.d(e,{s:()=>a});var r=i(6029),n=i(8588),o=i.n(n),s=i(89653);let a=t=>{let{image:e,alt:i,className:n,sizes:a,width:l,height:u,priority:p=!1}=t,d=(0,s.x)(e);if(null==d)return null;let f=h(d);return(0,r.jsx)(o(),{...d,alt:i,sizes:a,width:null!=l?l:f.width,height:null!=u?u:f.height,priority:p,className:n})},h=function(t){let{providedWidth:e,providedHeight:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{width:null!=e?e:null==t?void 0:t.width,height:null!=i?i:null==t?void 0:t.height}}}},t=>{t.O(0,[1709,5245,6714,8588,7763,5145,5135,8633,6774,3217,9184,6649,4351,9728,9453,3242,2921,1634,5691,5001,6495,6896,3473,636,6593,8792],()=>t(t.s=38120)),_N_E=t.O()}]);

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.